modifyCategory
Description
Modify the settings and position of a category.
Syntax
void modifyCategory (int $category, array &$catOptions)
Parameter $category
Expected type: Integer
Description: The ID of the category
Parameter &$catOptions
Expected type: Array
Description: Options setting how the category needs to be modified
Array Elements of $catOptions | |||
Key | Optional | Expected type | Description |
cat_name | no | String | Category name |
is_collapsable | no | Integer | Whether or not the category is collapsable (0 = no, 1 = yes) |
move_after | no | Integer | Category ID to move the given category after. Use 0 to move the current category to the top of the categories. |
Notes
- Called from EditCategory2 in ManageBoards.php
- Was located in Subs-Boards.php in 1.1