SilverCommerce\ComplexCategory\ComplexCategory
Synopsis
class ComplexCategory
extends Category
{
- // members
- private static string $table_name = 'ComplexCategory';
- private static string $singular_name = 'Complex Category';
- private static string $plural_name = 'Complex Categories';
- private static string $description = "A category that allows sorting and limiting of products";
- // methods
- public array getQuery()
- public string getCurrentOption()
- public ArrayList AllProducts()
Hierarchy
Extends
- Category
Members
private
- $description
- $plural_name
—
string
Human-readable plural name - $singular_name
—
string
Human-readable singular name. - $table_name
Methods
public
- AllProducts() — Get a list of all products from this category and it's children categories.
- getCurrentOption() — Return the current option from the URL
- getQuery() — Get the current search query from the current request