Returns a list of table names

@return string[]
436862
public function getTables()
    {
        if (is_null($this->_tables)) {

            $result = $this->_adapter->query(
                $this->_getTablesSql,
                [$this->_adapter->getSchemaName()]
            );

            $names = [];
            foreach ($result as $table) {
                $names[] = $table['TABLE_NAME'];
            }
            $this->_tables = $names;
        }
        return $this->_tables;
    }
870671
public function getTables()
    {
        $this->currentQueryIsMaster = false;
        $stmt = $this->prepare('SHOW TABLES;', $this->rlink);
        $this->execute($stmt);

        $tables = [];
        while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
            $tables[] = $row['Tables_in_' . $this->conf['master']['dbname']];
        }
        return $tables;
    }
1355759
public function getTablesForSql()
    {
        $tables = [];
        foreach ($this->tables as $table) {
            if (!$table->isSkipSql()) {
                $tables[] = $table;
            }
        }

        return $tables;
    }
408948
public function getRequiredFieldNames()
    {
        $results = [];
        if (!isset($this->data['fields']) || empty($this->data['fields'])) {
            return $results;
        }

        $table = $this->data['name'];
        foreach ($this->data['fields'] as $field) {
            $name = $table . '_' . $field['name'];
            if (!isset($field['validation'])) {
                continue;
            }

            foreach ($field['validation'] as $validation) {
                if ($validation['method'] === 'required') {
                    $results[] = $name;
                    break;
                }
            }
        }

        return $results;
    }
192317
private function getColumns()
    {
        $table = $this->table->connect($this->database, Inflector::tabilize($this->tableName));

        return $table->getColumns();
    }
738754
private function getDbTables()
    {
        $oDB = \OxidEsales\Eshop\Core\DatabaseProvider::getMaster(\OxidEsales\Eshop\Core\DatabaseProvider::FETCH_MODE_NUM);
        $aTables = $oDB->getCol("SHOW TABLES");

        foreach ($aTables as $iKey => $sTable) {
            if (strpos($sTable, 'oxv_') === 0) {
                unset($aTables[$iKey]);
            }
        }

        return $aTables;
    }
529744
protected function getColumnNames()
    {
        $names = array();
        $columns = $this->db->getSchemaManager()->listTableColumns($this->table);

        if (count($columns) == 0) {
            $schema = $this->schema ?: $this->app['db.schema'];
            $fullTable = $schema.".".$this->table;
            $columns = $this->db->getSchemaManager()->listTableColumns($fullTable);
        }

        foreach ($columns as $column) {
            $names[] = $column->getName();
        }

        return $names;
    }
187704
public function table()
    {
        if (!$this->_properties['table_name']) {
            $class = explode('\\', get_called_class());
            $this->_properties['table_name'] = Instance::snakecase(lcfirst(end($class)));
        }

        return $this->_properties['table_name'];
    }
1203962
private function getBaseTables() {
    $base_tables = [];

    /** @var array[] $wizard_plugins */
    $wizard_plugins = $this->viewsWizardManager->getDefinitions();
    foreach ($wizard_plugins as $wizard) {
      if (!array_key_exists('base_table', $wizard)) {
        continue;
      }
      $base_tables[$wizard['base_table']] = (string) $wizard['title'];
    }

    return $base_tables;
  }
1218979
public function tableNames()
    {
        return collect(DB::select($this->getQuery()))
                    ->pluck('name')->reject(function ($name) {
                        return $this->skips()->contains($name);
                    });
    }
670838
private function getTables($tables)
    {
        $names = '';
        $i = 0;

        foreach ($tables as $table) {
            $names .= $table;
            $i++;

            if (count($tables) > $i) {
                $names .= ',';
            }
        }

        return $names;
    }
1024110
public function listTables()
    {
        $nextTableName = null;
        $tables = array();

        do {
            $options = new QueryTablesOptions();
            $options->setNextTableName($nextTableName);
            $result = $this->_tableProxy->queryTables();
            $nextTableName = $result->getNextTableName();
            $tables = array_merge($tables, $result->getTables());
        } while (!is_null($nextTableName));

        return $tables;
    }
302719
public function getTables()
    {
        $tables = [
            0 => [
                'group' => 'Post Type',
                'options' => []
            ],
            1 => [
                'group' => 'Others',
                'options' => [
                    ['label' => 'Users', 'name' => 'users', 'belongsTo' => 'User'],
                ]
            ]
        ];
        // loop throw post types
        foreach(PostType::all() as $postType){
            $tables[0]['options'][] = ['label' => $postType['name'], 'name' => $postType['slug'], 'belongsTo' => 'PostType'];
        }
        return $tables;
    }
1334930
public function getTableColumns(): array
    {
        $columns = [
            'country_id' => $this->headerText(trans('HCRegion::regions_city.country_id')),
            'translation.label' => $this->headerText(trans('HCRegion::regions_city.label')),
            'visible' => $this->headerCheckBox(trans('HCRegion::regions_city.visible')),
        ];

        return $columns;
    }
1349590
public function getTables(): array
	{
		$result = [];
		$tables = $this->context->getStructure()->getTables();
		foreach ($tables as $table) {
			$result[] = $table['name'];
		}
		return $result;
	}
493434
protected function getTables(): array
    {
        $result = [];
        $sql = "SELECT *
            FROM
                information_schema.tables AS t,
                information_schema.collation_character_set_applicability AS ccsa
            WHERE
                ccsa.collation_name = t.table_collation
                AND t.table_schema=database()
                AND t.table_type = 'BASE TABLE'";

        $rows = $this->queryFetchAll($sql);

        foreach ($rows as $row) {
            $result[] = [
                'table_name' => $row['TABLE_NAME'],
                'engine' => $row['ENGINE'],
                'table_comment' => $row['TABLE_COMMENT'],
                'table_collation' => $row['TABLE_COLLATION'],
                'character_set_name' => $row['CHARACTER_SET_NAME'],
                'row_format' => $row['ROW_FORMAT'],
            ];
        }

        return $result;
    }
916285
public function listTableNames()
    {
        $sql = $this->_platform->getListTablesSQL();

        $tables     = $this->_conn->fetchAll($sql);
        $tableNames = $this->_getPortableTablesList($tables);

        return $this->filterAssetNames($tableNames);
    }