Пример #1
0
 public function showMessage($text, $type)
 {
     $this->getLog()->deprecated();
     if ($type === \Nethgui\Module\Notification\AbstractNotification::NOTIFY_ERROR) {
         $this->userNotifications->error($text);
     } else {
         $this->userNotifications->info($text);
     }
 }