CategoryFactory
Implements CategoryFactoryInterfaceOption based categories factory.
since |
3.10.0 |
---|---|
package |
Joomla CMS |
Methods
__construct
The namespace must be like: Joomla\Component\Content
__construct(string namespace) : mixed
since |
4.0.0 |
---|
Arguments
- namespace
string
The namespace
Response
mixed
createCategory
Creates a category.
createCategory(array options = [], string section = '') : \Joomla\CMS\Categories\CategoryInterface
since |
3.10.0 |
---|---|
throws |
|
Arguments
- options
array
The options- section
string
The section
Response
\Joomla\CMS\Categories\CategoryInterface