example/Provider/AppContentProvider.php
private function validateWhereClause($table, $where) {
        foreach ($where as $column => $value) {
            if (!$this->isInputValid($table, $column, $value)) {
                return false;
            }
        }

        return true;
    }
private function validateWhereClause($table, $where) {
        foreach ($where as $column => $value) {
            if (!$this->isInputValid($table, $column, $value)) {
                return false;
            }
        }

        return true;
    }
private function validateWhereClause ( $ table , $ where ) { foreach ( $ where as $ column => $ value ) { if ( ! $ this -> isInputValid ( $ table , $ column , $ value ) ) { return false ; } } return true ; }
Validate WHERE binding for SQL statement

Checks the type of supplied values for each column against the content contract

@param  string $table table name, used to fetch the content contract
@param  array $where [description]
@return boolean true if where clause is valid
Validate WHERE binding for SQL statement