Cita\eCommerce\Model\ProductCollection
Description
Synopsis
class ProductCollection
extends Page
{
- // members
- private static string $table_name = 'Cita_eCommerce_ProductCollection';
- private static string $description = 'A product collection page helps you group products';
- private static array $db = ;
- private static array $defaults = ;
- private static array $many_many = ;
- // methods
- public FieldList getCMSFields()
- // Inherited methods from ProductListGenerator
- public void add_pagesize_field()
- public void getProductList()
- public void getData()
- public void get_related_categories()
- // Inherited methods from TopSellerGenerator
- public void get_top_sellers()
- public void get_new_offer()
- public void get_random_categories()
Hierarchy
Members
private
- $db
—
array
Database fields - $defaults
—
array
Add default values to database - $description
- $many_many
—
array
Many_many relationship - $table_name
—
string
Defines the database table name
Methods
public
- getCMSFields() — CMS Fields