mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10631] Adding docblocks
PHPBB3-10631
This commit is contained in:
parent
dd4f07f9bb
commit
0c18b16e28
1 changed files with 21 additions and 0 deletions
|
@ -125,6 +125,13 @@ class acp_extensions
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all the enabled extensions and dumps to the template
|
||||
*
|
||||
* @param $db A database connection
|
||||
* @param $template An instance of the template engine
|
||||
* @return null
|
||||
*/
|
||||
private function list_enabled_exts($db, $template)
|
||||
{
|
||||
$sql = 'SELECT ext_name
|
||||
|
@ -148,6 +155,13 @@ class acp_extensions
|
|||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all the disabled extensions and dumps to the template
|
||||
*
|
||||
* @param $db A database connection
|
||||
* @param $template An instance of the template engine
|
||||
* @return null
|
||||
*/
|
||||
private function list_disabled_exts($db, $template)
|
||||
{
|
||||
$sql = 'SELECT ext_name
|
||||
|
@ -172,6 +186,13 @@ class acp_extensions
|
|||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all the available extensions and dumps to the template
|
||||
*
|
||||
* @param $db A database connection
|
||||
* @param $template An instance of the template engine
|
||||
* @return null
|
||||
*/
|
||||
function list_available_exts($phpbb_extension_manager, $template)
|
||||
{
|
||||
$phpbb_extension_manager->load_extensions();
|
||||
|
|
Loading…
Add table
Reference in a new issue