PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1<?php
 2/**
 3 * @package     Joomla.Platform
 4 * @subpackage  Document
 5 *
 6 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 7 * @license     GNU General Public License version 2 or later; see LICENSE
 8 */
 9
10defined('JPATH_PLATFORM') or die;
11
12/**
13 * Component renderer
14 *
15 * @since  11.1
16 */
17class JDocumentRendererComponent 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   11.1
29	 */
30	public function render($component = null, $params = array(), $content = null)
31	{
32		return $content;
33	}
34}