Ejemplo n.º 1
0
 protected function init()
 {
     parent::init();
     $this->setMessage(self::ERROR_REQUIRED, _w('%subject% URL must not be empty'));
     $this->setMessage(self::ERROR_URL_IN_USE, _w('%subject% URL is in use. Please enter another URL'));
     $this->setMessage(self::ERROR_INVALID, _w('%subject% URL is invalid'));
 }
Ejemplo n.º 2
0
 protected function init()
 {
     parent::init();
     $this->setMessage('not_match', _ws('Not match.'));
 }