onOffice WP Plugin

AddressList
in package

Table of Contents

DEFAULT_FIELDS_REPLACE  = ['defaultemail' => 'Email', 'defaultphone' => 'Telefon1', 'defaultfax' => 'Telefax1']
$_adressesById  : array<string|int, mixed>
$_pDataViewAddress  : DataListViewAddress
$_pEnvironment  : AddressListEnvironment
$_specialContactData  : array<string|int, string>
__construct()  : mixed
getAddressById()  : array<string|int, mixed>
getFieldLabel()  : string
getFieldType()  : string
getRows()  : array<string|int, mixed>
getVisibleFilterableFields()  : array<string|int, string>
loadAddresses()  : mixed
loadAdressesById()  : mixed
withDataListViewAddress()  : AddressList
collectAdditionalContactData()  : array<string|int, mixed>
fillAddressesById()  : mixed
generateRecordModifier()  : ViewFieldModifierHandler
getArrayContainerByRow()  : ArrayContainerEscape

Constants

DEFAULT_FIELDS_REPLACE

public mixed DEFAULT_FIELDS_REPLACE = ['defaultemail' => 'Email', 'defaultphone' => 'Telefon1', 'defaultfax' => 'Telefax1']

Properties

$_adressesById

private array<string|int, mixed> $_adressesById = []

$_specialContactData

private array<string|int, string> $_specialContactData = ['mobile', 'phoneprivate', 'phonebusiness', 'phone', 'emailprivate', 'emailbusiness', 'email']

Methods

getAddressById()

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

getFieldLabel()

public getFieldLabel(string $field[, bool $raw = false ]) : string
Parameters
$field : string
$raw : bool = false
Return values
string

getRows()

public getRows([bool $raw = false ]) : array<string|int, mixed>
Parameters
$raw : bool = false
Return values
array<string|int, mixed>

getVisibleFilterableFields()

public getVisibleFilterableFields() : array<string|int, string>
Tags
throws
UnknownFieldException
throws
DependencyException
throws
NotFoundException
Return values
array<string|int, string>

An array of visible fields

loadAddresses()

public loadAddresses([int $inputPage = 1 ]) : mixed
Parameters
$inputPage : int = 1
Tags
throws
DependencyException
throws
NotFoundException
throws
ApiClientException
global

int $page

global

bool $more

global

int $numpages

global

bool $multipage

Return values
mixed

loadAdressesById()

public loadAdressesById(array<string|int, mixed> $addressIds, array<string|int, mixed> $fields) : mixed
Parameters
$addressIds : array<string|int, mixed>
$fields : array<string|int, mixed>
Tags
throws
DependencyException
throws
NotFoundException
throws
ApiClientException
Return values
mixed

collectAdditionalContactData()

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

fillAddressesById()

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

Search results