onOffice WP Plugin

RecordStructure
in package

Tags
url

http://www.onoffice.de

copyright

2003-2017, onOffice(R) GmbH

Table of Contents

EMPTY_VALUE  = 'emptyValue'
NULL_ALLOWED  = 'nullAllowed'
$_fieldsListview  : array<string|int, mixed>
getEmptyValue()  : mixed
getFieldByTable()  : array<string|int, mixed>
isNullAllowed()  : bool

Constants

Properties

$_fieldsListview

private static array<string|int, mixed> $_fieldsListview = array(\onOffice\WPlugin\Record\RecordManager::TABLENAME_LIST_VIEW => array('name' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => ''), 'filterId' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => 0), 'sortby' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 'ASC'), 'is_reference' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0), 'show_status' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0), 'template' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => ''), 'expose' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => ''), 'recordsPerPage' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 5), 'list_type' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')), \onOffice\WPlugin\Record\RecordManager::TABLENAME_FIELDCONFIG => array('order' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0), 'fieldname' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')), \onOffice\WPlugin\Record\RecordManager::TABLENAME_LISTVIEW_CONTACTPERSON => array('order' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0), 'fieldname' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')), \onOffice\WPlugin\Record\RecordManager::TABLENAME_PICTURETYPES => array('picturetype' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')), \onOffice\WPlugin\Record\RecordManager::TABLENAME_SORTBYUSERVALUES => array('sortbyuservalue' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')), \onOffice\WPlugin\Record\RecordManager::TABLENAME_LIST_VIEW_ADDRESS => array('name' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => null), 'filterId' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => null), 'sortby' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => null), 'sortorder' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 'ASC'), 'template' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => null), 'recordsPerPage' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 10), 'showPhoto' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0)), \onOffice\WPlugin\Record\RecordManager::TABLENAME_FIELDCONFIG_ADDRESS => array('order' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0), 'fieldname' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')), \onOffice\WPlugin\Record\RecordManager::TABLENAME_FORMS => array('name' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => null), 'form_type' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 'contact'), 'template' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => null), 'recipient' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => null), 'subject' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => null), 'createaddress' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0), 'limitresults' => array(self::NULL_ALLOWED => true, self::EMPTY_VALUE => null), 'checkduplicates' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0), 'pages' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => 0)), 'oo_plugin_fieldconfig_form_defaults_values' => ['value' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')], 'oo_plugin_fieldconfig_form_translated_labels' => ['value' => array(self::NULL_ALLOWED => false, self::EMPTY_VALUE => '')])

Methods

getEmptyValue()

public static getEmptyValue(string $table, string $field) : mixed
Parameters
$table : string
$field : string
Return values
mixed

getFieldByTable()

public static getFieldByTable(string $table, string $field) : array<string|int, mixed>
Parameters
$table : string
$field : string
Return values
array<string|int, mixed>

isNullAllowed()

public static isNullAllowed(string $table, string $field) : bool
Parameters
$table : string
$field : string
Return values
bool

Search results