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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe ContactRouter
+ Graphe d'héritage de ContactRouter:

Fonctions membres publiques

 __construct ($app=null, $menu=null)
 
 getCategorySegment ($id, $query)
 
 getCategoriesSegment ($id, $query)
 
 getContactSegment ($id, $query)
 
 getCategoryId ($segment, $query)
 
 getCategoriesId ($segment, $query)
 
 getContactId ($segment, $query)
 

Attributs protégés

 $noIDs = false
 

Description détaillée

Routing class from com_contact

Depuis
3.3

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $app = null,
  $menu = null 
)

Search Component router constructor

Paramètres
JApplicationCms$appThe application object
JMenu$menuThe menu object to work with

Références $app, $category, $menu, $params, et JLoader\register().

Documentation des fonctions membres

◆ getCategoriesId()

getCategoriesId (   $segment,
  $query 
)

Method to get the segment(s) for a category

Paramètres
string$segmentSegment to retrieve the ID for
array$queryThe request that is parsed right now
Renvoie
mixed The id of this item or false

Références $query.

◆ getCategoriesSegment()

getCategoriesSegment (   $id,
  $query 
)

Method to get the segment(s) for a category

Paramètres
string$idID of the category to retrieve the segments for
array$queryThe request that is built right now
Renvoie
array|string The segments of this item

Références $id, et $query.

◆ getCategoryId()

getCategoryId (   $segment,
  $query 
)

Method to get the id for a category

Paramètres
string$segmentSegment to retrieve the ID for
array$queryThe request that is parsed right now
Renvoie
mixed The id of this item or false

Références $category, et $query.

◆ getCategorySegment()

getCategorySegment (   $id,
  $query 
)

Method to get the segment(s) for a category

Paramètres
string$idID of the category to retrieve the segments for
array$queryThe request that is built right now
Renvoie
array|string The segments of this item

Références $category, $id, et $path.

◆ getContactId()

getContactId (   $segment,
  $query 
)

Method to get the segment(s) for a contact

Paramètres
string$segmentSegment of the contact to retrieve the ID for
array$queryThe request that is parsed right now
Renvoie
mixed The id of this item or false

Références $db, et $query.

◆ getContactSegment()

getContactSegment (   $id,
  $query 
)

Method to get the segment(s) for a contact

Paramètres
string$idID of the contact to retrieve the segments for
array$queryThe request that is built right now
Renvoie
array|string The segments of this item

Références $db, et $id.

Documentation des champs

◆ $noIDs

$noIDs = false
protected

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