Actions

API16

JDocumentHTML/addCustomTag

< API16:JDocumentHTML

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Adds a custom html string to the head block


<! removed transcluded page call, red link never existed >

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);
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples


Advertisement