Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
display ($tpl=null) | |
Fonctions membres publiques hérités de HtmlView | |
__construct ($config=array()) | |
display ($tpl=null) | |
escape ($var) | |
getLayout () | |
getLayoutTemplate () | |
setLayout ($layout) | |
setLayoutExt ($value) | |
addTemplatePath ($path) | |
addHelperPath ($path) | |
loadTemplate ($tpl=null) | |
loadHelper ($hlp=null) | |
getForm () | |
setDocumentTitle ($title) | |
Fonctions membres publiques hérités de AbstractView | |
__construct ($config=array()) | |
display ($tpl=null) | |
get ($property, $default=null) | |
getModel ($name=null) | |
setModel ($model, $default=false) | |
getName () | |
Fonctions membres publiques hérités de CMSObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de CurrentUserInterface | |
setCurrentUser (User $currentUser) | |
Champs de données | |
$filterForm | |
$activeFilters | |
Champs de données hérités de AbstractView | |
$document | |
Fonctions membres protégées | |
addToolbar () | |
Fonctions membres protégées hérités de HtmlView | |
_setPath ($type, $path) | |
_addPath ($type, $path) | |
_createFileName ($type, $parts=array()) | |
Fonctions membres protégées hérités de AbstractView | |
dispatchEvent (EventInterface $event) | |
Attributs protégés | |
$items | |
$pagination | |
$state | |
Attributs protégés hérités de HtmlView | |
$_basePath = null | |
$_layout = 'default' | |
$_layoutExt = 'php' | |
$_layoutTemplate = '_' | |
$_path = array('template' => array(), 'helper' => array()) | |
$_template = null | |
$_output = null | |
$_charset = 'UTF-8' | |
Attributs protégés hérités de AbstractView | |
$option = null | |
$_name = null | |
$_models = array() | |
$_defaultModel = null | |
Attributs protégés hérités de CMSObject | |
$_errors = array() | |
Attributs privés | |
$isEmptyState = false | |
View class for a list of modules.
|
protected |
Add the page title and toolbar.
Références $canDo, $state, $toolbar, $user, Text\_(), ContentHelper\getActions(), Joomla\CMS\User\getCurrentUser(), Toolbar\getInstance(), et ToolbarHelper\title().
display | ( | $tpl = null | ) |
Display the view
string | $tpl | The name of the template file to parse; automatically searches through the template paths. |
The code below make sure the remembered position will be available from filter dropdown even if there are no modules available for this position. This will make the UI less confusing for users in case there is only one module in the selected position and user:
Implémente ViewInterface.
Références $option, Factory\getApplication(), ModuleHelper\isAdminMultilang(), Multilanguage\isEnabled(), et items.
$activeFilters |
$filterForm |
|
private |
|
protected |
|
protected |
|
protected |