From bdc0876fa86e29ee439e69024f6f476c49886b99 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 22 Dec 2008 06:50:20 +0000 Subject: Add messaging system for reporting actions back to the user. Make module install/uninstall work and tie it into the messaging system. --- core/libraries/Theme_View.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/libraries/Theme_View.php') diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 3144ca2a..030e564d 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -84,6 +84,13 @@ class Theme_View_Core extends View { return $this->pagination->render(); } + /** + * Print out any messages waiting for this user. + */ + public function messages() { + return message::get(); + } + /** * Handle all theme functions that insert module content. */ -- cgit v1.2.3