Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe XmlDocument
+ Graphe d'héritage de XmlDocument:

Fonctions membres publiques

 __construct ($options=array())
 
 render ($cache=false, $params=array())
 
 getName ()
 
 setName ($name='joomla')
 
 isDownload ()
 
 setDownload ($download=false)
 
- Fonctions membres publiques hérités de Document
 __construct ($options=array())
 
 setType ($type)
 
 getType ()
 
 getBuffer ()
 
 setBuffer ($content, $options=array())
 
 getMetaData ($name, $attribute='name')
 
 setMetaData ($name, $content, $attribute='name')
 
 addScript ($url, $options=array(), $attribs=array())
 
 addScriptVersion ($url, $options=array(), $attribs=array())
 
 addScriptDeclaration ($content, $type='text/javascript')
 
 addScriptOptions ($key, $options, $merge=true)
 
 getScriptOptions ($key=null)
 
 addStyleSheet ($url, $options=array(), $attribs=array())
 
 addStyleSheetVersion ($url, $options=array(), $attribs=array())
 
 addStyleDeclaration ($content, $type='text/css')
 
 setCharset ($type='utf-8')
 
 getCharset ()
 
 setLanguage ($lang='en-gb')
 
 getLanguage ()
 
 setDirection ($dir='ltr')
 
 getDirection ()
 
 setTitle ($title)
 
 getTitle ()
 
 setMediaVersion ($mediaVersion)
 
 getMediaVersion ()
 
 setBase ($base)
 
 getBase ()
 
 setDescription ($description)
 
 getDescription ()
 
 setLink ($url)
 
 getLink ()
 
 setGenerator ($generator)
 
 getGenerator ()
 
 setModifiedDate ($date)
 
 getModifiedDate ()
 
 setMimeEncoding ($type='text/html', $sync=true)
 
 getMimeEncoding ()
 
 setLineEnd ($style)
 
 _getLineEnd ()
 
 setTab ($string)
 
 _getTab ()
 
 loadRenderer ($type)
 
 parse ($params=array())
 
 render ($cache=false, $params=array())
 

Attributs protégés

 $name = 'joomla'
 
 $isDownload = false
 
- Attributs protégés hérités de Document
 $scriptOptions = array()
 
 $mediaVersion = null
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de Document
static getInstance ($type='html', $attributes=array())
 
- Champs de données hérités de Document
 $title = ''
 
 $description = ''
 
 $link = ''
 
 $base = ''
 
 $language = 'en-gb'
 
 $direction = 'ltr'
 
 $_generator = 'Joomla! - Open Source Content Management'
 
 $_mdate = ''
 
 $_tab = "\11"
 
 $_lineEnd = "\12"
 
 $_charset = 'utf-8'
 
 $_mime = ''
 
 $_namespace = ''
 
 $_profile = ''
 
 $_scripts = array()
 
 $_script = array()
 
 $_styleSheets = array()
 
 $_style = array()
 
 $_metaTags = array()
 
 $_engine = null
 
 $_type = null
 
- Attributs publics statiques hérités de Document
static $_buffer = null
 
- Attributs protégés statiques hérités de Document
static $instances = array()
 

Description détaillée

XmlDocument class, provides an easy interface to parse and display XML output

Depuis
1.7.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $options = array())

Class constructor

Paramètres
array$optionsAssociative array of options
Depuis
1.7.0

Références $options.

Documentation des fonctions membres

◆ getName()

getName ( )

Returns the document name

Renvoie
string
Depuis
1.7.0

Références $name.

◆ isDownload()

isDownload ( )

Check if this document is intended for download

Renvoie
string
Depuis
3.9.0

◆ render()

render (   $cache = false,
  $params = array() 
)

Render the document.

Paramètres
boolean$cacheIf true, cache the output
array$paramsAssociative array of attributes
Renvoie
string The rendered data
Depuis
1.7.0

Références $params.

◆ setDownload()

setDownload (   $download = false)

Sets the document's download state

Paramètres
boolean$downloadIf true, this document will be downloaded; if false, this document will be displayed inline
Renvoie
XmlDocument instance of $this to allow chaining
Depuis
3.9.0

◆ setName()

setName (   $name = 'joomla')

Sets the document name

Paramètres
string$nameDocument name
Renvoie
XmlDocument instance of $this to allow chaining
Depuis
1.7.0

Références $name, et name.

Documentation des champs

◆ $isDownload

$isDownload = false
protected

◆ $name

$name = 'joomla'
protected

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