API16:JDocumentRendererHead/render
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Renders the document head and returns the results as a string
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
render($head=null, $params=array(), $content=null)
| Parameter Name | Default Value | Description |
|---|---|---|
| $head | null | $name (unused) |
| $params | array() | $params Associative array of values |
| $content | null |
Returns
string The output of the script
Defined in
libraries/joomla/document/html/renderer/head.php
Importing
jimport( 'joomla.document.html.renderer.head' );
Source Body
public function render($head = null, $params = array(), $content = null) { ob_start(); echo $this->fetchHead($this->_doc); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
