\Catalogue
Object designed to allow injection of catalogue global settings into templates without having to flood the base controller with methods
- Author: i-lateral (http://www.i-lateral.com)
Synopsis
class Catalogue
extends ViewableData
{
- // members
- private static Boolean $price_includes_tax = true;
- private static Boolean $enable_frontend = true;
- // methods
- public SS_List Categories()
- public void Products()
Hierarchy
Extends
- ViewableData
Members
private
Methods
public
- Categories() — Gets a list of all Categories, either top level (default) or from a sub level
- Products() — Get a full list of products, filtered by a category if provided.