menu

SiteGenesis / Server-side JS / Class: CompareList

models/CompareModel~ CompareList

new CompareList()

Constructs a new compare list.

Source:

Members

(inner) categoryProducts

Hash of category IDs to arrays of product IDs.

Source:

(inner) currentCategoryID

The ID of the category currently being compared.

Source:

(inner) that

Copy of reference to this, for use in scopes where this refers to another object.

Source:

Methods

(inner) toJSON() → {String}

Returns a string representation of this compare list, used to store comparison information in the session.

Source:
Returns:

JSON object representing a product comparison.

Type
String

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.