CoreFiles by mySites.guru
ComponentRenderer.php37 lines, 909 bytes, from Joomla_3.8.13-Stable-Full_Package.zip
Raw History Compare with 3.8.12
md5
85b09f5d3ebb383e7f959c764d4975f1
sha1
828a7a6428bbf2ea31c11946f489b64db18a5037
sha256
3139bdc030a53cb1f723c8baee5b8d6c1cbeb075dfd5bbcf3fac2cc462b59f46
<?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;

/**
 * HTML document renderer for the component output
 *
 * @since  3.5
 */
class ComponentRenderer extends DocumentRenderer
{
	/**
	 * Renders a component script and returns the results as a string
	 *
	 * @param   string  $component  The name of the component to render
	 * @param   array   $params     Associative array of values
	 * @param   string  $content    Content script
	 *
	 * @return  string  The output of the script
	 *
	 * @since   3.5
	 */
	public function render($component = null, $params = array(), $content = null)
	{
		return $content;
	}
}

The same content is in 32 releases, Joomla 3.8.4-rc to 4.0.0-alpha6. See them all, or every version of this file.