/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. defined('JPATH_PLATFORM') or die;
  10. /**
  11. * Component renderer
  12. *
  13. * @since 11.1
  14. */
  15. class JDocumentRendererComponent extends JDocumentRenderer
  16. {
  17. /**
  18. * Renders a component script and returns the results as a string
  19. *
  20. * @param string $component The name of the component to render
  21. * @param array $params Associative array of values
  22. * @param string $content Content script
  23. *
  24. * @return string The output of the script
  25. *
  26. * @since 11.1
  27. */
  28. public function render($component = null, $params = array(), $content = null)
  29. {
  30. return $content;
  31. }
  32. }