Class JLibraryHelper
Methods summary
public static
stdClass
|
#
getLibrary( string $element, boolean $strict = false )
Get the library information.
Get the library information.
Parameters
- $element
string - $element Element of the library in the extensions table.
- $strict
boolean - $strict If set and the library does not exist, the enabled attribute will be set
to false.
Returns
stdClass
- An object with the library's information.
Since
3.2
|
public static
boolean
|
#
isEnabled( string $element )
Checks if a library is enabled
Checks if a library is enabled
Parameters
- $element
string - $element Element of the library in the extensions table.
Returns
boolean
Since
3.2
|
public static
Joomla\Registry\Registry
|
#
getParams( string $element, boolean $strict = false )
Gets the parameter object for the library
Gets the parameter object for the library
Parameters
- $element
string - $element Element of the library in the extensions table.
- $strict
boolean - $strict If set and the library does not exist, false will be returned
Returns
Since
3.2
See
|
public static
Joomla\Registry\Registry
|
#
saveParams( string $element, Joomla\Registry\Registry $params )
Save the parameters object for the library
Save the parameters object for the library
Parameters
- $element
string - $element Element of the library in the extensions table.
- $params
Joomla\Registry\Registry - $params Params to save
Returns
Since
3.2
See
|
protected static
boolean
|
#
_load( string $element )
Load the installed library into the libraries property.
Load the installed library into the libraries property.
Deprecated
4.0 Use JLibraryHelper::loadLibrary() instead
Parameters
- $element
string - $element The element value for the extension
Returns
boolean - True on success
Since
3.2
|
protected static
boolean
|
#
loadLibrary( string $element )
Load the installed library into the libraries property.
Load the installed library into the libraries property.
Parameters
- $element
string - $element The element value for the extension
Returns
boolean - True on success
Since
3.7.0
|
Magic methods summary
Properties summary
protected static
array
|
$libraries
|
#
The component list cache
Since
3.2
|