public function isValid() {
		
		$valid = TRUE;
		
		foreach ($this->controls as $control) {
			
			if (!$control->validate()) {
				$valid = FALSE;
			}
			
		}
		
		return $valid;
		
	}
public function isValid() {
		
		$valid = TRUE;
		
		foreach ($this->controls as $control) {
			
			if (!$control->validate()) {
				$valid = FALSE;
			}
			
		}
		
		return $valid;
		
	}
public function isValid ( ) { $ valid = TRUE ; foreach ( $ this -> controls as $ control ) { if ( ! $ control -> validate ( ) ) { $ valid = FALSE ; } } return $ valid ; }
Validates all form field controls and returns a FormValidation result object.

@return	bool
Validates all form field controls and returns a FormValidation result object .