aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_extensions.php
diff options
context:
space:
mode:
authorMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-05-20 14:25:51 +0100
committerUnknown Bliss <m@michaelcullum.com>2012-09-01 15:05:06 +0100
commit0c18b16e284bef904943697561c6749511ac35ba (patch)
tree77d6ffd7d7711599742237adc045285f7ccd793b /phpBB/includes/acp/acp_extensions.php
parentdd4f07f9bb864bdac8b6c4009d166f1df6411419 (diff)
downloadforums-0c18b16e284bef904943697561c6749511ac35ba.tar
forums-0c18b16e284bef904943697561c6749511ac35ba.tar.gz
forums-0c18b16e284bef904943697561c6749511ac35ba.tar.bz2
forums-0c18b16e284bef904943697561c6749511ac35ba.tar.xz
forums-0c18b16e284bef904943697561c6749511ac35ba.zip
[ticket/10631] Adding docblocks
PHPBB3-10631
Diffstat (limited to 'phpBB/includes/acp/acp_extensions.php')
-rw-r--r--phpBB/includes/acp/acp_extensions.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index d52a65da67..7e3792c1c5 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -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();