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

Fonctions membres publiques statiques

static getItemRoute ($contentItemId, $contentItemAlias, $contentCatId, $language, $typeAlias, $routerName)
 
static getTagRoute ($id)
 
static getComponentTagRoute (string $id, string $language=' *')
 
static getTagsRoute ()
 
static getComponentTagsRoute (string $language=' *')
 
- Fonctions membres publiques statiques hérités de RouteHelper
static getCategoryRoute ($catid, $language=0, $extension='')
 

Fonctions membres protégées statiques

static _findItem ($needles=null)
 
- Fonctions membres protégées statiques hérités de RouteHelper
static lookupItem ($needles=array())
 

Attributs protégés statiques

static $lookup
 
- Attributs protégés statiques hérités de RouteHelper
static $lookup
 

Membres hérités additionnels

- Fonctions membres publiques hérités de RouteHelper
 getRoute ($id, $typealias, $link='', $language=null, $catid=null)
 
- Fonctions membres protégées hérités de RouteHelper
 findItem ($needles=array())
 
- Attributs protégés hérités de RouteHelper
 $extension
 
 $id
 
 $view
 

Description détaillée

Tags Component Route Helper.

Depuis
3.1

Documentation des fonctions membres

◆ _findItem()

static _findItem (   $needles = null)
staticprotected

Find Item static function

Paramètres
array$needlesArray used to get the language value
Renvoie
null
Exceptions
Exception

Références $active, $component, $id, $item, $items, $lang, $language, $position, $view, elseif, ComponentHelper\getComponent(), AbstractMenu\getInstance(), et null.

◆ getComponentTagRoute()

static getComponentTagRoute ( string  $id,
string  $language = '*' 
)
static

Tries to load the router for the component and calls it. Otherwise calls getRoute.

Paramètres
string$idThe ID of the tag in the format TAG_ID:TAG_ALIAS
string$languageThe language of the tag
Renvoie
string URL link to pass to the router
Depuis
4.2.0
Exceptions
Exception

Références $id, $item, $language, et $link.

◆ getComponentTagsRoute()

static getComponentTagsRoute ( string  $language = '*')
static

Tries to load the router for the tags view.

Paramètres
string$languageThe language of the tag
Renvoie
string URL link to pass to the router
Depuis
4.2.0
Exceptions
Exception

Références $item, $language, et $link.

◆ getItemRoute()

static getItemRoute (   $contentItemId,
  $contentItemAlias,
  $contentCatId,
  $language,
  $typeAlias,
  $routerName 
)
static

Tries to load the router for the component and calls it. Otherwise uses getTagRoute.

Paramètres
integer$contentItemIdComponent item id
string$contentItemAliasComponent item alias
integer$contentCatIdComponent item category id
string$languageComponent item language
string$typeAliasComponent type alias
string$routerNameComponent router
Renvoie
string URL link to pass to the router
Depuis
3.1

Références $language, $link, JPATH_BASE, et JLoader\register().

Référencé par TagModel\getItems(), et TagsSimilarHelper\getList().

◆ getTagRoute()

static getTagRoute (   $id)
static

Tries to load the router for the component and calls it. Otherwise calls getRoute.

Paramètres
integer$idThe ID of the tag
Renvoie
string URL link to pass to the router
Depuis
3.1
Exceptions
Exception
Obsolète:
5.0.0 Use getComponentTagRoute() instead

Références $id.

◆ getTagsRoute()

static getTagsRoute ( )
static

Tries to load the router for the tags view.

Renvoie
string URL link to pass to the router
Depuis
3.7
Exceptions
Exception
Obsolète:
5.0.0

Documentation des champs

◆ $lookup

$lookup
staticprotected

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