PHP Class acp_extensions

Show file Open project: phpbb/phpbb

Public Properties

Property Type Description
$u_action

Public Methods

Method Description
list_available_exts ( phpbb\extension\manager $phpbb_extension_manager ) : null Lists all the available extensions and dumps to the template
list_disabled_exts ( phpbb\extension\manager $phpbb_extension_manager ) : null Lists all the disabled extensions and dumps to the template
list_enabled_exts ( phpbb\extension\manager $phpbb_extension_manager ) : null Lists all the enabled extensions and dumps to the template
main ( )

Protected Methods

Method Description
sort_extension_meta_data_table ( $val1, $val2 ) Sort helper for the table containing the metadata about the extensions.
version_check ( phpbb\extension\metadata_manager $md_manager, boolean $force_update = false, boolean $force_cache = false ) : string Check the version and return the available updates.

Private Methods

Method Description
output_actions ( string $block, array $actions ) Output actions to a block

Method Details

list_available_exts() public method

Lists all the available extensions and dumps to the template
public list_available_exts ( phpbb\extension\manager $phpbb_extension_manager ) : null
$phpbb_extension_manager phpbb\extension\manager An instance of the extension manager
return null

list_disabled_exts() public method

Lists all the disabled extensions and dumps to the template
public list_disabled_exts ( phpbb\extension\manager $phpbb_extension_manager ) : null
$phpbb_extension_manager phpbb\extension\manager An instance of the extension manager
return null

list_enabled_exts() public method

Lists all the enabled extensions and dumps to the template
public list_enabled_exts ( phpbb\extension\manager $phpbb_extension_manager ) : null
$phpbb_extension_manager phpbb\extension\manager An instance of the extension manager
return null

main() public method

public main ( )

sort_extension_meta_data_table() protected method

Sort helper for the table containing the metadata about the extensions.
protected sort_extension_meta_data_table ( $val1, $val2 )

version_check() protected method

Check the version and return the available updates.
protected version_check ( phpbb\extension\metadata_manager $md_manager, boolean $force_update = false, boolean $force_cache = false ) : string
$md_manager phpbb\extension\metadata_manager The metadata manager for the version to check.
$force_update boolean Ignores cached data. Defaults to false.
$force_cache boolean Force the use of the cache. Override $force_update.
return string

Property Details

$u_action public property

public $u_action