API15

API15:JDocumentHTML/addCustomTag

From Joomla! Documentation

Revision as of 22:18, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Adds a custom html string to the head block <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JDocumentHTML/addCustomTag|Edit Descrip...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Adds a custom html string to the head block

[Edit Descripton]

Template:Description:JDocumentHTML/addCustomTag

Syntax

addCustomTag($html)
Parameter Name Default Value Description
$html The html to add to the head public

Returns

void

Defined in

libraries/joomla/document/html/html.php

Importing

jimport( 'joomla.document.html.html' );

Source Body

function addCustomTag( $html )
{
        $this->_custom[] = trim( $html );
}

[Edit See Also] Template:SeeAlso:JDocumentHTML/addCustomTag

Examples

<CodeExamplesForm />