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) | |
getNewsfeedSegment ($id, $query) | |
getCategoryId ($segment, $query) | |
getCategoriesId ($segment, $query) | |
getNewsfeedId ($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 from com_newsfeeds
__construct | ( | SiteApplication | $app, |
AbstractMenu | $menu, | ||
CategoryFactoryInterface | $categoryFactory, | ||
DatabaseInterface | $db | ||
) |
Newsfeeds 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, $category, $db, $menu, $params, $this, Symfony\Contracts\Service\__construct(), et ComponentHelper\getParams().
|
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 | |||
) |
getNewsfeedId | ( | $segment, | |
$query | |||
) |
Method to get the segment(s) for a newsfeed
string | $segment | Segment of the newsfeed to retrieve the ID for |
array | $query | The request that is parsed right now |
Références $query, et ParameterType\INTEGER.
getNewsfeedSegment | ( | $id, | |
$query | |||
) |
Method to get the segment(s) for a newsfeed
string | $id | ID of the newsfeed to retrieve the segments for |
array | $query | The request that is built right now |
Références $id, et ParameterType\INTEGER.
|
private |
|
private |
|
private |
|
protected |