get and set the global Collection object.

ShoppCollection ( &$Object )

@param Collection (optional) $Object the Collection object to set to the global context.
@return mixed if the global Collection context isn't set, bool false will be returned, otherwise the global Collection object will be returned


get and set the global Collection object (ie. ProductTag, ProductCategory, SmartCollection)


// Load products tagged "tagname"
// get the current global Collection, if applicable
$Collection = ShoppCollection();

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.