diff options
Diffstat (limited to 'core/helpers/module.php')
-rw-r--r-- | core/helpers/module.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/helpers/module.php b/core/helpers/module.php index 8e6ef3ac..7916e07d 100644 --- a/core/helpers/module.php +++ b/core/helpers/module.php @@ -48,4 +48,8 @@ class Module_Core { public static function is_installed($module_name) { return ORM::factory("module")->where("name", $module_name)->find()->loaded; } + + public static function get_list() { + return ORM::factory("module")->find_all(); + } } |