onOffice WP Plugin

RecordManagerReadListViewEstate extends RecordManagerRead
in package

Tags
url

http://www.onoffice.de

copyright

2003-2017, onOffice(R) GmbH

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'
$_columns  : array<string|int, string>
$_foundRows  : array<string|int, object>
$_idColumnMain  : string
$_joins  : array<string|int, string>
$_limit  : int
$_mainTable  : string
$_offset  : int
$_rowsCountOverall  : int
$_where  : array<string|int, string>
__construct()  : mixed
addColumn()  : mixed
addColumnConst()  : mixed
addJoin()  : mixed
addWhere()  : mixed
getColumn()  : string
getColumns()  : string
getContactDataByListviewId()  : array<string|int, mixed>
getCountOverall()  : int
getFieldconfigByListviewId()  : array<string|int, mixed>
getIdColumnMain()  : string
getJoins()  : string
getLimit()  : int
getMainTable()  : string
getOffset()  : int
getPictureTypesByListviewId()  : array<string|int, mixed>
getRecords()  : array<string|int, object>
getRecordsSortedAlphabetically()  : array<string|int, object>
getRowById()  : array<string|int, mixed>
getRowByName()  : array<string|int, mixed>
getSortbauservaluesByListviewId()  : array<string|int, mixed>
getTablePrefix()  : string
getWhere()  : array<string|int, string>
getWpdb()  : wpdb
postProcessValue()  : string
setLimit()  : mixed
setOffset()  : mixed
updateColumnPageShortCode()  : mixed
getFoundRows()  : array<string|int, mixed>
setCountOverall()  : mixed
setFoundRows()  : mixed
setIdColumnMain()  : mixed
setMainTable()  : mixed
getBooleanFieldValuesByFieldRow()  : array<string|int, mixed>
readContactDataByListviewId()  : array<string|int, mixed>
readFieldconfigByListviewId()  : array<string|int, mixed>
readPicturetypesByListviewId()  : array<string|int, mixed>
readSortbyuservaluesNyListviewId()  : array<string|int, mixed>

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

addColumn()

public addColumn(string $column[, string $alias = null ]) : mixed
Parameters
$column : string
$alias : string = null
Return values
mixed

addColumnConst()

public addColumnConst(string $column, string $alias) : mixed
Parameters
$column : string
$alias : string
Return values
mixed

addJoin()

public addJoin(string $fullJoinStatement) : mixed
Parameters
$fullJoinStatement : string
Return values
mixed

addWhere()

public addWhere(string $where) : mixed
Parameters
$where : string
Return values
mixed

getColumn()

public getColumn(int $listviewId, string $column) : string
Parameters
$listviewId : int
$column : string
Return values
string

getContactDataByListviewId()

public getContactDataByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

getFieldconfigByListviewId()

public getFieldconfigByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

getIdColumnMain()

public getIdColumnMain() : string
Return values
string

getPictureTypesByListviewId()

public getPictureTypesByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

getRecordsSortedAlphabetically()

public getRecordsSortedAlphabetically() : array<string|int, object>
Return values
array<string|int, object>

getRowById()

public getRowById(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

getRowByName()

public getRowByName(string $listviewName[, string $type = null ]) : array<string|int, mixed>
Parameters
$listviewName : string
$type : string = null
Return values
array<string|int, mixed>

getSortbauservaluesByListviewId()

public getSortbauservaluesByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

getTablePrefix()

public getTablePrefix() : string
Tags
deprecated

get wpdb via DI

Return values
string

getWhere()

public getWhere() : array<string|int, string>
Return values
array<string|int, 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

setLimit()

public setLimit(int $limit) : mixed
Parameters
$limit : int
Return values
mixed

setOffset()

public setOffset(int $offset) : mixed
Parameters
$offset : int
Return values
mixed

updateColumnPageShortCode()

public updateColumnPageShortCode( $page,  $listviewId,  $tableName,  $column) : mixed
Parameters
$page :
$listviewId :
$tableName :
$column :
Return values
mixed

getFoundRows()

protected getFoundRows() : array<string|int, mixed>
Return values
array<string|int, mixed>

setCountOverall()

protected setCountOverall(int $countOverall) : mixed
Parameters
$countOverall : int
Return values
mixed

setFoundRows()

protected setFoundRows(array<string|int, mixed> $foundRows) : mixed
Parameters
$foundRows : array<string|int, mixed>
Return values
mixed

setIdColumnMain()

protected setIdColumnMain(string $idColumnMain) : mixed
Parameters
$idColumnMain : string
Return values
mixed

setMainTable()

protected setMainTable(string $mainTable) : mixed
Parameters
$mainTable : string
Return values
mixed

getBooleanFieldValuesByFieldRow()

private getBooleanFieldValuesByFieldRow(array<string|int, mixed> $row, string $booleanField) : array<string|int, mixed>
Parameters
$row : array<string|int, mixed>
$booleanField : string
Return values
array<string|int, mixed>

an array of fieldnames having $booleanField == '1'

readContactDataByListviewId()

private readContactDataByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

readFieldconfigByListviewId()

private readFieldconfigByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

readPicturetypesByListviewId()

private readPicturetypesByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

readSortbyuservaluesNyListviewId()

private readSortbyuservaluesNyListviewId(int $listviewId) : array<string|int, mixed>
Parameters
$listviewId : int
Return values
array<string|int, mixed>

Search results