Rule to identify the right Itemid for a view in a component
- Depuis
- 3.4
buildLookup |
( |
|
$language = '*' | ) |
|
|
protected |
Method to build the lookup array
- Paramètres
-
string | $language | The language that the lookup should be built up for |
- Renvoie
- void
- Depuis
- 3.4
Here it will become a bit tricky language != * can override existing entries language == * cannot override existing entries
Here it will become a bit tricky language != * can override existing entries language == * cannot override existing entries
Références $attributes, $component, $item, $items, $language, $layout, $view, et ComponentHelper\getComponent().
Finds the right Itemid for this query
- Paramètres
-
array | &$query | The query array to process |
- Renvoie
- void
- Depuis
- 3.4
If the active item id is not the same as the supplied item id or we have a supplied item id and no active menu item then we just use the supplied menu item and continue
Implémente RulesInterface.
Références $active, $default, $id, $language, $layout, $query, $view, et null.