FieldModuleCollectionDecoratorReadAddress
extends FieldModuleCollectionDecoratorAbstract
in package
Tags
Table of Contents
- ADDRESS_FIELDS_CONTACT = ['email' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 80, 'default' => null, 'permittedvalues' => null, 'label' => 'All e-mail addresses', 'tablename' => 'Kontakt', 'module' => 'address', "content" => "Contact"]]
- ADDRESS_FIELDS_MASTER_DATA = ['phone' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 40, 'default' => null, 'permittedvalues' => null, 'label' => 'All non-mobile phone numbers', 'tablename' => 'Stammdaten', 'module' => 'address', "content" => "Master data"], 'fax' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 40, 'default' => null, 'permittedvalues' => null, 'label' => 'All fax numbers', 'tablename' => 'Stammdaten', 'module' => 'address', "content" => "Master data"], 'mobile' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 40, 'default' => null, 'permittedvalues' => null, 'label' => 'All mobile numbers', 'tablename' => 'Stammdaten', 'module' => 'address', "content" => "Master data"]]
- ADDRESS_FIELDS_NO_CATEGORY = ['imageUrl' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_TEXT, 'length' => null, 'default' => null, 'permittedvalues' => null, 'label' => 'Image', 'module' => 'address']]
- $_allAddressEstateField : array<string|int, mixed>
- $_pFieldModuleCollection : FieldModuleCollection
- __construct() : mixed
- addField() : mixed
- containsFieldByModule() : bool
- getAllFields() : array<string|int, mixed>
- getFieldByModuleAndName() : Field
- getNewAddressFields() : array<string|int, mixed>
- getNewAddressFieldsAfterFormat() : array<string|int, mixed>
- getNewAddressFieldsTranslatedLabel() : array<string|int, mixed>
- getNewAddressFieldsWithTableNameKey() : array<string|int, mixed>
- formatFieldContent() : array<string|int, mixed>
- generateListOfMergedFieldsByModule() : array<string|int, mixed>
- getAddressEstateField() : mixed
- getFieldModuleCollection() : FieldModuleCollection
- setAllAddressEstateField() : mixed
Constants
ADDRESS_FIELDS_CONTACT
public
array<string|int, mixed>
ADDRESS_FIELDS_CONTACT
= ['email' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 80, 'default' => null, 'permittedvalues' => null, 'label' => 'All e-mail addresses', 'tablename' => 'Kontakt', 'module' => 'address', "content" => "Contact"]]
ADDRESS_FIELDS_MASTER_DATA
public
array<string|int, mixed>
ADDRESS_FIELDS_MASTER_DATA
= ['phone' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 40, 'default' => null, 'permittedvalues' => null, 'label' => 'All non-mobile phone numbers', 'tablename' => 'Stammdaten', 'module' => 'address', "content" => "Master data"], 'fax' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 40, 'default' => null, 'permittedvalues' => null, 'label' => 'All fax numbers', 'tablename' => 'Stammdaten', 'module' => 'address', "content" => "Master data"], 'mobile' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 40, 'default' => null, 'permittedvalues' => null, 'label' => 'All mobile numbers', 'tablename' => 'Stammdaten', 'module' => 'address', "content" => "Master data"]]
ADDRESS_FIELDS_NO_CATEGORY
public
array<string|int, mixed>
ADDRESS_FIELDS_NO_CATEGORY
= ['imageUrl' => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_TEXT, 'length' => null, 'default' => null, 'permittedvalues' => null, 'label' => 'Image', 'module' => 'address']]
Properties
$_allAddressEstateField
protected
array<string|int, mixed>
$_allAddressEstateField
= []
$_pFieldModuleCollection
private
FieldModuleCollection
$_pFieldModuleCollection
= null
Methods
__construct()
public
__construct(FieldModuleCollection $pFieldModuleCollection) : mixed
Parameters
- $pFieldModuleCollection : FieldModuleCollection
Return values
mixed —addField()
public
addField(Field $pField) : mixed
Parameters
- $pField : Field
Return values
mixed —containsFieldByModule()
public
containsFieldByModule(string $module, string $name) : bool
Parameters
- $module : string
- $name : string
Return values
bool —getAllFields()
public
getAllFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —getFieldByModuleAndName()
public
getFieldByModuleAndName(string $module, string $name) : Field
Parameters
- $module : string
- $name : string
Return values
Field —getNewAddressFields()
public
static getNewAddressFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —getNewAddressFieldsAfterFormat()
public
getNewAddressFieldsAfterFormat() : array<string|int, mixed>
Return values
array<string|int, mixed> —getNewAddressFieldsTranslatedLabel()
public
static getNewAddressFieldsTranslatedLabel() : array<string|int, mixed>
Return values
array<string|int, mixed> —getNewAddressFieldsWithTableNameKey()
public
static getNewAddressFieldsWithTableNameKey() : array<string|int, mixed>
Return values
array<string|int, mixed> —formatFieldContent()
protected
formatFieldContent( $newFields) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —generateListOfMergedFieldsByModule()
protected
generateListOfMergedFieldsByModule(array<string|int, mixed> $fieldsByModule) : array<string|int, mixed>
Parameters
- $fieldsByModule : array<string|int, mixed>
Return values
array<string|int, mixed> —getAddressEstateField()
protected
getAddressEstateField() : mixed
Return values
mixed —getFieldModuleCollection()
protected
getFieldModuleCollection() : FieldModuleCollection
Return values
FieldModuleCollection —setAllAddressEstateField()
protected
setAllAddressEstateField( $allAddressEstateField) : mixed