Actions

API16

JDocumentHTML/addCustomTag

From Joomla! Documentation

< API16:JDocumentHTML
Revision as of 16:44, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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

Adds a custom html string to the head block

[Edit Descripton]

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] SeeAlso:JDocumentHTML/addCustomTag

Examples

<CodeExamplesForm />