Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe HtmlView
+ Graphe d'héritage de HtmlView:

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)
 

Fonctions membres protégées

 addToolbar ()
 
 directoryTree ($array)
 
 folderTree ($array)
 
 mediaTree ($array)
 
 mediaFolderTree ($array)
 
- 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

 $state
 
 $template
 
 $form
 
 $source
 
 $id
 
 $file
 
 $overridesList
 
 $fileName
 
 $type
 
 $image
 
 $preview
 
 $font
 
 $files
 
 $archive
 
 $pluginState
 
 $mediaFiles
 
- 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
 

Description détaillée

View to edit a template style.

Depuis
1.6

Documentation des fonctions membres

◆ addToolbar()

◆ directoryTree()

directoryTree (   $array)
protected

Method for creating the collapsible tree.

Paramètres
array$arrayThe value of the present node for recursion
Renvoie
string
Note
Uses recursion
Depuis
3.2

Références $temp.

◆ display()

display (   $tpl = null)

Execute and display a template script.

Paramètres
string$tplThe name of the template file to parse; automatically searches through the template paths.
Renvoie
void|boolean

Implémente ViewInterface.

Références $app, $explodeArray, $params, Text\_(), elseif, Factory\getApplication(), Joomla\CMS\User\getCurrentUser(), InputFilter\getInstance(), ComponentHelper\getParams(), image, et PluginHelper\isEnabled().

◆ folderTree()

folderTree (   $array)
protected

Method for listing the folder tree in modals.

Paramètres
array$arrayThe value of the present node for recursion
Renvoie
string
Note
Uses recursion
Depuis
3.2

Références $temp.

◆ mediaFolderTree()

mediaFolderTree (   $array)
protected

Method for listing the folder tree in modals.

Paramètres
array$arrayThe value of the present node for recursion
Renvoie
string
Note
Uses recursion
Depuis
4.1.0

Références $temp.

◆ mediaTree()

mediaTree (   $array)
protected

Method for creating the collapsible tree.

Paramètres
array$arrayThe value of the present node for recursion
Renvoie
string
Note
Uses recursion
Depuis
4.1.0

Références $temp.

Documentation des champs

◆ $archive

$archive
protected

◆ $file

$file
protected

◆ $fileName

$fileName
protected

◆ $files

$files
protected

◆ $font

$font
protected

◆ $form

$form
protected

◆ $id

$id
protected

◆ $image

$image
protected

◆ $mediaFiles

$mediaFiles
protected

◆ $overridesList

$overridesList
protected

◆ $pluginState

$pluginState
protected

◆ $preview

$preview
protected

◆ $source

$source
protected

◆ $state

$state
protected

◆ $template

$template
protected

◆ $type

$type
protected

La documentation de cette classe a été générée à partir du fichier suivant :