PMA\libraries\DatabaseInterface::getVirtualTables PHP Méthode

getVirtualTables() public méthode

Get VIEWs in a particular database
public getVirtualTables ( string $db ) : array
$db string Database name to look in
Résultat array $views Set of VIEWs inside the database
    public function getVirtualTables($db)
    {
        $tables_full = $this->getTablesFull($db);
        $views = array();
        foreach ($tables_full as $table => $tmp) {
            $_table = $this->getTable($db, $table);
            if ($_table->isView()) {
                $views[] = $table;
            }
        }
        return $views;
    }