PHP 클래스 Inpsyde\MultilingualPress\Database\WPDBTableList

부터: 3.0.0
상속: implements Inpsyde\MultilingualPress\Database\TableList
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__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.