CategoryServiceInterface
Access to component specific categories.
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
countItems
Adds Count Items for Category Manager.
countItems(\stdClass[] items, string section) : void
since |
4.0.0 |
---|---|
throws |
|
Arguments
- items
\stdClass[]
The category objects- section
string
The section
getCategory
Returns the category service.
getCategory(array options = [], string section = '') : \Joomla\CMS\Categories\CategoryInterface
since |
4.0.0 |
---|---|
throws |
|
Arguments
- options
array
The options- section
string
The section
Response
\Joomla\CMS\Categories\CategoryInterface
prepareForm
Prepares the category form
prepareForm(\Joomla\CMS\Form\Form form, array|object data) : void
Arguments
- form
\Joomla\CMS\Form\Form
The form to change- data
array|object
The form data