Пример #1
0
 /**
  * Binds the form with input values.
  *
  * It triggers the validator schema validation.
  *
  * @param array $taintedValues  An array of input values
  * @param array $taintedFiles   An array of uploaded files (in the $_FILES or $_GET format)
  */
 public function bind(array $taintedValues = null, array $taintedFiles = null)
 {
     $this->addOptionalForms($taintedValues);
     return parent::bind($taintedValues, $taintedFiles);
 }
Пример #2
0
 /**
  *  To be called when a form inherits this form
  */
 public function bind(array $taintedValues = null, array $taintedFiles = null)
 {
     $this->fixEmbedded($taintedValues);
     parent::bind($taintedValues, $taintedFiles);
 }