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 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) | |
Attributs protégés | |
$_basePath = null | |
$_charset = 'UTF-8' | |
$_output = array() | |
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 | |
Fonctions membres protégées hérités de AbstractView | |
dispatchEvent (EventInterface $event) | |
Base class for a Joomla Json View
Class holding methods for displaying presentation data.
__construct | ( | $config = array() | ) |
Constructor
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, et Symfony\Contracts\Service\__construct().
display | ( | $tpl = null | ) |
Execute and display a template script.
string | $tpl | The name of the template file to parse; automatically searches through the template paths. |
Implémente ViewInterface.
Références $result.
|
protected |
|
protected |
|
protected |