프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |