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 ContentRouter
+ Graphe d'héritage de ContentRouter:

Fonctions membres publiques

 __construct ($app=null, $menu=null)
 
 getCategorySegment ($id, $query)
 
 getCategoriesSegment ($id, $query)
 
 getArticleSegment ($id, $query)
 
 getFormSegment ($id, $query)
 
 getCategoryId ($segment, $query)
 
 getCategoriesId ($segment, $query)
 
 getArticleId ($segment, $query)
 

Attributs protégés

 $noIDs = false
 

Description détaillée

Routing class of com_content

Depuis
3.3

Documentation des constructeurs et destructeur

◆ __construct()

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

Content Component router constructor

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

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

Documentation des fonctions membres

◆ getArticleId()

getArticleId (   $segment,
  $query 
)

Method to get the segment(s) for an article

Paramètres
string$segmentSegment of the article 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.

◆ getArticleSegment()

getArticleSegment (   $id,
  $query 
)

Method to get the segment(s) for an article

Paramètres
string$idID of the article 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.

◆ 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.

◆ getFormSegment()

getFormSegment (   $id,
  $query 
)

Method to get the segment(s) for a form

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

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

Documentation des champs

◆ $noIDs

$noIDs = false
protected

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