JHtmlContent
Utility class to fire onContentPrepare for non-article based content.
abstract
since |
1.5 |
---|---|
package |
Joomla.Libraries |
Methods
months
Returns an array of months.
months(\Registry $state) : array
static
since |
3.9.0 |
---|
Arguments
- $state
\Registry
The state object.
Response
array
prepare
Fire onContentPrepare for content that isn't part of an article.
prepare(string $text, array $params = null, string $context = 'text') : string
static
since |
1.5 |
---|
Arguments
- $text
string
The content to be transformed.- $params
array
The content params.- $context
string
The context of the content to be transformed.
Response
string
The content after transformation.