1 <?php
2 /**
3 * @package Joomla.Platform
4 * @subpackage Document
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 /**
13 * Component renderer
14 *
15 * @since 3.5
16 */
17 class JDocumentRendererHtmlComponent extends JDocumentRenderer
18 {
19 /**
20 * Renders a component script and returns the results as a string
21 *
22 * @param string $component The name of the component to render
23 * @param array $params Associative array of values
24 * @param string $content Content script
25 *
26 * @return string The output of the script
27 *
28 * @since 3.5
29 */
30 public function render($component = null, $params = array(), $content = null)
31 {
32 return $content;
33 }
34 }
35