Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($options=array()) | |
render ($cache=false, $params=array()) | |
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()) | |
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 hérités de Document | |
$scriptOptions = array() | |
$mediaVersion = null | |
$factory | |
$preloadManager = null | |
$preloadTypes = ['preload', 'dns-prefetch', 'preconnect', 'prefetch', 'prerender'] | |
$webAssetManager = null | |
Attributs protégés statiques hérités de Document | |
static | $instances = array() |
ImageDocument class, provides an easy interface to output image data
__construct | ( | $options = array() | ) |
Class constructor
array | $options | Associative array of options |
Références $options, et Symfony\Contracts\Service\__construct().
render | ( | $cache = false , |
|
$params = array() |
|||
) |
Render the document.
boolean | $cache | If true, cache the output |
array | $params | Associative array of attributes |
Références $params, $type, Factory\getApplication(), Document\getBuffer(), et null.