Свойство | Тип | Описание | |
---|---|---|---|
$arrayStatuses | array | ||
$sdfArrayStatuses | array | ||
$tableName | string | ||
$wpdb | wpdb |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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` |
Результат | _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 |