StrandsScriptRenderer MembersKentico 8.0 API Reference
The StrandsScriptRenderer type exposes the following members.
Constructors

  NameDescription
Public methodStrandsScriptRenderer(Page, String)
Constructs class with default Scripts Generator.
Public methodStrandsScriptRenderer(Page, String, StrandsScriptGenerator)
Constructs class.
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 methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodRenderCultureScript
Includes information about current culture in the page. Strands is then able to show recommendations in given culture.
Public methodRenderCurrencyScript
Includes information about current currency in the page. Strands is then able to show recommendations with price in given currency.
Public methodRenderCustomizedRendererScript
Renders script from custom layout of recommendation template.
Public methodRenderItemVisitedTrackingScript
Renders script for the item visited event tracking.
Public methodRenderLibraryScript
Includes Strands library in the page and initializes it by calling SBS.Worker.go. This is needed to perform any other actions (event tracking or getting recommendations). Strands library and initialization call are rendered at the end of the page, so every other script (tracking, settings, etc.) is before it.
Public methodRenderPurchasedTrackingScript
Renders purchased script with informations about all purchased items.
Public methodRenderSearchedTrackingScript
Renders script for the item searched event tracking.
Public methodRenderUpdateShoppingCartTrackingScript
Renders script for updateschoppingcart tracking event.
Public methodRenderUserLoggedTrackingScript
Renders event indicating 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 methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
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