CoreFiles by mySites.guru
HeadRenderer.php45 lines, 1,224 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
3d1daa0effa9ec9a38b87f6972339dac
sha1
ff4528d65902fd74bc8615aeea815ea66c681168
sha256
ffff8463f70bcd2cbf71b8c91ad79bf16a34c8d5a6489b74a6e9816b9a12731b
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2018 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.