PHP Class acp_extensions

Afficher le fichier Open project: phpbb/phpbb

Méthodes publiques

Свойство Type Description
$u_action

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode 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

Méthode Description
output_actions ( string $block, array $actions ) Output actions to a block

Method Details

list_available_exts() public méthode

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
Résultat null

list_disabled_exts() public méthode

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
Résultat null

list_enabled_exts() public méthode

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
Résultat null

main() public méthode

public main ( )

sort_extension_meta_data_table() protected méthode

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

version_check() protected méthode

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.
Résultat string

Property Details

$u_action public_oe property

public $u_action