example/Provider/AppContentProvider.php
private function validateTableAndCol ($table, $columns) {
        if (!$this->isValidTable($table)) {
            return false;
        }
        
        foreach ($columns as $column) {
            if (!$this->isValidColumn($table, $column)) {
                return false;
            }
        }

        return true;
    }
private function validateTableAndCol ($table, $columns) {
        if (!$this->isValidTable($table)) {
            return false;
        }
        
        foreach ($columns as $column) {
            if (!$this->isValidColumn($table, $column)) {
                return false;
            }
        }

        return true;
    }
private function validateTableAndCol ( $ table , $ columns ) { if ( ! $ this -> isValidTable ( $ table ) ) { return false ; } foreach ( $ columns as $ column ) { if ( ! $ this -> isValidColumn ( $ table , $ column ) ) { return false ; } } return true ; }
Wrapper function to validate a table and columns

@param  string $table   table name, used to fetch the content contract
@param  array $columns [description]
@return boolean true if the table and column names are correct
Wrapper function to validate a table and columns