Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($options=array()) | |
setData (ElementInterface $element) | |
setErrors ($errors) | |
setJsonapi ($jsonapi) | |
toArray () | |
__toString () | |
render ($cache=false, $params=array()) | |
jsonSerialize () | |
addLink ($key, $value) | |
addMeta ($key, $value) | |
Fonctions membres publiques hérités de JsonDocument | |
__construct ($options=array()) | |
getName () | |
setName ($name='joomla') | |
Fonctions membres publiques hérités de Document | |
__construct ($options=array()) | |
setFactory (FactoryInterface $factory) | |
setType ($type) | |
getType () | |
getBuffer () | |
setBuffer ($content, $options=array()) | |
getMetaData ($name, $attribute='name') | |
setMetaData ($name, $content, $attribute='name') | |
addScript ($url, $options=array(), $attribs=array()) | |
addScriptDeclaration ($content, $type='text/javascript') | |
addScriptOptions ($key, $options, $merge=true) | |
getScriptOptions ($key=null) | |
addStyleSheet ($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 () | |
setPreloadManager (PreloadManagerInterface $preloadManager) | |
getPreloadManager () | |
setWebAssetManager (WebAssetManager $webAsset) | |
getWebAssetManager () | |
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 | |
$document | |
Attributs protégés hérités de JsonDocument | |
$_name = 'joomla' | |
Attributs protégés hérités de Document | |
$scriptOptions = array() | |
$mediaVersion = null | |
$factory | |
$preloadManager = null | |
$preloadTypes = ['preload', 'dns-prefetch', 'preconnect', 'prefetch', 'prerender'] | |
$webAssetManager = 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 |
Fonctions membres protégées hérités de Document | |
preloadAssets () | |
Attributs protégés statiques hérités de Document | |
static | $instances = array() |
JsonapiDocument class, provides an easy interface to parse output in JSON-API format.
__construct | ( | $options = array() | ) |
Class constructor.
array | $options | Associative array of options |
Références $options, et Symfony\Contracts\Service\__construct().
__toString | ( | ) |
Map to string.
addLink | ( | $key, | |
$value | |||
) |
addMeta | ( | $key, | |
$value | |||
) |
jsonSerialize | ( | ) |
Serialize for JSON usage.
render | ( | $cache = false , |
|
$params = array() |
|||
) |
Outputs the document.
boolean | $cache | If true, cache the output. |
array | $params | Associative array of attributes. |
Références Document\$_charset, Document\$_mime, $app, Factory\getApplication(), et Document\getModifiedDate().
setData | ( | ElementInterface | $element | ) |
Set the data object.
ElementInterface | $element | Element interface. |
Références $this.
setErrors | ( | $errors | ) |
setJsonapi | ( | $jsonapi | ) |
Set the JSON-API array.
array | $jsonapi | JSON-API array. |
Références $this.
toArray | ( | ) |
Map everything to arrays.
|
protected |