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é
|
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, $view, extension, ComponentHelper\getComponent(), Multilanguage\isEnabled(), et null.
|
static |
Fetches the category route
mixed | $catid | Category ID or instance |
mixed | $language | Language code |
string | $extension | Extension to lookup |
Références $category, $extension, $id, $item, $language, $link, et Multilanguage\isEnabled().
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, Multilanguage\isEnabled(), et view.
|
staticprotected |
Static alias to findItem() used to find the item in the menu structure
array | $needles | Array of lookup values |
|
protected |
|
protected |
|
staticprotected |
|
protected |