public function getTable($tableName, array $map = null)
    {
        if (($map === null) && (is_string($tableName))) {
            if (isset($this->cacheTables[$tableName])) {
                $table = $this->cacheTables[$tableName];
            } else {
                $table = new Table($this, $tableName);
                $this->cacheTables[$tableName] = $table;
            }
        } else {
            $table = new Table($this, $tableName, $map);
        }
        return $table;
    }
public function getTable($tableName, array $map = null)
    {
        if (($map === null) && (is_string($tableName))) {
            if (isset($this->cacheTables[$tableName])) {
                $table = $this->cacheTables[$tableName];
            } else {
                $table = new Table($this, $tableName);
                $this->cacheTables[$tableName] = $table;
            }
        } else {
            $table = new Table($this, $tableName, $map);
        }
        return $table;
    }
public function getTable ( $ tableName , array $ map = null ) { if ( ( $ map === null ) && ( is_string ( $ tableName ) ) ) { if ( isset ( $ this -> cacheTables [ $ tableName ] ) ) { $ table = $ this -> cacheTables [ $ tableName ] ; } else { $ table = new Table ( $ this , $ tableName ) ; $ this -> cacheTables [ $ tableName ] = $ table ; } } else { $ table = new Table ( $ this , $ tableName , $ map ) ; } return $ table ; }
Returns an object for a table access

@param string $tableName
a table name
@param array $map [optional]
a map (a key => a real table column)
@return \go\DB\Table
a "table" instance
Returns an object for a table access