Actions

API16

JDocumentHTML/getHeadData

< 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

Get the html document head data


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

Syntax

getHeadData()


Returns

array The document head data in array form

Defined in

libraries/joomla/document/html/html.php

Importing

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

Source Body

function getHeadData()
{
        $data = array();
        $data['title']          = $this->title;
        $data['description']= $this->description;
        $data['link']           = $this->link;
        $data['metaTags']       = $this->_metaTags;
        $data['links']          = $this->_links;
        $data['styleSheets']= $this->_styleSheets;
        $data['style']          = $this->_style;
        $data['scripts']        = $this->_scripts;
        $data['script']         = $this->_script;
        $data['custom']         = $this->_custom;
        return $data;
}


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

Examples

Code Examples


Advertisement