DefaultValueDelete
Table of Contents
-
$_pWPDB
: wpdb
-
__construct()
: mixed
-
deleteByFormIdAndFieldNames()
: mixed
-
deleteSingleDefaultValueByFieldname()
: mixed
-
deleteSingleDefaultValueById()
: mixed
-
getBaseDeleteQuery()
: string
$_pWPDB
private
wpdb
$_pWPDB
__construct()
public
__construct(wpdb $pWPDB) : mixed
Parameters
-
$pWPDB
: wpdb
-
Return values
mixed
—
public
deleteByFormIdAndFieldNames(int $formId, array<string|int, mixed> $fieldNames) : mixed
Parameters
-
$formId
: int
-
-
$fieldNames
: array<string|int, mixed>
-
-
throws
-
DefaultValueDeleteException
Return values
mixed
—
deleteSingleDefaultValueByFieldname()
public
deleteSingleDefaultValueByFieldname(int $formId, string $fieldname[, string $locale = null ]) : mixed
Parameters
-
$formId
: int
-
-
$fieldname
: string
-
-
$locale
: string
= null
-
-
throws
-
DefaultValueDeleteException
Return values
mixed
—
deleteSingleDefaultValueById()
public
deleteSingleDefaultValueById(int $defaultId) : mixed
Parameters
-
$defaultId
: int
-
-
throws
-
DefaultValueDeleteException
Return values
mixed
—
getBaseDeleteQuery()
private
getBaseDeleteQuery() : string
Return values
string
—