SilverCommerce\CustomisableProducts\CustomisableProduct
Synopsis
class CustomisableProduct
extends Product
{
- // members
- private static string $table_name = "CustomisableProduct";
- private static string $singular_name = 'Customisable Product';
- private static string $plural_name = 'Customisable Products';
- private static string $description = "A product that can be modified by the customer";
- private static array $has_one = ;
- private static array $has_many = ;
- // methods
- public void getCMSFields()
- public void onBeforeDelete()
Hierarchy
Extends
- Product
Members
private
- $description
- $has_many
- $has_one
- $plural_name
—
string
Human-readable plural name - $singular_name
—
string
Human-readable singular name. - $table_name
—
string
Table to create in DB