Sunnysideup\EcommerceGiftvoucher\GiftVoucherProductPage
- Author: nicolaas [at] sunnysideup.co.nz
Synopsis
class GiftVoucherProductPage
extends Product
{
- // members
- protected string $defaultClassNameForOrderItem = GiftVoucherProductPageProductOrderItem::class;
- private static string $table_name = 'GiftVoucherProductPage';
- private static array $db = ;
- private static array $defaults = ;
- private static array $field_labels = ;
- private static array $field_labels_right = ;
- private static string $singular_name = 'Any Price Product';
- private static string $plural_name = 'Any Price Products';
- private static string $icon = 'sunnysideup/ecommerce_giftvoucher: client/images/treeicons/GiftVoucherProductPage-file.gif';
- private static string $description = 'Generic product that can be used to allow customers to choose a specific amount to pay.';
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public void canCreate()
- public void canPurchase()
- public void getCMSFields()
Hierarchy
Extends
- Sunnysideup\Ecommerce\Pages\Product
Members
private
- $db
- $defaults
- $description — string
- $field_labels
- $field_labels_right
- $icon
- $plural_name
- $singular_name
- $table_name
protected
- $defaultClassNameForOrderItem — string