onOffice WP Plugin

DefaultValueDelete
in package

Table of Contents

$_pWPDB  : wpdb
__construct()  : mixed
deleteByFormIdAndFieldNames()  : mixed
deleteSingleDefaultValueByFieldname()  : mixed
deleteSingleDefaultValueById()  : mixed
getBaseDeleteQuery()  : string

Properties

Methods

__construct()

public __construct(wpdb $pWPDB) : mixed
Parameters
$pWPDB : wpdb
Return values
mixed

deleteByFormIdAndFieldNames()

public deleteByFormIdAndFieldNames(int $formId, array<string|int, mixed> $fieldNames) : mixed
Parameters
$formId : int
$fieldNames : array<string|int, mixed>
Tags
throws
DefaultValueDeleteException
Return values
mixed

deleteSingleDefaultValueByFieldname()

public deleteSingleDefaultValueByFieldname(int $formId, string $fieldname[, string $locale = null ]) : mixed
Parameters
$formId : int
$fieldname : string
$locale : string = null
Tags
throws
DefaultValueDeleteException
Return values
mixed

getBaseDeleteQuery()

private getBaseDeleteQuery() : string
Return values
string

Search results