public function listTables()
    {
        list($sql, $params) = $this->_dialect->listTablesSql($this->_connection->config());
        $result = [];
        $statement = $this->_connection->execute($sql, $params);
        while ($row = $statement->fetch()) {
            $result[] = $row[0];
        }
        $statement->closeCursor();

        return $result;
    }
public function listTables()
    {
        list($sql, $params) = $this->_dialect->listTablesSql($this->_connection->config());
        $result = [];
        $statement = $this->_connection->execute($sql, $params);
        while ($row = $statement->fetch()) {
            $result[] = $row[0];
        }
        $statement->closeCursor();

        return $result;
    }
public function listTables ( ) { list ( $ sql , $ params ) = $ this -> _dialect -> listTablesSql ( $ this -> _connection -> config ( ) ) ; $ result = [ ] ; $ statement = $ this -> _connection -> execute ( $ sql , $ params ) ; while ( $ row = $ statement -> fetch ( ) ) { $ result [ ] = $ row [ 0 ] ; } $ statement -> closeCursor ( ) ; return $ result ; }
Get the list of tables available in the current connection.

@return array The list of tables in the connected database/schema.
Get the list of tables available in the current connection .