Back to Joomla project (class list)

Class StylesRenderer - list of methods

JDocument styles renderer

Extends

Package: Joomla\CMS\Document\Renderer\Html
Copyright: (C) 2005 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
Located at: Joomla/Document/Renderer/Html/StylesRenderer.php
Project: Joomla

Method Summary

public string
(mixed $head, mixed $params = array(), mixed $content = null)

Renders the document stylesheets and style tags and returns the results as a string
Parameters
  • string $head (unused)
  • array $params Associative array of values
  • string $content The script
Returns
  • string The output of the script
Since
  • 4.0.0
Show source code of this method: render Source Code

private string
(mixed $item)

Renders the element
Parameters
  • \Joomla\CMS\WebAsset\WebAssetItemInterface|array $item The element
Returns
  • string The resulting string
Since
  • 4.0.0
Show source code of this method: renderElement Source Code

private string
(mixed $item)

Renders the inline element
Parameters
  • \Joomla\CMS\WebAsset\WebAssetItemInterface|array $item The element
Returns
  • string The resulting string
Since
  • 4.0.0
Show source code of this method: renderInlineElement Source Code

private string
(array $attributes)

Renders the element attributes
Parameters
  • array $attributes The element attributes
Returns
  • string The attributes string
Since
  • 4.0.0
Show source code of this method: renderAttributes Source Code

Properties Summary

private array
$renderedSrc
List of already rendered src
Since
  • 4.0.0

Tags Summary

Since
4.0.0