예제 #1
0
 /**
  * Get Message Variables
  *
  * Proxies to the decorated validator when this doesn't have any raised 
  * errors of its own.
  *
  * @returns array
  */
 public function getMessageVariables()
 {
     if (empty($this->_errors)) {
         return $this->validator->getMessageVariables();
     } else {
         return array_keys($this->_messageVariables);
     }
 }