Property | Type | Description | |
---|---|---|---|
$icon | integer | The icon for this category, eg 'icon-user' | |
$id | The id of the category as specified eg in {@link Piwik\Widget\WidgetConfig::setCategoryId()`} or {@link Piwik\Report\getCategoryId()}. The id is used as the name in the menu and will be visible in the URL. | ||
$order | integer | The order of the category. The lower the value the further left the category will appear in the menu. | |
$subcategories |
Method | Description | |
---|---|---|
addSubcategory ( |
||
getIcon ( ) | ||
getId ( ) | ||
getOrder ( ) | ||
getSubcategories ( ) : |
||
getSubcategory ( $subcategoryId ) | ||
hasSubCategories ( ) | ||
hasSubcategory ( $subcategoryId ) | ||
setIcon ( $icon ) | ||
setId ( $id ) | ||
setOrder ( integer $order ) : static |
public addSubcategory ( |
||
$subcategory |
protected int $icon | ||
return | integer |
protected $id |
protected int $order | ||
return | integer |