PHP Класс Inpsyde\MultilingualPress\Database\WPDBTableList

С версии: 3.0.0
Наследование: implements Inpsyde\MultilingualPress\Database\TableList
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ) Constructor. Sets up the properties.
all_tables ( ) : string[] Returns an array with the names of all tables.
network_tables ( ) : string[] Returns an array with the names of all network tables.
site_tables ( integer $site_id ) : string[] Returns an array with the names of all tables for the site with the given ID.

Приватные методы

Метод Описание
extract_tables_from_schema ( string $schema, string $prefix = '' ) : string[] Extracts all table names (including the given prefix) from the given schema.

Описание методов

__construct() публичный метод

Constructor. Sets up the properties.
С версии: 3.0.0
public __construct ( )

all_tables() публичный метод

Returns an array with the names of all tables.
С версии: 3.0.0
public all_tables ( ) : string[]
Результат string[] The names of all tables.

network_tables() публичный метод

Returns an array with the names of all network tables.
С версии: 3.0.0
public network_tables ( ) : string[]
Результат string[] The names of all network tables.

site_tables() публичный метод

Returns an array with the names of all tables for the site with the given ID.
С версии: 3.0.0
public site_tables ( integer $site_id ) : string[]
$site_id integer Site ID.
Результат string[] The names of all tables for the site with the given ID.