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; }