Tags Component Route Helper.
- Depuis
- 3.1
◆ _findItem()
static _findItem |
( |
|
$needles = null | ) |
|
|
staticprotected |
Find Item static function
- Paramètres
-
array | $needles | Array used to get the language value |
- Renvoie
- null
- Exceptions
-
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 | $id | The ID of the tag in the format TAG_ID:TAG_ALIAS |
string | $language | The language of the tag |
- Renvoie
- string URL link to pass to the router
- Depuis
- 4.2.0
- Exceptions
-
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 | $language | The language of the tag |
- Renvoie
- string URL link to pass to the router
- Depuis
- 4.2.0
- Exceptions
-
Références $item, $language, et $link.
◆ getItemRoute()
static getItemRoute |
( |
|
$contentItemId, |
|
|
|
$contentItemAlias, |
|
|
|
$contentCatId, |
|
|
|
$language, |
|
|
|
$typeAlias, |
|
|
|
$routerName |
|
) |
| |
|
static |
◆ getTagRoute()
static getTagRoute |
( |
|
$id | ) |
|
|
static |
Tries to load the router for the component and calls it. Otherwise calls getRoute.
- Paramètres
-
integer | $id | The ID of the tag |
- Renvoie
- string URL link to pass to the router
- Depuis
- 3.1
- Exceptions
-
- Obsolète:
- 5.0.0 Use getComponentTagRoute() instead
Références $id.
◆ getTagsRoute()
Tries to load the router for the tags view.
- Renvoie
- string URL link to pass to the router
- Depuis
- 3.7
- Exceptions
-
- Obsolète:
- 5.0.0
◆ $lookup
La documentation de cette classe a été générée à partir du fichier suivant :