public function getTable($name)
    {
        if ($name != strtolower($name)) {
            throw new \DomainException('Table name must be lowercase: ' . $name);
        }

        if (!isset($this->_tables[$name])) {
            $class = 'Nada\Table\\' . $this->getDbmsSuffix();
            $this->_tables[$name] = new $class($this, $name);
        }
        return $this->_tables[$name];
    }
public function getTable($name)
    {
        if ($name != strtolower($name)) {
            throw new \DomainException('Table name must be lowercase: ' . $name);
        }

        if (!isset($this->_tables[$name])) {
            $class = 'Nada\Table\\' . $this->getDbmsSuffix();
            $this->_tables[$name] = new $class($this, $name);
        }
        return $this->_tables[$name];
    }
public function getTable ( $ name ) { if ( $ name != strtolower ( $ name ) ) { throw new \ DomainException ( 'Table name must be lowercase: ' . $ name ) ; } if ( ! isset ( $ this -> _tables [ $ name ] ) ) { $ class = 'Nada\Table\\' . $ this -> getDbmsSuffix ( ) ; $ this -> _tables [ $ name ] = new $ class ( $ this , $ name ) ; } return $ this -> _tables [ $ name ] ; }
Get access to a specific table

The returned object provides access to the given table and its associated
database objects (columns etc.). The result is cached internally, so that
subsequent calls won't hurt performance.
@param string $name Table name (lowercase). An exception gets thrown if the name does not exist.
@return \Nada\Table\AbstractTable Table object
@throws \DomainException if $name is not lowercase
Get access to a specific table