FieldModuleCollectionDecoratorGeoPositionBackend
        
        extends FieldModuleCollectionDecoratorAbstract
    
    
            
            in package
            
        
    
    
    
        
        
    Tags
Table of Contents
- $_allAddressEstateField : array<string|int, mixed>
 - $_geoFields : array<string|int, mixed>
 - $_pFieldModuleCollection : FieldModuleCollection
 - __construct() : mixed
 - addField() : mixed
 - containsFieldByModule() : bool
 - getAllFields() : array<string|int, Field>
 - getFieldByModuleAndName() : Field
 - formatFieldContent() : array<string|int, mixed>
 - generateListOfMergedFieldsByModule() : array<string|int, mixed>
 - getAddressEstateField() : mixed
 - getFieldModuleCollection() : FieldModuleCollection
 - setAllAddressEstateField() : mixed
 
Properties
$_allAddressEstateField
    protected
        array<string|int, mixed>
    $_allAddressEstateField
     = []
    
    
    
$_geoFields
    private
        array<string|int, mixed>
    $_geoFields
     = [
    // geoPosition for searchcriteria gets added by FieldLoaderSearchCriteria.
    // Reading geoPosition for estate in FieldLoaderGeneric is not possible right now
    // since FieldLoader/Collections must co-exist with Fieldnames which never added the field.
    \onOffice\SDK\onOfficeSDK::MODULE_ESTATE => [\onOffice\WPlugin\GeoPosition::FIELD_GEO_POSITION => ['type' => \onOffice\WPlugin\Types\FieldTypes::FIELD_TYPE_VARCHAR, 'length' => 250, 'permittedvalues' => [], 'default' => null, 'label' => 'Geo Position']],
]
    
    
    
$_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, Field>
    
    
    
        Return values
array<string|int, Field> —getFieldByModuleAndName()
    public
                    getFieldByModuleAndName(string $module, string $name) : Field
    
        Parameters
- $module : string
 - $name : string
 
Return values
Field —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