/libraries/joomla/document/html/renderer/component.php
https://gitlab.com/vitaliylukin91/text · PHP · 34 lines · 9 code · 2 blank · 23 comment · 0 complexity · 6a616191bd3fc08cf0f48845016ef730 MD5 · raw file
- <?php
- /**
- * @package Joomla.Platform
- * @subpackage Document
- *
- * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
- * @license GNU General Public License version 2 or later; see LICENSE
- */
- defined('JPATH_PLATFORM') or die;
- /**
- * Component renderer
- *
- * @since 11.1
- */
- class JDocumentRendererComponent extends JDocumentRenderer
- {
- /**
- * 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 11.1
- */
- public function render($component = null, $params = array(), $content = null)
- {
- return $content;
- }
- }