Singleton that helps with location and content category chooser Controls
Members
-
(static) contentChooserItemTransform :Object
-
The transform to use to generate the content chooser control items
Type:
- Object
-
(static) contentChooserTransform :Object
-
The transform to use to generate the content chooser control
Type:
- Object
-
(static) locationChooserItemTransform :Object
-
The transform to use to generate the location chooser control items
Type:
- Object
-
(static) locationChooserTransform :Object
-
The transform to use to generate the location chooser control
Type:
- Object
-
(static) selectedContents :Array
-
The selected content categories
Type:
- Array
-
(static) selectedLocation :String
-
The selected location
Type:
- String
Methods
-
(static) convertContentBackendNameToFrontEndName()
-
Converts the content 'backend' name to a 'frontend' name, the backend name is that used in the index, and the frontend name is that used in the UI. By default they are the same.
-
(static) convertLocationBackendNameToFrontEndName()
-
Converts the location 'backend' name to a 'frontend' name, the backend name is that used in the index, and the frontend name is that used in the UI. By default they are the same.
-
(static) createChildControls()
-
Creates location and content controls
-
(static) createContentControls()
-
Creates content chooser controls
-
(static) createLocationControls()
-
Creates location chooser controls
-
(static) getSelectedContents()
-
Gets the selected content category name. This returns the content 'backend' name, the name used in the index, and not any converted 'frontend' name.
-
(static) getSelectedLocation()
-
Gets the selected location category name. This returns the location 'backend' name, the name used in the index, and not any converted 'frontend' name.
-
(static) init()
-
Initialize
-
(static) setSelectedContents()
-
Sets the selected content category names. This expects the content 'frontend' names, which is returned by convertContentBackendNameToFrontEndName.
-
(static) setSelectedLocation()
-
Sets the selected location category name. This expects the location 'frontend' name, which is returned by convertLocationBackendNameToFrontEndName.