Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (SiteApplication $app, AbstractMenu $menu, CategoryFactoryInterface $categoryFactory, DatabaseInterface $db) | |
getCategorySegment ($id, $query) | |
getCategoriesSegment ($id, $query) | |
getArticleSegment ($id, $query) | |
getFormSegment ($id, $query) | |
getCategoryId ($segment, $query) | |
getCategoriesId ($segment, $query) | |
getArticleId ($segment, $query) | |
Fonctions membres publiques hérités de RouterView | |
registerView (RouterViewConfiguration $view) | |
getViews () | |
getPath ($query) | |
getRules () | |
attachRules ($rules) | |
attachRule (RulesInterface $rule) | |
detachRule (RulesInterface $rule) | |
preprocess ($query) | |
build (&$query) | |
parse (&$segments) | |
getName () | |
Fonctions membres publiques hérités de RouterBase | |
__construct ($app=null, $menu=null) | |
preprocess ($query) | |
Attributs protégés | |
$noIDs = false | |
Attributs protégés hérités de RouterView | |
$name | |
$rules = array() | |
$views = array() | |
Fonctions membres privées | |
getCategories (array $options=[]) | |
Attributs privés | |
$categoryFactory | |
$categoryCache = [] | |
$db | |
Membres hérités additionnels | |
Champs de données hérités de RouterBase | |
$app | |
$menu | |
Routing class of com_content
__construct | ( | SiteApplication | $app, |
AbstractMenu | $menu, | ||
CategoryFactoryInterface | $categoryFactory, | ||
DatabaseInterface | $db | ||
) |
Content Component router constructor
SiteApplication | $app | The application object |
AbstractMenu | $menu | The menu object to work with |
CategoryFactoryInterface | $categoryFactory | The category object |
DatabaseInterface | $db | The database object |
Références $app, $article, $category, $db, $form, $menu, $params, $this, Symfony\Contracts\Service\__construct(), et ComponentHelper\getParams().
getArticleId | ( | $segment, | |
$query | |||
) |
Method to get the segment(s) for an article
string | $segment | Segment of the article to retrieve the ID for |
array | $query | The request that is parsed right now |
Références $query, et ParameterType\INTEGER.
getArticleSegment | ( | $id, | |
$query | |||
) |
Method to get the segment(s) for an article
string | $id | ID of the article to retrieve the segments for |
array | $query | The request that is built right now |
Références $id, et ParameterType\INTEGER.
|
private |
getCategoriesId | ( | $segment, | |
$query | |||
) |
Method to get the segment(s) for a category
string | $segment | Segment to retrieve the ID for |
array | $query | The request that is parsed right now |
Références $query.
getCategoriesSegment | ( | $id, | |
$query | |||
) |
getCategoryId | ( | $segment, | |
$query | |||
) |
getCategorySegment | ( | $id, | |
$query | |||
) |
getFormSegment | ( | $id, | |
$query | |||
) |
|
private |
|
private |
|
private |
|
protected |