Пример #1
0
 function __construct()
 {
     parent::__construct(kgettext('Search.'), kgettext('Search keyword not set or too short.'));
 }
Пример #2
0
 public function __construct($text)
 {
     $_['title'] = kgettext('Programmer is not paranoic!');
     $_['text'] = kgettext('This shit finally happen: %s. Thats it.');
     $_['text'] = sprintf($_['text'], $text);
     $_['image'] = Config::DIR_PATH . '/img/exceptions/default.png';
     $this->message_data = $_;
     parent::__construct($_['text']);
 }