Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($options=array()) | |
setError ($error) | |
loadRenderer ($type) | |
render ($cache=false, $params=array()) | |
renderBacktrace () | |
Fonctions membres publiques hérités de HtmlDocument | |
__construct ($options=array()) | |
getHeadData () | |
resetHeadData ($types=null) | |
setHeadData ($data) | |
mergeHeadData ($data) | |
addHeadLink ($href, $relation, $relType='rel', $attribs=array()) | |
addFavicon ($href, $type='image/vnd.microsoft.icon', $relation='shortcut icon') | |
addCustomTag ($html) | |
isHtml5 () | |
setHtml5 ($state) | |
setBuffer ($content, $options=array()) | |
parse ($params=array()) | |
render ($caching=false, $params=array()) | |
countModules (string $positionName, bool $withContentOnly=false) | |
countMenuChildren () | |
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()) | |
Fonctions membres publiques hérités de CacheControllerFactoryAwareInterface | |
setCacheControllerFactory (CacheControllerFactoryInterface $factory) | |
Champs de données | |
$debug = false | |
$error | |
Champs de données hérités de HtmlDocument | |
$_links = array() | |
$_custom = array() | |
$template = null | |
$baseurl = null | |
$params = null | |
$_file = null | |
$cspNonce = null | |
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 protégés | |
$_error | |
Attributs protégés hérités de HtmlDocument | |
$_template = '' | |
$_template_tags = array() | |
$_caching = null | |
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()) |
Attributs publics statiques hérités de Document | |
static | $_buffer = null |
Fonctions membres protégées hérités de HtmlDocument | |
_loadTemplate ($directory, $filename) | |
_fetchTemplate ($params=array()) | |
_parseTemplate () | |
_renderTemplate () | |
Fonctions membres protégées hérités de Document | |
preloadAssets () | |
Attributs protégés statiques hérités de Document | |
static | $instances = array() |
ErrorDocument class, provides an easy interface to parse and display an HTML based error page
__construct | ( | $options = array() | ) |
Class constructor
array | $options | Associative array of attributes |
Références $options, et Symfony\Contracts\Service\__construct().
loadRenderer | ( | $type | ) |
Load a renderer
string | $type | The renderer type |
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.
renderBacktrace | ( | ) |
Render the backtrace
Références LayoutHelper\render().
setError | ( | $error | ) |
Set error object
\Throwable | $error | Error object to set |
|
protected |
$debug = false |
$error |