ContentHelper
class ContentHelper
Helper for standard content style extensions.
This class mainly simplifies static helper methods often repeated in individual components
Methods
static
void
addSubmenu(
string $vName)
Configure the Linkbar. Must be implemented by each extension.
static
stdClass[]
countRelations(
stdClass[] $items,
stdClass $config)
Adds Count relations for Category and Tag Managers
static
JObject
_getActions(
integer $categoryId,
integer $id,
string $assetName = '')
Gets a list of the actions that can be performed.
static
JObject
getActions(
string $component = '',
string $section = '',
integer $id)
Gets a list of the actions that can be performed.
static
string
getCurrentLanguage(
boolean $detectBrowser = true)
Gets the current language
static
integer
getLanguageId(
string $langCode)
Gets the associated language ID
array
Details
static
void
addSubmenu(
string $vName)
Configure the Linkbar. Must be implemented by each extension.
static
stdClass[]
countRelations(
stdClass[] $items,
stdClass $config)
Adds Count relations for Category and Tag Managers
static
JObject
_getActions(
integer $categoryId,
integer $id,
string $assetName = '')
Gets a list of the actions that can be performed.