/** * User flash messages displayed in the sidebar part of the page. */ public function sidebarSummary() { if (MUserFlash::hasSidebarSuccess() || MUserFlash::hasSidebarInfo() || MUserFlash::hasSidebarError()) { $data = array('in' => $this->in == 'sidebar1' ? 'sidebar1' : 'sidebar2', 'success' => MUserFlash::getSidebarSuccess(), 'info' => MUserFlash::getSidebarInfo(), 'error' => MUserFlash::getSidebarError()); $this->render('wUserFlash/sidebarSummary', $data); } }