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