diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-21 20:13:28 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-21 20:13:28 +0000 |
commit | 6ec266faa69cd1efeb531d3b1494189989a84293 (patch) | |
tree | cc0f86c570e33959f8b80262125ac7b4883d2352 /core/helpers/module.php | |
parent | 1b834319f4d92c7845ae67236c2e7a1ea66eba6c (diff) |
2nd attempt at inserting html by modules.
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(); + } } |