public function validateAsRequiredFields(array $fields) {
		foreach ($fields as $v) {
			$options = $this->fields[$v];
			$options['options']['required'] = true;
			$this->validateRequiredOneField($this->values[$v], $v, $options);
		}
	}
public function validateAsRequiredFields(array $fields) {
		foreach ($fields as $v) {
			$options = $this->fields[$v];
			$options['options']['required'] = true;
			$this->validateRequiredOneField($this->values[$v], $v, $options);
		}
	}
public function validateAsRequiredFields ( array $ fields ) { foreach ( $ fields as $ v ) { $ options = $ this -> fields [ $ v ] ; $ options [ 'options' ] [ 'required' ] = true ; $ this -> validateRequiredOneField ( $ this -> values [ $ v ] , $ v , $ options ) ; } }
Validate as required

@param array $fields
Validate as required