public function validatesUploadedFile($validate = null)
    {
        if (func_num_args() === 0)
        {
            return $this->validatesUploadedFile;
        }

        return $this->validatesUploadedFile = (bool)$validate;
    }
public function validatesUploadedFile($validate = null)
    {
        if (func_num_args() === 0)
        {
            return $this->validatesUploadedFile;
        }

        return $this->validatesUploadedFile = (bool)$validate;
    }
public function validatesUploadedFile ( $ validate = null ) { if ( func_num_args ( ) === 0 ) { return $ this -> validatesUploadedFile ; } return $ this -> validatesUploadedFile = ( bool ) $ validate ; }
Sets and gets validation mode

@param bool $validate
@return bool
Sets and gets validation mode