Table of Contents

getHead

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Application Class JApplication Method getHead Reference getHead() Never Internal Review

Returns the head block of the current document.

The method is deprecated and provided for backwards compatibility with Joomla! 1.0. It is scheduled to be removed in future versions. Use JDocument::renderHead instead.

Syntax

void getHead ()

Examples

Example

global $mainframe;

echo $mainframe->getHead();

might produce

Result

this method was broken at time of writing.