Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getRoute ($id, $typealias, $link='', $language=null, $catid=null) | |
Fonctions membres publiques statiques | |
static | getCategoryRoute ($catid, $language=0, $extension='') |
Fonctions membres protégées | |
findItem ($needles=array()) | |
Fonctions membres protégées statiques | |
static | lookupItem ($needles=array()) |
Attributs protégés | |
$extension | |
$id | |
$view | |
Attributs protégés statiques | |
static | $lookup |
Route Helper
A class providing basic routing for urls that are for content types found in the #__content_types table and rows found in the #__ucm_content table.
|
protected |
Method to find the item in the menu structure
array | $needles | Array of lookup values |
Références $active, $app, $attributes, $component, $default, $id, $item, $items, $language, $this, $view, extension, Factory\getApplication(), ComponentHelper\getComponent(), Multilanguage\isEnabled(), et null.
|
static |
Fetches the category route
mixed | $catid | Category ID or CategoryNode instance |
mixed | $language | Language code |
string | $extension | Extension to lookup |
Références $category, $extension, $id, $item, $language, $link, Categories\getInstance(), et Multilanguage\isEnabled().
Référencé par CategoryFeedView\display().
A method to get the route for a specific item
integer | $id | Value of the primary key for the item in its content table |
string | $typealias | The type_alias for the item being routed. Of the form extension.view. |
string | $link | The link to be routed |
string | $language | The language of the content for multilingual sites |
integer | $catid | Optional category id |
Références $category, $id, $item, $language, $link, $name, $view, extension, Factory\getApplication(), Categories\getInstance(), et Multilanguage\isEnabled().
|
staticprotected |
Static alias to findItem() used to find the item in the menu structure
array | $needles | Array of lookup values |
|
protected |
|
protected |
|
staticprotected |
|
protected |