ComponentHelper
class ComponentHelper
Component helper class
Methods
static
ComponentRecord
getComponent(
string $option,
boolean $strict = false)
Get the component information.
static
boolean
isEnabled(
string $option)
Checks if the component is enabled
static
integer
isInstalled(
string $option)
Checks if a component is installed
static
Registry
getParams(
string $option,
boolean $strict = false)
Gets the parameter object for the component
static
string
filterText(
string $text)
Applies the global text filters to arbitrary text as per settings for current user groups
static
string
renderComponent(
string $option,
array $params = array())
Render the component.
static
ComponentRecord[]
getComponents()
Get installed components
Details
static
ComponentRecord
getComponent(
string $option,
boolean $strict = false)
Get the component information.
static
Registry
getParams(
string $option,
boolean $strict = false)
Gets the parameter object for the component