summaryrefslogtreecommitdiffstats
path: root/inc/module.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2020-09-17 16:36:05 +0200
committerSimon Rettberg2020-09-17 16:36:05 +0200
commitd1b915064e61614c3979eaad3f24c06b573a0024 (patch)
treed14d35e9e0b2f9e4e42a291cc9c34d5cf6a6e103 /inc/module.inc.php
parent[exams/runmode/remoteaccess] Tweak baseconfig hook (runmode/format) (diff)
downloadslx-admin-d1b915064e61614c3979eaad3f24c06b573a0024.tar.gz
slx-admin-d1b915064e61614c3979eaad3f24c06b573a0024.tar.xz
slx-admin-d1b915064e61614c3979eaad3f24c06b573a0024.zip
[Module] Add phpdoc
Diffstat (limited to 'inc/module.inc.php')
-rw-r--r--inc/module.inc.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/inc/module.inc.php b/inc/module.inc.php
index 5525c0a4..55713cd0 100644
--- a/inc/module.inc.php
+++ b/inc/module.inc.php
@@ -10,7 +10,12 @@ class Module
* @var \Module[]
*/
private static $modules = false;
-
+
+ /**
+ * @param string $name ID/Internal name of module
+ * @param false $ignoreDepFail whether to return the module even if some of its dependencies failed
+ * @return false|Module
+ */
public static function get($name, $ignoreDepFail = false)
{
if (!isset(self::$modules[$name]))