Property | Type | Description | |
---|---|---|---|
$CategoryModel | CategoryModel | ||
$Form | Gdn_Form | ||
$ShowCustomPoints | boolean | ||
$Uses | Models to include. |
Method | Description | |
---|---|---|
addCategory ( $parent = '' ) | Adding a new category. | |
addSideMenu ( string $currentUrl = '' ) | ||
advanced ( ) | Advanced settings. | |
archive ( ) | ||
categories ( string $parent = '' ) | Manage the category hierarchy. | |
categoriesTree ( ) | Sorting display order of categories. | |
categoryDisplayAs ( ) | Set the display as property of a category. | |
deleteCategory ( integer $CategoryID = false ) | Deleting a category. | |
deleteCategoryPhoto ( String $CategoryID = '' ) | Delete a category photo. | |
editCategory ( integer | string $CategoryID = '' ) | Editing a category. | |
enableCategories ( boolean $enabled ) | Enable or disable the use of categories in Vanilla. | |
floodControl ( ) | Display flood control options. | |
getCategory ( integer $categoryID ) | Get a single category for administration. | |
index ( ) | Alias for ManageCategories method. | |
initialize ( ) | Switch MasterView. Include JS, CSS used by all methods. | |
manageCategories ( ) | Enabling and disabling categories from list. | |
moveCategory ( integer $categoryID ) | Move a category to a different parent. | |
setHighlightRoute ( string $currentUrl = '' ) | ||
sortCategories ( ) | Sorting display order of categories. |
Method | Description | |
---|---|---|
setupDiscussionTypes ( $Category ) |
Method | Description | |
---|---|---|
categoryPageByParent ( array | object $category ) : string | Move through the category's parents to determine the proper management page URL. |
public categories ( string $parent = '' ) | ||
$parent | string | The URL slug of a parent category if looking at a sub tree. |
public categoryDisplayAs ( ) |
public deleteCategory ( integer $CategoryID = false ) | ||
$CategoryID | integer | Unique ID of the category to be deleted. |
public deleteCategoryPhoto ( String $CategoryID = '' ) | ||
$CategoryID | String | Unique ID of the category to have its photo deleted. |
public editCategory ( integer | string $CategoryID = '' ) | ||
$CategoryID | integer | string | Unique ID of the category to be updated. |
public enableCategories ( boolean $enabled ) | ||
$enabled | boolean | Whether or not to enable/disable categories. |
public getCategory ( integer $categoryID ) | ||
$categoryID | integer | The category to find. |
public initialize ( ) |
public manageCategories ( ) |
public moveCategory ( integer $categoryID ) | ||
$categoryID | integer | Unique ID for the category to move. |
public setHighlightRoute ( string $currentUrl = '' ) | ||
$currentUrl | string |
public sortCategories ( ) |