Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
extract_tables_from_schema ( string $schema, string $prefix = '' ) : string[] | Extracts all table names (including the given prefix) from the given schema. |
public all_tables ( ) : string[] | ||
return | string[] | The names of all tables. |
public network_tables ( ) : string[] | ||
return | string[] | The names of all network tables. |
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. |