Class WPDA_Reverse_Engineering

author Peter Schulz
since 2.0.13
package WPDataAccess\Utilities

 Methods

WPDA_Reverse_Engineering constructor

__construct(string $table_name, string $schema_name) 
since 2.0.13

Parameters

$table_name

string

Database table name

$schema_name

string

Database schema name

Get table info in Data Designer format

get_designer_format(string $design_mode) : array
since 2.0.13

Parameters

$design_mode

string

Possible values are: Basic or Advanced

Returns

arrayDatabase table in Data Designer format

Get database column info

get_table_columns() : array
since 2.0.13

Returns

arrayTable column info

Get database index info

get_table_indexes() : array
since 2.0.13

Returns

arrayIndex info

Get database table info

get_table_info() : array
since 2.0.13

Returns

arrayTable info

 Properties

 

Database schema name

$schema_name : string

Default

 

Database table name

$table_name : string

Default

 

Database connection

$wpdadb : null

Default

null