core/classes/DataModel.class.php
public final function verifyOnly($fields){

        foreach($fields as $k){
            $this->verifyData($k);
        }//foreach

        if(count($this->errors)){
            return false;
        }//if

        return true;

    }
public final function verifyOnly($fields){

        foreach($fields as $k){
            $this->verifyData($k);
        }//foreach

        if(count($this->errors)){
            return false;
        }//if

        return true;

    }
public final function verifyOnly ( $ fields ) { foreach ( $ fields as $ k ) { $ this -> verifyData ( $ k ) ; } //foreach if ( count ( $ this -> errors ) ) { return false ; } //if return true ; }
Verify only the passed fields data. This comes in handy when you only want to verify a subset of the data
models definition.

@param array $fields The field data keys to verify.

@return boolean Whether the data in the passed fields passed verification.
Verify only the passed fields data . This comes in handy when you only want to verify a subset of the data models definition .