Class SpatialMatchModel
Methods summary
public
|
#
__construct(
|
public
|
|
public
array
|
|
public
|
|
public
mixed
|
#
substituteSpatialMatchMapShortcode( $content )
Substitutes Spatial Match Map shortcodes inside page content with Quick Search Widget |
public
|
|
public
|
|
public
mixed
|
#
substituteSpatialMatchWidgets( $dynamic_sidebar_params )
Replaces SM Widgets with IDX search widget |
public static
|
Properties summary
public static
array
|
$hashMap
Map of SM to rIDX filters |
#
array(
'layer:listings_propTypes' => 'propertyType',
'layer:land_propTypes' => 'propertyType',
'layer:multifamily_propTypes' => 'propertyType',
'layer:rentals_propTypes' => 'propertyType',
'layer:commercial_propTypes' => 'propertyType',
'app:homes:filter_bedsMin' => 'beds[0]',
'app:homes:filter_bedsMax' => 'beds[1]',
'app:homes:filter_bathsMin' => 'baths[0]',
'app:homes:filter_bathsMax' => 'baths[1]',
'entity_selected' => 'id',
'app:homes:filter_listingPriceMin' => 'listPrice[0]',
'app:homes:filter_listingPriceMax' => 'listPrice[1]',
'app:homes:filter_leasePriceMin' => 'listPrice[0]',
'app:homes:filter_leasePriceMax' => 'listPrice[1]',
'app:homes:filter_homeSizeMin' => 'size[0]',
'app:homes:filter_homeSizeMax' => 'size[1]',
'app:homes:filter_lotSizeMin' => 'lotSize[0]',
'app:homes:filter_lotSizeMax' => 'lotSize[1]',
'app:homes:filter_yearBuiltMin' => 'yearBuilt[0]',
'app:homes:filter_yearBuiltMax' => 'yearBuilt[1]',
'app:homes:filter_affliction' => 'distressed',
'app:homes:filter_keywords' => 'keyword',
'agent_id' => 'agentId',
'list_office_id' => 'officeId',
'city' => 'city',
'state_province' => 'state',
'county' => 'county',
'school_district' => 'schoolDistrict',
'school_elementary' => 'elementarySchool',
'school_high' => 'highSchool',
'school_middle_junior' => 'middleSchool',
'school' => 'school',
'status' => 'status',
'postal_code' => 'zip',
'property_description' => 'description',
'state_province' => 'state',
'subdivision' => 'subdivision',
'area' => 'area',
'dom' => 'daysOnMarket',
'open_house_date' => 'openHouse',
'sortby' => 'sortField',
'order' => 'sortOrder',
'limit' => 'pageSize',
)
|