CoreFiles by mySites.guru
HeadRenderer.php45 lines, 1,224 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
eeb718433bdaabd5a17ede7c4e293a7b
sha1
904e8388df52070e8c78804c4a1ff90523c35a51
sha256
a8f64d5ad9929aa737208d819b894741331c348edd5a2be5369fdcb1dd83868c
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Document\Renderer\Html;

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Document\DocumentRenderer;
use Joomla\CMS\Helper\TagsHelper;
use Joomla\CMS\Uri\Uri;
use Joomla\Utilities\ArrayHelper;

/**
 * HTML document renderer for the document `<head>` element
 *
 * @since  3.5
 */
class HeadRenderer extends DocumentRenderer
{
	/**
	 * Renders the document head and returns the results as a string
	 *
	 * @param   string  $head     (unused)
	 * @param   array   $params   Associative array of values
	 * @param   string  $content  The script
	 *
	 * @return  string  The output of the script
	 *
	 * @since   3.5
	 */
	public function render($head, $params = array(), $content = null)
	{
		$buffer  = '';
		$buffer .= $this->_doc->loadRenderer('metas')->render($head, $params, $content);
		$buffer .= $this->_doc->loadRenderer('styles')->render($head, $params, $content);
		$buffer .= $this->_doc->loadRenderer('scripts')->render($head, $params, $content);

		return $buffer;
	}
}

No other release has this exact content. See every version of this file.