Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($namespace) | |
createCategory (array $options=[], string $section='') | |
Attributs privés | |
$namespace | |
Option based categories factory.
__construct | ( | $namespace | ) |
The namespace must be like: Joomla
string | $namespace | The namespace |
Références $namespace.
createCategory | ( | array | $options = [] , |
string | $section = '' |
||
) |
Creates a category.
array | $options | The options |
string | $section | The section |
SectionNotFoundException |
Implémente CategoryFactoryInterface.
Références $category, $className, $options, $section, et Joomla\Database\getDatabase().
|
private |