Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function acceptExposedInput($input)
 {
     $rc = parent::acceptExposedInput($input);
     if ($rc) {
         // If we have previously validated input, override.
         if ($this->validatedExposedInput) {
             $this->value = $this->validatedExposedInput;
         }
     }
     return $rc;
 }