Pimcore\Backup::getTables PHP Метод

getTables() защищенный Метод

protected getTables ( ) : array
Результат array
    protected function getTables()
    {
        $db = Db::get();
        if ($mysqlTables = $this->options['mysql-tables']) {
            $specificTables = explode(',', $mysqlTables);
            $databaseName = (string) \Pimcore\Config::getSystemConfig()->database->params->dbname;
            $query = "SHOW FULL TABLES where `Tables_in_" . $databaseName . "` IN(" . implode(',', wrapArrayElements($specificTables)) . ')';
        } else {
            $query = "SHOW FULL TABLES";
        }
        $tables = $db->fetchAll($query);
        return $tables;
    }