+ private function trig($msg, $type = 'errors')
+ {
+ if (!isset($this->_errors[$type])) {
+ $this->_errors[$type] = array();
+ }
+ $this->_errors[$type][] = $msg;
+ }
+
+ public function trigError($msg)
+ {
+ $this->trig($msg, 'errors');
+ }
+
+ public function trigWarning($msg)
+ {
+ $this->trig($msg, 'warnings');
+ }
+
+ public function trigSuccess($msg)