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

Fonctions membres publiques

 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)
 

Fonctions membres protégées

 renderSection (string $sectionName, array $sectionData, int $level=0)
 
 renderDirectories (string $sectionName, array $sectionData, int $level=-1)
 
- Fonctions membres protégées hérités de AbstractView
 dispatchEvent (EventInterface $event)
 

Membres hérités additionnels

- Champs de données hérités de AbstractView
 $document
 
- 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()
 

Description détaillée

Sysinfo View class for the Admin component

Depuis
3.5

Documentation des fonctions membres

◆ 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
mixed A string if successful, otherwise an Error object.
Depuis
3.5
Exceptions
Exception

Implémente ViewInterface.

Références $data, $section, $this, Text\_(), Factory\getApplication(), Factory\getUser(), et JPATH_ROOT.

◆ renderDirectories()

renderDirectories ( string  $sectionName,
array  $sectionData,
int  $level = -1 
)
protected

Specific rendering for directories

Paramètres
string$sectionNameName of the section
array$sectionDataDirectories information
integer$levelStarting level
Renvoie
string
Depuis
3.5

Références $data.

◆ renderSection()

renderSection ( string  $sectionName,
array  $sectionData,
int  $level = 0 
)
protected

Render a section

Paramètres
string$sectionNameName of the section to render
array$sectionDataData of the section to render
integer$levelDepth level for indentation
Renvoie
string
Depuis
3.5

Références $margin, $name, $value, et null.


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