Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($config=array()) | |
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) | |
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 | |
$app | |
$form | |
$item | |
$state | |
$canDo | |
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() | |
Membres hérités additionnels | |
Champs de données hérités de AbstractView | |
$document | |
__construct | ( | $config = array() | ) |
Overloads the parent constructor. Just needed to fetch the Application object.
array | $config | A named configuration array for object construction. name: the name (optional) of the view (defaults to the view class name suffix). charset: the character set to use for display escape: the name (optional) of the function to use for escaping strings base_path: the parent path (optional) of the views directory (defaults to the component folder) template_plath: the path (optional) of the layout directory (defaults to base_path + /views/ + view name helper_path: the path (optional) of the helper files (defaults to base_path + /helpers/) layout: the layout (optional) to use to display the view |
Références $config, Symfony\Contracts\Service\__construct(), et Factory\getApplication().
|
protected |
Adds the page title and toolbar
Références $app, $canDo, $toolbar, Text\_(), Toolbar\getInstance(), et ToolbarHelper\title().
display | ( | $tpl = null | ) |
string | $tpl | The name of the template file to parse; automatically searches through the template paths. |
Implémente ViewInterface.
Références ContentHelper\getActions().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |