menu

SiteGenesis / Server-side JS / Class: StoreLocatorView

views/StoreLocatorView~ StoreLocatorView

new StoreLocatorView(params)

Generates the view consumed by template storelocator/storelocatorresults

Extends:
Parameters:
Name Type Description
params object

The following properties are supported: stores (Search result for stores), type (Supported values are findbyzip, findbystate and findbycountry) searchKey (The value used to find Stores).

Source:

Extends

Members

ContinueURL

backward compatibility to URLUtils.continueURL() methods in old templates

Source:

SearchString

Print out on what has been searched for

Source:

Stores

Search result for stores

Source:

StoresCount

Number of found Stores

Source:

Type

Initial search criteria. Supported values are findbyzip, findbystate and findbycountry

Source:

Methods

extend(prop) → {Object}

Create a new sub class

Parameters:
Name Type Description
prop Object

An object defining the members of the sub class

Inherited From:
Source:
Returns:

The sub class

Type
Object