public function hasTable($name)
    {
        if (strpos($name, '.') > 0) {
            $name = substr($name, 0, strpos($name, '.'));
        }

        return isset($this->tables[$name]);
    }
public function hasTable($name)
    {
        if (strpos($name, '.') > 0) {
            $name = substr($name, 0, strpos($name, '.'));
        }

        return isset($this->tables[$name]);
    }
public function hasTable ( $ name ) { if ( strpos ( $ name , '.' ) > 0 ) { $ name = substr ( $ name , 0 , strpos ( $ name , '.' ) ) ; } return isset ( $ this -> tables [ $ name ] ) ; }
Does this database contain this specific table?

@param  string  $name The String representation of the table.
@return boolean True if the database contains the table.
Does this database contain this specific table?