DefaultValueRead
in package
Reads default values as defined in WP, not onOffice enterprise
Table of Contents
- $_pWPDB : wpdb
- __construct() : mixed
- readDefaultValuesBool() : DefaultValueModelBool
- readDefaultValuesMultiSelect() : DefaultValueModelMultiselect
- readDefaultValuesNumericRange() : DefaultValueModelNumericRange
- readDefaultValuesSingleselect() : DefaultValueModelSingleselect
- readDefaultValuesText() : DefaultValueModelText
- createBaseQuery() : string
Properties
$_pWPDB
private
wpdb
$_pWPDB
Methods
__construct()
public
__construct(wpdb $pWPDB) : mixed
Parameters
- $pWPDB : wpdb
Return values
mixed —readDefaultValuesBool()
public
readDefaultValuesBool(int $formId, Field $pField) : DefaultValueModelBool
Parameters
- $formId : int
- $pField : Field
Return values
DefaultValueModelBool —readDefaultValuesMultiSelect()
public
readDefaultValuesMultiSelect(int $formId, Field $pField) : DefaultValueModelMultiselect
Parameters
- $formId : int
- $pField : Field
Return values
DefaultValueModelMultiselect —readDefaultValuesNumericRange()
public
readDefaultValuesNumericRange(int $formId, Field $pField) : DefaultValueModelNumericRange
Parameters
- $formId : int
- $pField : Field
Return values
DefaultValueModelNumericRange —readDefaultValuesSingleselect()
public
readDefaultValuesSingleselect(int $formId, Field $pField) : DefaultValueModelSingleselect
Parameters
- $formId : int
- $pField : Field
Return values
DefaultValueModelSingleselect —readDefaultValuesText()
public
readDefaultValuesText(int $formId, Field $pField) : DefaultValueModelText
Parameters
- $formId : int
- $pField : Field
Return values
DefaultValueModelText —createBaseQuery()
private
createBaseQuery(int $formId, Field $pField) : string
Parameters
- $formId : int
- $pField : Field