public function hasFileUpload()
    {
        $returnValue = false;

		foreach($this->elements as $element){
			if($element instanceof tao_helpers_form_elements_File){
				 $returnValue = true;
				 break;
			}
		}

        return $returnValue;
    }
public function hasFileUpload()
    {
        $returnValue = false;

		foreach($this->elements as $element){
			if($element instanceof tao_helpers_form_elements_File){
				 $returnValue = true;
				 break;
			}
		}

        return $returnValue;
    }
public function hasFileUpload ( ) { $ returnValue = false ; foreach ( $ this -> elements as $ element ) { if ( $ element instanceof tao_helpers_form_elements_File ) { $ returnValue = true ; break ; } } return $ returnValue ; }
Check if the form contains a file upload element

@access public
@author Cédric Alfonsi, <cedric.alfonsi@tudor.lu>
@return boolean
Check if the form contains a file upload element