Pop\Db\Adapter\Mysqli::loadTables PHP Method

loadTables() protected method

Get an array of the tables of the database.
protected loadTables ( ) : array
return array
    protected function loadTables()
    {
        $tables = array();
        $this->query('SHOW TABLES');
        while (($row = $this->fetch()) != false) {
            foreach ($row as $value) {
                $tables[] = $value;
            }
        }
        return $tables;
    }