RecordManagerReadListViewEstate
extends RecordManagerRead
in package
Tags
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
$_columns
private
array<string|int, string>
$_columns
= []
$_foundRows
private
array<string|int, object>
$_foundRows
= []
$_idColumnMain
private
string
$_idColumnMain
= ''
$_joins
private
array<string|int, string>
$_joins
= []
$_limit
private
int
$_limit
= 10
$_mainTable
private
string
$_mainTable
= ''
$_offset
private
int
$_offset
= 0
$_rowsCountOverall
private
int
$_rowsCountOverall
= 0
$_where
private
array<string|int, string>
$_where
= [1]
Methods
__construct()
public
__construct() : mixed
Return values
mixed —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 —getColumns()
public
getColumns() : string
Return values
string —[]
getContactDataByListviewId()
public
getContactDataByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
- $listviewId : int
Return values
array<string|int, mixed> —getCountOverall()
public
getCountOverall() : int
Return values
int —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 —getJoins()
public
getJoins() : string
Return values
string —[]
getLimit()
public
getLimit() : int
Return values
int —getMainTable()
public
getMainTable() : string
Return values
string —getOffset()
public
getOffset() : int
Return values
int —getPictureTypesByListviewId()
public
getPictureTypesByListviewId(int $listviewId) : array<string|int, mixed>
Parameters
- $listviewId : int
Return values
array<string|int, mixed> —getRecords()
public
getRecords() : array<string|int, object>
Return values
array<string|int, object> —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
Return values
string —getWhere()
public
getWhere() : array<string|int, string>
Return values
array<string|int, string> —getWpdb()
public
getWpdb() : wpdb
Tags
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
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