\ProductCategory
Represents a Product category, Products can be added to many categories and they can have a ProductCategory as a parent in the site tree.
Synopsis
class ProductCategory
extends Page
{
- // members
- private static string $singular_name = 'Product Category';
- private static string $plural_name = 'Product Categories';
- private static Array $many_many = ;
- private static array $has_many = ;
- private static array $many_many_extraFields = ;
- private static Array $summary_fields = ;
- private static array $allowed_children = ;
- // methods
- public FieldList getCMSFields()
- public void isSection()
- public void ListboxCrumb()
- public static void getAllCategories()
- public void canView()
Hierarchy
Extends
- Page
Members
private
Methods
public
- ListboxCrumb()
- canView()
- getAllCategories()
- getCMSFields() — Set some CMS fields for managing Categories
- isSection()