Property | Type | Description | |
---|---|---|---|
$arrayStatuses | array | ||
$sdfArrayStatuses | array | ||
$tableName | string | ||
$wpdb | wpdb |
Method | Description | |
---|---|---|
__construct ( string $tableName, string $index_name = 'id' ) : _WPDKDBTable | ||
arrayStatusesGroupBy ( ) : array | ||
count ( ) : integer | ||
delete ( array | integer $indexes ) : boolean | integer | ||
query ( string $where = '1' ) : array | null | ||
tableName ( string $tableName ) : string | ||
update ( array | integer $indexes, array $fields ) : boolean | integer |
Method | Description | |
---|---|---|
arrayStatuses ( ) : array | ||
sdfArrayStatuses ( ) : array | ||
updateTable ( string $sql_filename, string $tableName ) |
public __construct ( string $tableName, string $index_name = 'id' ) : _WPDKDBTable | ||
$tableName | string | Table name without WordPress prefix |
$index_name | string | Optional index name, default `id` |
return | _WPDKDBTable |
protected static updateTable ( string $sql_filename, string $tableName ) | ||
$sql_filename | string | Complete path of sql file |
$tableName | string | Simple table name without WordPress Prefix. The WordPress prefix is auto add by this method |