StrandsScriptGenerator MembersKentico 8.1 API Reference
The StrandsScriptGenerator type exposes the following members.
Constructors

  NameDescription
Public methodStrandsScriptGenerator
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetCultureSettingsScript
Returns script which sets current culture, so correct item captions can be shown.
Public methodGetCurrencySettingsScript
Returns script which sets current currency, so correct prices can be shown.
Public methodGetCustomizedRendererScript
Returns code which registers custom rendering function and declaration of the rendering function. jQuery templates library has to be included in order for this code to work.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetInitializationScript
Returns script which starts execution of the Strands library. Must be included after Strands library.
Public methodGetLibraryIncludeScript
Returns script which includes Strands library file. Returned string contains html script tags.
Public methodGetPurchasedTrackingScript
Returns script which logs "purchased" event to the Strands Recommender.
Public methodGetSearchedTrackingScript
Returns script which logs "searched" event to the Strands Recommender.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUpdateShoppingCartTrackingScript
Returns script which logs "updateschoppingcart" event to the Strands Recommender.
Public methodGetUserLoggedTrackingScript
Returns script which logs "userlogged" event to the Strands Recommender. This script indicates which user is browsing the web. This event needs to be logged at every page user visits (see http://recommender.strands.com/developers/javascript/#ulogin"/). Strands can later associate this user ID with the ID of the newsletter recipient and show appropriate recommendations.
Public methodGetVisitedTrackingScript
Returns script which logs "visited" event to the Strands Recommender.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
See Also