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