Looks up a category. If not found, creates the category. Returns the id or NULL on failure.
This is the code documentation for the SproutCMS project
Search documentation |
function lookupOrCreate()Looks up a category. If not found, creates the category. Returns the id or NULL on failure.
Usageunknown Category::lookupOrCreate ( string $table , string $name [, bool $case_sensitive ] ); Arguments
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |