From 6ec266faa69cd1efeb531d3b1494189989a84293 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 21 Nov 2008 20:13:28 +0000 Subject: 2nd attempt at inserting html by modules. --- core/helpers/module.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/helpers/module.php') 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(); + } } -- cgit v1.2.3