class JHtmlContent

Utility class to fire onContentPrepare for non-article based content.

Methods

static  string
prepare( string $text, array $params = null, string $context = 'text')

Fire onContentPrepare for content that isn't part of an article.

static  array
months( Registry $state)

Returns an array of months.

Details

static string prepare( string $text, array $params = null, string $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.

Return Value

string The content after transformation.

static array months( Registry $state)

Returns an array of months.

Parameters

Registry $state The state object.

Return Value

array