example/Provider/AppContentProvider.php
private function validateBind($table, $data) {
        foreach ($data as $column => $value) {
            if (!$this->isValidInput($table, $column, $value)) {
                return false;
            }
        }
        
        return true;
    }
private function validateBind($table, $data) {
        foreach ($data as $column => $value) {
            if (!$this->isValidInput($table, $column, $value)) {
                return false;
            }
        }
        
        return true;
    }
private function validateBind ( $ table , $ data ) { foreach ( $ data as $ column => $ value ) { if ( ! $ this -> isValidInput ( $ table , $ column , $ value ) ) { return false ; } } return true ; }
Validate a set of columns and values

Wraps isValidInput to check an array of column and values against the table content contracts

@param  string $table table name, used to fetch the content contract
@param  array $data  [description]
@return boolean true if the input values in $data are valid for their given columns
Validate a set of columns and values