Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (string $component) | |
getDispatcher (CMSApplicationInterface $application) | |
getMVCFactory () | |
getCategory (array $options=[], $section='') | |
countItems (array $items, string $section) | |
countTagItems (array $items, string $extension) | |
validateSection ($section, $item=null) | |
getContexts () | |
createRouter (CMSApplicationInterface $application, AbstractMenu $menu) | |
Fonctions membres publiques hérités de CategoryServiceInterface | |
prepareForm (Form $form, $data) | |
Champs de données | |
CategoryServiceTrait::getStateColumnForSection insteadof | TagServiceTrait |
Fonctions membres privées | |
loadHelper () | |
Attributs privés | |
$component | |
Access to component specific services.
__construct | ( | string | $component | ) |
LegacyComponentContainer constructor.
string | $component | The component |
Références $component.
countItems | ( | array | $items, |
string | $section | ||
) |
Adds Count Items for Category Manager.
Implémente CategoryServiceInterface.
Références $helper, $items, $section, et Joomla\CMS\Categories\countItems().
countTagItems | ( | array | $items, |
string | $extension | ||
) |
Adds Count Items for Tag Manager.
Implémente TagServiceInterface.
Références $extension, $helper, et $items.
createRouter | ( | CMSApplicationInterface | $application, |
AbstractMenu | $menu | ||
) |
Returns the router.
CMSApplicationInterface | $application | The application object |
AbstractMenu | $menu | The menu object to work with |
Implémente RouterServiceInterface.
Références $class, $menu, $path, et JPATH_SITE.
getCategory | ( | array | $options = [] , |
$section = '' |
|||
) |
Returns the category service.
array | $options | The options |
string | $section | The section |
SectionNotFoundException |
Implémente CategoryServiceInterface.
Références $options, $path, $section, et JPATH_SITE.
getContexts | ( | ) |
Returns valid contexts.
Implémente FieldsServiceInterface.
Références $helper.
getDispatcher | ( | CMSApplicationInterface | $application | ) |
Returns the dispatcher for the given application.
CMSApplicationInterface | $application | The application |
Implémente ComponentInterface.
getMVCFactory | ( | ) |
Get the factory.
Implémente MVCFactoryServiceInterface.
|
private |
Returns the classname of the legacy helper class. If none is found it returns false.
Références $className, Path\clean(), JPATH_ADMINISTRATOR, et JLoader\register().
validateSection | ( | $section, | |
$item = null |
|||
) |
Returns a valid section for articles. If it is not valid then null is returned.
string | $section | The section to get the mapping for |
object | $item | The item |
Implémente FieldsServiceInterface.
|
private |
CategoryServiceTrait::getStateColumnForSection insteadof TagServiceTrait |