class acp_extensions

Properties

$u_action

Methods

main($id, $mode)

No description

main_mode($id, $mode)

No description

catalog_mode(string $id, string $mode)

Handles the catalog mode of the extensions list

void
list_enabled_exts(manager $phpbb_extension_manager, array $managed_packages)

Lists all the enabled extensions and dumps to the template

void
list_disabled_exts(manager $phpbb_extension_manager, array $managed_packages)

Lists all the disabled extensions and dumps to the template

void
list_available_exts(array $managed_packages)

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.

void
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 53
main($id, $mode)

No description

Parameters

$id
$mode

at line 83
main_mode($id, $mode)

No description

Parameters

$id
$mode

at line 444
catalog_mode(string $id, string $mode)

Handles the catalog mode of the extensions list

Parameters

string $id
string $mode

at line 772
void list_enabled_exts(manager $phpbb_extension_manager, array $managed_packages)

Lists all the enabled extensions and dumps to the template

Parameters

manager $phpbb_extension_manager

An instance of the extension manager

array $managed_packages

List of managed packages

Return Value

void

at line 855
void list_disabled_exts(manager $phpbb_extension_manager, array $managed_packages)

Lists all the disabled extensions and dumps to the template

Parameters

manager $phpbb_extension_manager

An instance of the extension manager

array $managed_packages

List of managed packages

Return Value

void

at line 935
void list_available_exts(array $managed_packages)

Lists all the available extensions and dumps to the template

Parameters

array $managed_packages

List of managed packages

Return Value

void

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

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

Parameters

$val1
$val2

at line 1031
void output_metadata_to_template(array $metadata)

Outputs extension metadata into the template

Parameters

array $metadata

Array with all metadata for the extension

Return Value

void

at line 1068
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