onOffice WP Plugin

CustomLabelRead
in package

Reads default values as defined in WP, not onOffice enterprise

Table of Contents

$_pWPDB  : wpdb
__construct()  : mixed
readCustomLabelByFormIdAndFieldName()  : array<string|int, mixed>
readCustomLabelsField()  : CustomLabelModelField
createBaseQuery()  : string
createCustomsLabelsByFormIdQuery()  : string

Properties

Methods

__construct()

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

readCustomLabelByFormIdAndFieldName()

public readCustomLabelByFormIdAndFieldName(int $formId,  $field,  $current_lang) : array<string|int, mixed>
Parameters
$formId : int
$field :
$current_lang :
Return values
array<string|int, mixed>

createBaseQuery()

private createBaseQuery(int $formId, Field $pField) : string
Parameters
$formId : int
$pField : Field
Return values
string

createCustomsLabelsByFormIdQuery()

private createCustomsLabelsByFormIdQuery(int $formId, string $field,  $current_lang) : string
Parameters
$formId : int
$field : string
$current_lang :
Return values
string

Search results