Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence de la classe ContactModelCategories
+ Graphe d'héritage de ContactModelCategories:

Fonctions membres publiques

 getItems ()
 
 getParent ()
 

Champs de données

 $_context = 'com_contact.categories'
 

Fonctions membres protégées

 populateState ($ordering=null, $direction=null)
 
 getStoreId ($id='')
 

Attributs protégés

 $_extension = 'com_contact'
 

Attributs privés

 $_parent = null
 
 $_items = null
 

Description détaillée

This models supports retrieving lists of contact categories.

Depuis
1.6

Documentation des fonctions membres

◆ getItems()

getItems ( )

Redefine the function an add some properties to make the styling more easy

Renvoie
mixed An array of data items on success, false on failure.

Références $active, $app, $menu, $options, $params, et null.

◆ getParent()

getParent ( )

Gets the id of the parent category for the selected list of categories

Renvoie
integer The id of the parent category
Depuis
1.6.0

◆ getStoreId()

getStoreId (   $id = '')
protected

Method to get a store id based on model configuration state.

This is necessary because the model is used by the component and different modules that might need different sets of data or different ordering requirements.

Paramètres
string$idA prefix for the store id.
Renvoie
string A store id.

Références $id.

◆ populateState()

populateState (   $ordering = null,
  $direction = null 
)
protected

Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

Paramètres
string$orderingAn optional ordering field.
string$directionAn optional direction (asc|desc).
Renvoie
void
Depuis
1.6

Références $app, et $params.

Documentation des champs

◆ $_context

$_context = 'com_contact.categories'

◆ $_extension

$_extension = 'com_contact'
protected

◆ $_items

$_items = null
private

◆ $_parent

$_parent = null
private

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