onOffice WP Plugin

DefaultValueCreate
in package

Table of Contents

TABLE_DEFAULTS  = 'oo_plugin_fieldconfig_form_defaults'
TABLE_DEFAULTS_VALUES  = 'oo_plugin_fieldconfig_form_defaults_values'
$_pRecordManagerFactory  : RecordManagerFactory
__construct()  : mixed
createForBool()  : int
createForMultiselect()  : int
createForNumericRange()  : int
createForSingleselect()  : int
createForText()  : int
createBase()  : int
createRecordManagerDefaults()  : RecordManagerInsertGeneric
createRecordManagerDefaultsValues()  : RecordManagerInsertGeneric
writeDatabaseGeneral()  : int
Step one: write oo_fieldconfig_form_defaults
writeDatabaseValueSingle()  : mixed
step two: write to oo_fieldconfig_form_defaults_values

Constants

TABLE_DEFAULTS

public mixed TABLE_DEFAULTS = 'oo_plugin_fieldconfig_form_defaults'

TABLE_DEFAULTS_VALUES

public mixed TABLE_DEFAULTS_VALUES = 'oo_plugin_fieldconfig_form_defaults_values'

Properties

Methods

writeDatabaseGeneral()

Step one: write oo_fieldconfig_form_defaults

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_defaults_values

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

Search results