Back to Joomla project (class list)

Class Content - list of methods

Utility class to fire onContentPrepare for non-article based content.
Package: Joomla\CMS\HTML\Helpers
Copyright: (C) 2009 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/HTML/Helpers/Content.php
Project: Joomla

Method Summary

public static string
(mixed $text, mixed $params = null, mixed $context = 'text')

Fire onContentPrepare for content that isn't part of an article.
Parameters
  • string $text The content to be transformed.
  • array $params The content params.
  • string $context The context of the content to be transformed.
Returns
  • string The content after transformation.
Since
  • 1.5
Show source code of this method: prepare Source Code

public static array
(mixed $state)

Returns an array of months.
Parameters
  • \Joomla\Registry\Registry $state The state object.
Returns
  • array
Since
  • 3.9.0
Show source code of this method: months Source Code

Tags Summary

Since
1.5