onOffice WP Plugin

InputModelBuilderGeoRange
in package

Builds InputModel instances for the back-end box of Geo Fields.

Note that Applicant Forms don't have a radius.

Table of Contents

GEO_ORDER_OOPTIONS_TEMPLATE  = [[\onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_STREET, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_ZIP, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_CITY, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_COUNTRY, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_RADIUS], [\onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_RADIUS, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_STREET, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_ZIP, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_CITY, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_COUNTRY]]
$_pFieldsCollection  : FieldModuleCollectionDecoratorGeoPositionFrontend
$_pGeoPositionFieldHandler  : GeoPositionFieldHandler
$_pInputModelFactory  : InputModelDBFactory
__construct()  : mixed
build()  : Generator
getFieldsCollection()  : FieldModuleCollectionDecoratorGeoPositionFrontend
getGeoPositionFieldHandler()  : GeoPositionFieldHandler
getInputModelFactory()  : InputModelDBFactory
filterGeoOrderOptionsTemplateByView()  : array<string|int, mixed>
generateInputOrder()  : array<string|int, InputModelDB>
generateInputRadius()  : InputModelDB
getFieldnamesActiveCheckbox()  : array<string|int, mixed>
getGeoFieldLabel()  : string

Constants

GEO_ORDER_OOPTIONS_TEMPLATE

public array<string|int, mixed> GEO_ORDER_OOPTIONS_TEMPLATE = [[\onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_STREET, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_ZIP, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_CITY, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_COUNTRY, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_RADIUS], [\onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_RADIUS, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_STREET, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_ZIP, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_CITY, \onOffice\WPlugin\GeoPosition::ESTATE_LIST_SEARCH_COUNTRY]]

Properties

Methods

getGeoFieldLabel()

private getGeoFieldLabel(string $key) : string
Parameters
$key : string
Return values
string

Search results