Functions:recentlyViewedAdd

From Whirlwind eCommerce Wiki
Revision as of 02:49, 25 February 2009 by 71.163.185.8 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

eV::recentlyViewedAdd(), when placed in a page template, will qualify all pages using the template to be stored for later retrieval via the recentlyViewedGet function.

Syntax

eV::recentlyViewedAdd($pageId);

Paramaters

  • $pageId
the unique system assigned pageId for the page that will be stored for later retrieval. Usually this will be the core variable $pageId.

Return Values

No values are returned

Examples

// apply pages using this template to the recentlyViewed stored history
eV::recentlyViewedAdd($pageId);