mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/10631] Adding docblocks
PHPBB3-10631
This commit is contained in:
committed by
Unknown Bliss
parent
dd4f07f9bb
commit
0c18b16e28
@@ -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)
|
private function list_enabled_exts($db, $template)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT ext_name
|
$sql = 'SELECT ext_name
|
||||||
@@ -148,6 +155,13 @@ class acp_extensions
|
|||||||
return;
|
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)
|
private function list_disabled_exts($db, $template)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT ext_name
|
$sql = 'SELECT ext_name
|
||||||
@@ -172,6 +186,13 @@ class acp_extensions
|
|||||||
return;
|
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)
|
function list_available_exts($phpbb_extension_manager, $template)
|
||||||
{
|
{
|
||||||
$phpbb_extension_manager->load_extensions();
|
$phpbb_extension_manager->load_extensions();
|
||||||
|
Reference in New Issue
Block a user