Core/Orm/Validation/Validation.php
public function file($field, $label) {
        $file = new File($this->_entity, $field, $label);
        array_push($this->_elements, $file);

        return $file;
    }
public function file($field, $label) {
        $file = new File($this->_entity, $field, $label);
        array_push($this->_elements, $file);

        return $file;
    }
public function file ( $ field , $ label ) { $ file = new File ( $ this -> _entity , $ field , $ label ) ; array_push ( $ this -> _elements , $ file ) ; return $ file ; }
add file element
@access public
@param $field string
@param $label string
@return \Gcs\Framework\Core\Orm\Validation\Element\File
@since 3.0
@package Gcs\Framework\Core\Orm\Validation
add file element