Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe ContactComponent
+ Graphe d'héritage de ContactComponent:

Fonctions membres publiques

 boot (ContainerInterface $container)
 
 validateSection ($section, $item=null)
 
 getContexts ()
 
- Fonctions membres publiques hérités de Component
 __construct (ComponentDispatcherFactoryInterface $dispatcherFactory)
 
 getDispatcher (CMSApplicationInterface $application)
 
- Fonctions membres publiques hérités de MVCFactoryServiceInterface
 getMVCFactory ()
 
- Fonctions membres publiques hérités de CategoryServiceInterface
 getCategory (array $options=[], $section='')
 
 countItems (array $items, string $section)
 
 prepareForm (Form $form, $data)
 
- Fonctions membres publiques hérités de AssociationServiceInterface
 getAssociationsExtension ()
 
- Fonctions membres publiques hérités de RouterServiceInterface
 createRouter (CMSApplicationInterface $application, AbstractMenu $menu)
 
- Fonctions membres publiques hérités de TagServiceInterface
 countTagItems (array $items, string $extension)
 

Champs de données

CategoryServiceTrait::getStateColumnForSection insteadof TagServiceTrait
 

Fonctions membres protégées

 getTableNameForSection (string $section=null)
 
 getStateColumnForSection (string $section=null)
 

Description détaillée

Component class for com_contact

Depuis
4.0.0

Documentation des fonctions membres

◆ boot()

boot ( ContainerInterface  $container)

Booting the extension. This is the function to set up the environment of the extension like registering new class loaders, etc.

If required, some initial set up can be done from services of the container, eg. registering HTML services.

Paramètres
ContainerInterface$containerThe container
Renvoie
void
Depuis
4.0.0

Implémente BootableExtensionInterface.

Références $container, class, et Joomla\CMS\HTML\getRegistry().

◆ getContexts()

getContexts ( )

Returns valid contexts

Renvoie
array
Depuis
4.0.0

Implémente FieldsServiceInterface.

Références Text\_(), Factory\getLanguage(), et JPATH_ADMINISTRATOR.

◆ getStateColumnForSection()

getStateColumnForSection ( string  $section = null)
protected

Returns the state column for the count items functions for the given section.

Paramètres
string$sectionThe section
Renvoie
string|null
Depuis
4.0.0

◆ getTableNameForSection()

getTableNameForSection ( string  $section = null)
protected

Returns the table for the count items functions for the given section.

Paramètres
string$sectionThe section
Renvoie
string|null
Depuis
4.0.0

Références $section.

◆ validateSection()

validateSection (   $section,
  $item = null 
)

Returns a valid section for the given section. If it is not valid then null is returned.

Paramètres
string$sectionThe section to get the mapping for
object$itemThe item
Renvoie
string|null The new section
Depuis
4.0.0

Implémente FieldsServiceInterface.

Références $item, $section, Factory\getApplication(), et null.

Documentation des champs

◆ TagServiceTrait

CategoryServiceTrait::getStateColumnForSection insteadof TagServiceTrait

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