Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de l'interface CategoryServiceInterface
+ Graphe d'héritage de CategoryServiceInterface:

Fonctions membres publiques

 getCategory (array $options=[], $section='')
 
 countItems (array $items, string $section)
 
 prepareForm (Form $form, $data)
 

Description détaillée

Access to component specific categories.

Depuis
4.0.0

Documentation des fonctions membres

◆ countItems()

countItems ( array  $items,
string  $section 
)

Adds Count Items for Category Manager.

Paramètres

Implémenté dans ContentComponent, et LegacyComponent.

◆ getCategory()

getCategory ( array  $options = [],
  $section = '' 
)

Returns the category service.

Paramètres
array$optionsThe options
string$sectionThe section
Renvoie
CategoryInterface
Depuis
4.0.0
Exceptions
SectionNotFoundException

Implémenté dans LegacyComponent.

◆ prepareForm()

prepareForm ( Form  $form,
  $data 
)

Prepares the category form

Paramètres
Form$formThe form to change
array | object$dataThe form data
Renvoie
void

Implémenté dans ContentComponent.


La documentation de cette interface a été générée à partir du fichier suivant :