CoreFiles by mySites.guru
ComponentRenderer.php40 lines, 1,020 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
ba95e93d906ea94211cab571fb1854ae
sha1
98b6176f70f66ce3fb61dff4dc9dd026fb436f3d
sha256
b15fbf701d13bd251680399cbe521f5c602842655555b14555afa465fa65a8c6
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2015 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Document\Renderer\Html;

use Joomla\CMS\Document\DocumentRenderer;

// phpcs:disable PSR1.Files.SideEffects
\defined('JPATH_PLATFORM') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * 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 = [], $content = null)
    {
        return $content;
    }
}

The same content is in 59 releases, Joomla 4.2.7-rc1 to 4.4.14. See them all, or every version of this file.