onOffice WP Plugin

RecordManagerUpdate extends RecordManager
in package

Table of Contents

TABLENAME_FIELDCONFIG  = 'oo_plugin_fieldconfig'
TABLENAME_FIELDCONFIG_ADDRESS  = 'oo_plugin_address_fieldconfig'
TABLENAME_FIELDCONFIG_FORM_CUSTOMS_LABELS  = 'oo_plugin_fieldconfig_form_customs_labels'
TABLENAME_FIELDCONFIG_FORM_DEFAULTS  = 'oo_plugin_fieldconfig_form_defaults'
TABLENAME_FIELDCONFIG_FORM_DEFAULTS_VALUES  = 'oo_plugin_fieldconfig_form_defaults_values'
TABLENAME_FIELDCONFIG_FORM_TRANSLATED_LABELS  = 'oo_plugin_fieldconfig_form_translated_labels'
TABLENAME_FIELDCONFIG_FORMS  = 'oo_plugin_form_fieldconfig'
TABLENAME_FORMS  = 'oo_plugin_forms'
TABLENAME_LIST_VIEW  = 'oo_plugin_listviews'
TABLENAME_LIST_VIEW_ADDRESS  = 'oo_plugin_listviews_address'
TABLENAME_LISTVIEW_CONTACTPERSON  = 'oo_plugin_listview_contactperson'
TABLENAME_PICTURETYPES  = 'oo_plugin_picturetypes'
TABLENAME_SORTBYUSERVALUES  = 'oo_plugin_sortbyuservalues'
$_recordId  : int
__construct()  : mixed
getRecordId()  : int
getTablePrefix()  : string
getWpdb()  : wpdb
postProcessValue()  : string
updateByRow()  : bool

Constants

TABLENAME_FIELDCONFIG

public mixed TABLENAME_FIELDCONFIG = 'oo_plugin_fieldconfig'

TABLENAME_FIELDCONFIG_ADDRESS

public mixed TABLENAME_FIELDCONFIG_ADDRESS = 'oo_plugin_address_fieldconfig'

TABLENAME_FIELDCONFIG_FORM_CUSTOMS_LABELS

public mixed TABLENAME_FIELDCONFIG_FORM_CUSTOMS_LABELS = 'oo_plugin_fieldconfig_form_customs_labels'

TABLENAME_FIELDCONFIG_FORM_DEFAULTS

public mixed TABLENAME_FIELDCONFIG_FORM_DEFAULTS = 'oo_plugin_fieldconfig_form_defaults'

TABLENAME_FIELDCONFIG_FORM_DEFAULTS_VALUES

public mixed TABLENAME_FIELDCONFIG_FORM_DEFAULTS_VALUES = 'oo_plugin_fieldconfig_form_defaults_values'

TABLENAME_FIELDCONFIG_FORM_TRANSLATED_LABELS

public mixed TABLENAME_FIELDCONFIG_FORM_TRANSLATED_LABELS = 'oo_plugin_fieldconfig_form_translated_labels'

TABLENAME_FIELDCONFIG_FORMS

public mixed TABLENAME_FIELDCONFIG_FORMS = 'oo_plugin_form_fieldconfig'

TABLENAME_FORMS

public mixed TABLENAME_FORMS = 'oo_plugin_forms'

TABLENAME_LIST_VIEW

public mixed TABLENAME_LIST_VIEW = 'oo_plugin_listviews'

TABLENAME_LIST_VIEW_ADDRESS

public mixed TABLENAME_LIST_VIEW_ADDRESS = 'oo_plugin_listviews_address'

TABLENAME_LISTVIEW_CONTACTPERSON

public mixed TABLENAME_LISTVIEW_CONTACTPERSON = 'oo_plugin_listview_contactperson'

TABLENAME_PICTURETYPES

public mixed TABLENAME_PICTURETYPES = 'oo_plugin_picturetypes'

TABLENAME_SORTBYUSERVALUES

public mixed TABLENAME_SORTBYUSERVALUES = 'oo_plugin_sortbyuservalues'

Properties

Methods

__construct()

public __construct(int $recordId) : mixed
Parameters
$recordId : int
Return values
mixed

getTablePrefix()

public getTablePrefix() : string
Tags
deprecated

get wpdb via DI

Return values
string

getWpdb()

public getWpdb() : wpdb
Tags
deprecated

get wpdb via DI

global

wpdb $wpdb

Return values
wpdb

postProcessValue()

public static postProcessValue(string $value, string $table, string $field) : string
Parameters
$value : string
$table : string
$field : string
Return values
string

updateByRow()

public abstract updateByRow(array<string|int, mixed> $tableRow) : bool
Parameters
$tableRow : array<string|int, mixed>
Return values
bool

Search results