onOffice WP Plugin

CustomLabelCreate
in package

Table of Contents

TABLE_CUSTOMS_LABELS  = 'oo_plugin_fieldconfig_form_customs_labels'
TABLE_TRANSLATED_LABELS  = 'oo_plugin_fieldconfig_form_translated_labels'
$_pRecordManagerFactory  : RecordManagerFactory
__construct()  : mixed
createForField()  : int
createRecordManagerCustomsLabels()  : RecordManagerInsertGeneric
createRecordManagerDefaults()  : RecordManagerInsertGeneric
writeDatabaseGeneral()  : int
Step one: write oo_fieldconfig_form_customs_labels
writeDatabaseValueSingle()  : mixed
step two: write to oo_fieldconfig_form_translated_labels

Constants

TABLE_CUSTOMS_LABELS

public mixed TABLE_CUSTOMS_LABELS = 'oo_plugin_fieldconfig_form_customs_labels'

TABLE_TRANSLATED_LABELS

public mixed TABLE_TRANSLATED_LABELS = 'oo_plugin_fieldconfig_form_translated_labels'

Properties

Methods

writeDatabaseGeneral()

Step one: write oo_fieldconfig_form_customs_labels

private writeDatabaseGeneral(int $formId, string $field) : int
Parameters
$formId : int
$field : string
Tags
throws
RecordManagerInsertException
Return values
int

writeDatabaseValueSingle()

step two: write to oo_fieldconfig_form_translated_labels

private writeDatabaseValueSingle(int $customsLabelsId, string $value[, string $locale = '' ]) : mixed
Parameters
$customsLabelsId : int
$value : string
$locale : string = ''
Tags
throws
RecordManagerInsertException
Return values
mixed

Search results