PHP Interface Inpsyde\MultilingualPress\Database\TableList

Since: 3.0.0
Datei anzeigen Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

Method Description
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.

Method Details

all_tables() public method

Returns an array with the names of all tables.
Since: 3.0.0
public all_tables ( ) : string[]
return string[] The names of all tables.

network_tables() public method

Returns an array with the names of all network tables.
Since: 3.0.0
public network_tables ( ) : string[]
return string[] The names of all network tables.

site_tables() public method

Returns an array with the names of all tables for the site with the given ID.
Since: 3.0.0
public site_tables ( integer $site_id ) : string[]
$site_id integer Site ID.
return string[] The names of all tables for the site with the given ID.