/** * User flash messages displayed in the 'content' part of the page. */ public function contentSummary() { if (MUserFlash::hasContentSuccess() || MUserFlash::hasContentInfo() || MUserFlash::hasContentError()) { $data = array('success' => MUserFlash::getContentSuccess(), 'info' => MUserFlash::getContentInfo(), 'error' => MUserFlash::getContentError()); $this->render('wUserFlash/contentSummary', $data); } }