AAAAhome/academiac/www/libraries/joomla/document/html/renderer/head.php 0000644 00000013636 15137561575 0021476 0 ustar 00 fetchHead($this->_doc);
$buffer = ob_get_contents();
ob_end_clean();
return $buffer;
}
/**
* Generates the head HTML and return the results as a string
*
* @param JDocument &$document The document for which the head will be created
*
* @return string The head hTML
*
* @since 11.1
*/
public function fetchHead(&$document)
{
// Trigger the onBeforeCompileHead event (skip for installation, since it causes an error)
$app = JFactory::getApplication();
$app->triggerEvent('onBeforeCompileHead');
// Get line endings
$lnEnd = $document->_getLineEnd();
$tab = $document->_getTab();
$tagEnd = ' />';
$buffer = '';
// Generate base tag (need to happen first)
$base = $document->getBase();
if (!empty($base))
{
$buffer .= $tab . '