public static
string
|
#
addCategory( string $name, rex_media_category |null $parent )
Parameters
- $name
- The name of the new category
- $parent
- The category in which the new category should be created, or null for a top/root
level category
Returns
string A success message
|
|
public static
string
|
#
deleteCategory( integer $categoryId )
Parameters
Returns
string A success message
Throws
|
|
public static
boolean|string
|
#
categoryIsInUse( integer $categoryId )
Parameters
Returns
boolean|string false|warning-Message
|
|
public static
string
|
#
editCategory( integer $categoryId, array $data )
Parameters
- $categoryId
- The id of the category to edit
- $data
- The category data
Returns
string A success message
|
|