Liste de tous les membres
Fonctions membres publiques |
| __construct ($options=array()) |
| getHeadData () |
| setHeadData ($data) |
| mergeHeadData ($data) |
| addHeadLink ($href, $relation, $relType= 'rel', $attribs=array()) |
| addFavicon ($href, $type= 'image/vnd.microsoft.icon', $relation= 'shortcut icon') |
| addCustomTag ($html) |
| getBuffer ($type=null, $name=null, $attribs=array()) |
| setBuffer ($content, $options=array()) |
| parse ($params=array()) |
| render ($caching=false, $params=array()) |
| countModules ($condition) |
| countMenuChildren () |
| setType ($type) |
| getType () |
| getBuffer () |
| getMetaData ($name, $httpEquiv=false) |
| setMetaData ($name, $content, $http_equiv=false, $sync=true) |
| addScript ($url, $type="text/javascript", $defer=false, $async=false) |
| addScriptDeclaration ($content, $type= 'text/javascript') |
| addStyleSheet ($url, $type= 'text/css', $media=null, $attribs=array()) |
| addStyleDeclaration ($content, $type= 'text/css') |
| setCharset ($type= 'utf-8') |
| getCharset () |
| setLanguage ($lang="en-gb") |
| getLanguage () |
| setDirection ($dir="ltr") |
| getDirection () |
| setTitle ($title) |
| getTitle () |
| 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) |
| __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) |
| toString () |
Documentation des constructeurs et destructeur
JDocumentHTML::__construct |
( |
|
$options = array() | ) |
|
Class constructor
- Paramètres:
-
array | $options | Associative array of options |
- Depuis:
- 11.1
Réimplémentée à partir de JDocument.
Références $options.
Documentation des fonctions membres
JDocumentHTML::_fetchTemplate |
( |
|
$params = array() | ) |
|
|
protected |
JDocumentHTML::_loadTemplate |
( |
|
$directory, |
|
|
|
$filename |
|
) |
| |
|
protected |
Load a template file
- Paramètres:
-
string | $directory | The name of the template |
string | $filename | The actual filename |
- Renvoie:
- string The contents of the template
- Depuis:
- 11.1
Références $path, JURI\base(), et JPATH_BASE.
JDocumentHTML::_parseTemplate |
( |
| ) |
|
|
protected |
JDocumentHTML::_renderTemplate |
( |
| ) |
|
|
protected |
Render pre-parsed template
- Renvoie:
- string rendered template
- Depuis:
- 11.1
JDocumentHTML::addCustomTag |
( |
|
$html | ) |
|
Adds a custom HTML string to the head block
- Paramètres:
-
string | $html | The HTML to add to the head |
- Renvoie:
- JDocumentHTML instance of $this to allow chaining
- Depuis:
- 11.1
Références $html.
JDocumentHTML::addFavicon |
( |
|
$href, |
|
|
|
$type = 'image/vnd.microsoft.icon' , |
|
|
|
$relation = 'shortcut icon' |
|
) |
| |
Adds a shortcut icon (favicon)
This adds a link to the icon shown in the favorites list or on the left of the url in the address bar. Some browsers display it on the tab, as well.
- Paramètres:
-
string | $href | The link that is being related. |
string | $type | File type |
string | $relation | Relation of link |
- Renvoie:
- JDocumentHTML instance of $this to allow chaining
- Depuis:
- 11.1
Références $type.
JDocumentHTML::addHeadLink |
( |
|
$href, |
|
|
|
$relation, |
|
|
|
$relType = 'rel' , |
|
|
|
$attribs = array() |
|
) |
| |
Adds <link> tags to the head of the document
$relType defaults to 'rel' as it is the most common relation type used. ('rev' refers to reverse relation, 'rel' indicates normal, forward relation.) Typical tag: <link href="index.php" rel="Start">
- Paramètres:
-
string | $href | The link that is being related. |
string | $relation | Relation of link. |
string | $relType | Relation type attribute. Either rel or rev (default: 'rel'). |
array | $attribs | Associative array of remaining attributes. |
- Renvoie:
- JDocumentHTML instance of $this to allow chaining
- Depuis:
- 11.1
Références $attribs.
JDocumentHTML::countMenuChildren |
( |
| ) |
|
JDocumentHTML::countModules |
( |
|
$condition | ) |
|
Count the modules based on the given condition
- Paramètres:
-
string | $condition | The condition to use |
- Renvoie:
- integer Number of modules found
- Depuis:
- 11.1
Références $i, $n, $name, JModuleHelper\getModules(), et null.
JDocumentHTML::getBuffer |
( |
|
$type = null , |
|
|
|
$name = null , |
|
|
|
$attribs = array() |
|
) |
| |
JDocumentHTML::getHeadData |
( |
| ) |
|
Get the HTML document head data
- Renvoie:
- array The document head data in array form
- Depuis:
- 11.1
Références $data, $link, et $title.
JDocumentHTML::mergeHeadData |
( |
|
$data | ) |
|
Merge the HTML document head data
- Paramètres:
-
array | $data | The document head data in array form |
- Renvoie:
- JDocumentHTML instance of $this to allow chaining
- Depuis:
- 11.1
Références $data, $type, description, et title.
JDocumentHTML::parse |
( |
|
$params = array() | ) |
|
Parses the template and populates the buffer
- Paramètres:
-
array | $params | Parameters for fetching the template |
- Renvoie:
- JDocumentHTML instance of $this to allow chaining
- Depuis:
- 11.1
Réimplémentée à partir de JDocument.
Références $params.
JDocumentHTML::render |
( |
|
$caching = false , |
|
|
|
$params = array() |
|
) |
| |
Outputs the template to the browser.
- Paramètres:
-
boolean | $caching | If true, cache the output |
array | $params | Associative array of attributes |
- Renvoie:
- The rendered data
- Depuis:
- 11.1
Réimplémentée à partir de JDocument.
Références $data, et $params.
JDocumentHTML::setBuffer |
( |
|
$content, |
|
|
|
$options = array() |
|
) |
| |
Set the contents a document includes
- Paramètres:
-
string | $content | The content to be set in the buffer. |
array | $options | Array of optional elements. |
- Renvoie:
- JDocumentHTML instance of $this to allow chaining
- Depuis:
- 11.1
Réimplémentée à partir de JDocument.
Références $options, et null.
JDocumentHTML::setHeadData |
( |
|
$data | ) |
|
Set the HTML document head data
- Paramètres:
-
array | $data | The document head data in array form |
- Renvoie:
- JDocumentHTML instance of $this to allow chaining
- Depuis:
- 11.1
Références $data, description, et title.
Documentation des données membres
JDocumentHTML::$_caching = null |
|
protected |
JDocumentHTML::$_custom = array() |
JDocumentHTML::$_file = null |
JDocumentHTML::$_links = array() |
JDocumentHTML::$_template = '' |
|
protected |
JDocumentHTML::$_template_tags = array() |
|
protected |
JDocumentHTML::$baseurl = null |
JDocumentHTML::$params = null |
JDocumentHTML::$template = null |
La documentation de cette classe a été générée à partir du fichier suivant :