aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_extensions.php
diff options
context:
space:
mode:
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();