HJI WP Membership Code Reference
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Slipstream API Docs

Namespaces

  • hji
    • AgentRoster
      • controllers
      • models
      • utils
    • common
      • factories
      • interfaces
      • models
      • utils
    • construction
      • admin
        • controllers
        • models
      • core
      • front
        • controllers
      • interfaces
      • models
        • listings
        • subdivisions
      • views
    • geofarms
      • common
      • controllers
      • models
      • widgets
    • homevalue
      • controllers
      • core
        • abstracts
      • models
    • lifestylefinder
    • listingstoblog
      • controllers
    • membership
      • abstracts
      • controllers
      • entities
      • extension
        • abstracts
        • interfaces
      • factories
      • includes
      • interfaces
      • models
        • data
        • webservice
          • abstracts
          • actions
          • interfaces
      • observers
      • services
    • recentsales
      • controllers
      • tinymce
      • widgets
    • ResponsiveIDX
      • abstracts
      • adapters
      • controllers
      • core
        • abstracts
      • entities
      • models
      • services
      • tinymce
      • utils
      • widgets
    • schools
      • controllers
      • tinymce
      • widgets
    • users
      • abstracts
      • admin
        • controllers
        • models
      • controllers
      • core
        • abstracts
      • entities
      • models
      • utils
  • None
  • REL
    • controllers
    • Models
    • Taxonomies
    • Utils
      • Convert
    • widgets

Classes

  • ComplianceModel
  • ComplianceViewModel
  • FieldLabels
  • HashMap
  • IdxSearchModel
  • MarketMetadata
  • PaginationViewModel
  • QuickSearchViewModel
  • SearchFilters
  • SearchParams
  • SearchResultsViewModel
  • ShortcodesModel
  • SpatialMatchModel

Class HashMap

Namespace: hji\ResponsiveIDX\models
Located at classes/models/HashMap.php

Methods summary

public static array|boolean
# filters( $value, boolean $arrayKeys = true )

Parameters

$value
$arrayKeys
  • maps keys of the passed array

Returns

array|boolean
public static
# fields( $value, $arrayKeys = true )
public static mixed
# getLowCase( $hashMap )

Storing hashmaps with lowercase values in a static variable to avoid using array_map('strtolower', $hashMap) This improves speed almost twice.

Storing hashmaps with lowercase values in a static variable to avoid using array_map('strtolower', $hashMap) This improves speed almost twice.

Parameters

$hashMap

Returns

mixed
public static
# isPriorRequested( $val )
public static
# setRequested( $name, $val )

Properties summary

public static array $filters

Map of old filers to new ones

Map of old filers to new ones

# array( 'mls' => 'market', 'property_type' => 'listingType', 'property_subtype' => 'propertyType', 'agent_id' => 'agentId', 'list_office_id' => 'officeId', 'beds_total' => 'beds', 'baths_total' => 'baths', 'listing_id' => 'id', 'price' => 'listPrice', 'lease_price' => 'listPrice', 'living_area' => 'size', 'city' => 'city', 'state_province' => 'state', 'county' => 'county', 'school_district' => 'schoolDistrict', 'school_elementary' => 'elementarySchool', 'school_high' => 'highSchool', 'school_middle_junior' => 'middleSchool', 'school' => 'school', 'building_size' => 'size', 'lot_size_acres' => 'lotSize', 'status' => 'status', 'postal_code' => 'zip', 'property_description' => 'description', 'state_province' => 'state', 'subdivision' => 'subdivision', 'area' => 'area', 'year_built' => 'yearBuilt', 'sale_type' => 'distressed', 'dom' => 'daysOnMarket', 'daysonhji' => 'daysOnHJI', 'distressed' => 'distressed', 'open_house_date' => 'openHouse', 'keyword' => 'keyword', 'sortby' => 'sortField', 'order' => 'sortOrder', 'limit' => 'pageSize', )
public static array $fields
# array( 'property_type' => 'listingType', 'property_subtype' => 'propertyType', 'agent_id' => 'listingAgent_id', 'agent_name' => 'listingAgent_name', 'agent_phone' => 'listingAgent_phone', 'agent_email' => 'listingAgent_email', 'beds_total' => 'beds', 'baths_total' => 'baths_total', 'full_baths' => 'baths_full', 'half_baths' => 'baths_half', 'listing_id' => 'id', 'price' => 'listPrice', 'lease_price' => 'listPrice', 'listPrice' => 'listPrice', 'salePrice' => 'salePrice', 'lease_length' => 'lease_length', // ? 'living_area' => 'size', 'city' => 'address_city', 'state_province' => 'address_state', 'county' => 'address_county', 'school_district' => 'school_district', 'school_elementary' => 'school_elementary', 'school_high' => 'school_high', 'school_middle_junior' => 'school_middle', 'school' => 'school', 'latitude' => 'coordinates_latitude', 'longitude' => 'coordinates_longitude', 'list_office_id' => 'listingOffice_id', 'list_office_name' => 'listingOffice_name', 'list_office_phone' => 'listingOffice_phone', 'building_size' => 'size', 'building_name' => 'buildingName', 'lot_size_acres' => 'lotSize_acres', 'lot_size_sq_ft' => 'lotSize_sqft', 'status' => 'status', 'photos' => 'images', 'postal_code' => 'address_zip', 'property_description' => 'description', 'state_province' => 'state', 'unit_cnt' => 'units', 'subdivision' => 'subdivision', 'area' => 'area', 'address' => 'address', 'year_built' => 'yearBuilt', 'sale_type' => 'distressed', 'dom' => 'daysOnHJI', 'distressed' => 'distressed', 'virtual_tour_url' => 'tourURL', 'open_house_date' => 'openHouse_date', 'open_house_times' => 'openHouse_time', 'openhouse' => 'openHouse', 'last_updated' => 'lastUpdated', 'keyword' => 'keyword', 'sortby' => 'sortField', )
HJI WP Membership Code Reference API documentation generated by ApiGen