示例#1
0
 /**
  * User flash messages displayed in the 'sidebar2' part of the page.
  */
 public function sidebar2Summary()
 {
     if (MUserFlash::hasSidebar2Success() || MUserFlash::hasSidebar2Info() || MUserFlash::hasSidebar2Error()) {
         $data = array('success' => MUserFlash::getSidebar2Success(), 'info' => MUserFlash::getSidebar2Info(), 'error' => MUserFlash::getSidebar2Error());
         $this->render('wUserFlash/sidebar2Summary', $data);
     }
 }