class acp_extensions

Properties

$u_action
$tpl_name
$page_title

Methods

main($id, $mode)

No description

null
list_enabled_exts()

Lists all the enabled extensions and dumps to the template

null
list_disabled_exts()

Lists all the disabled extensions and dumps to the template

null
list_available_exts()

Lists all the available extensions and dumps to the template

sort_extension_meta_data_table($val1, $val2)

Sort helper for the table containing the metadata about the extensions.

null
output_metadata_to_template(array $metadata)

Outputs extension metadata into the template

check_is_enableable(extension_interface $extension)

Checks whether the extension can be enabled. Triggers error if not.

Details

at line 41
main($id, $mode)

No description

Parameters

$id
$mode

at line 399
null list_enabled_exts()

Lists all the enabled extensions and dumps to the template

Return Value

null

at line 470
null list_disabled_exts()

Lists all the disabled extensions and dumps to the template

Return Value

null

at line 539
null list_available_exts()

Lists all the available extensions and dumps to the template

Return Value

null

at line 621
protected sort_extension_meta_data_table($val1, $val2)

Sort helper for the table containing the metadata about the extensions.

Parameters

$val1
$val2

at line 632
null output_metadata_to_template(array $metadata)

Outputs extension metadata into the template

Parameters

array $metadata

Array with all metadata for the extension

Return Value

null

at line 669
protected check_is_enableable(extension_interface $extension)

Checks whether the extension can be enabled. Triggers error if not.

Error message can be set by the extension.

Parameters

extension_interface $extension

Extension to check