diff options
author | Christian Hofmaier | 2020-10-13 18:24:41 +0200 |
---|---|---|
committer | Christian Hofmaier | 2020-10-13 18:24:41 +0200 |
commit | 6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0 (patch) | |
tree | 1b25330880065efa168cb5c69773d545df7cfc01 /inc/module.inc.php | |
parent | [locationinfo] add forward link to location module (diff) | |
parent | [dozmod] Implement deleting orphaned files from vm store (diff) | |
download | slx-admin-6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0.tar.gz slx-admin-6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0.tar.xz slx-admin-6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin
merge branch 'master'
Diffstat (limited to 'inc/module.inc.php')
-rw-r--r-- | inc/module.inc.php | 7 |
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])) |