Пример #1
0
 public function getSets()
 {
     $sets = parent::getSets();
     $session = Application::getFacadeApplication()->make('session');
     if ($session->getFlashBag()->has('page_message')) {
         $value = $session->getFlashBag()->get('page_message');
         foreach ($value as $message) {
             $sets[$message[0]] = $message[1];
             $sets[$message[0] . 'IsHTML'] = isset($message[2]) && $message[2];
         }
     }
     return $sets;
 }
Пример #2
0
 public function getSets()
 {
     return parent::getSets();
 }