API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JDocumentHTML::__construct | ( | $ | options = array() | ) |
Class constructor
protected
array | $options | Associative array of options |
Réimplémentée à partir de JDocument.
JDocumentHTML::_loadTemplate | ( | $ | directory, |
$ | filename | ||
) |
Load a template file
string | $template | The name of the template |
string | $filename | The actual filename |
Références $acl, $Itemid, $k, $mainframe, $name, $option, $path, $task, JURI::base(), et JFactory::getConfig().
JDocumentHTML::_parseTemplate | ( | $ | data | ) |
JDocumentHTML::addCustomTag | ( | $ | html | ) |
Adds a custom html string to the head block
string | The html to add to the head public |
JDocumentHTML::addFavicon | ( | $ | href, |
$ | type = 'image/x-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.
string | $href | The link that is being related. |
string | $type | File type |
string | $relation | Relation of link public |
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">
public
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 | $attributes | Associative array of remaining attributes. |
Références JArrayHelper::toString().
JDocumentHTML::countMenuChildren | ( | ) |
Count the number of child menu items
public
Références $menu, $where, JFactory::getDBO(), et JSite::getMenu().
JDocumentHTML::countModules | ( | $ | condition | ) |
Count the modules based on the given condition
public
string | $condition | The condition to use |
Références $i, $name, et JModuleHelper::getModules().
JDocumentHTML::getBuffer | ( | $ | type = null , |
$ | name = null , |
||
$ | attribs = array() |
||
) |
JDocumentHTML::getHeadData | ( | ) |
JDocumentHTML::render | ( | $ | caching = false , |
$ | params = array() |
||
) |
Outputs the template to the browser.
public
boolean | $cache | If true, cache the output |
array | $params | Associative array of attributes |
Réimplémentée à partir de JDocument.
Références $content, $data, $file, $lang, $params, JURI::base(), JFilterInput::clean(), JFactory::getLanguage(), et params.
JDocumentHTML::setBuffer | ( | $ | contents, |
$ | type, | ||
$ | name = null |
||
) |
JDocumentHTML::setHeadData | ( | $ | data | ) |
JDocumentHTML::$_custom = array() |
JDocumentHTML::$_links = array() |