Ejemplo n.º 1
0
 /**
  * User flash messages displayed in the 'sidebar1' part of the page.
  */
 public function sidebar1Summary()
 {
     if (MUserFlash::hasSidebar1Success() || MUserFlash::hasSidebar1Info() || MUserFlash::hasSidebar1Error()) {
         $data = array('success' => MUserFlash::getSidebar1Success(), 'info' => MUserFlash::getSidebar1Info(), 'error' => MUserFlash::getSidebar1Error());
         $this->render('wUserFlash/sidebar1Summary', $data);
     }
 }