Sunnysideup\EcommerceSecondHandProduct\SecondHandProductGroup
Synopsis
class SecondHandProductGroup
extends ProductGroup
{
- // members
- protected static string $groups_to_show_first = ProductGroup::class;
- protected static $main_second_hand_page_cache;
- protected static array $list_of_filters = ;
- protected static array $_page_cache_ids = ;
- private static string $table_name = 'SecondHandProductGroup';
- private static array $db = ;
- private static array $allowed_children = ;
- private static string $icon = 'sunnysideup/ecommerce_second_hand_product: client/images/treeicons/SecondHandProductGroup-file.gif';
- private static string $singular_name = 'Second Hand Product Holder';
- private static string $plural_name = 'Second Hand Product Holders';
- private static string $description = 'A product category page specifically for second had products';
- private static integer $maximum_number_of_products_to_list = 999;
- // methods
- public static void main_second_hand_page()
- public static void main_second_hand_page_id()
- public void i18n_singular_name()
- public void i18n_plural_name()
- public void getCMSFields()
- public void onBeforeWrite()
- public SecondHandProductGroup BestRootParentPage()
- public void getBuyableClassName()
- protected void hasOtherSecondHandProductGroupsOnThisLevel()
Hierarchy
Extends
- Sunnysideup\Ecommerce\Pages\ProductGroup
Members
private
- $allowed_children
- $db
- $description
—
string
Standard SS variable. - $icon
- $maximum_number_of_products_to_list
-
$plural_name
Standard SS variable. -
$singular_name
Standard SS variable. - $table_name
protected
- $_page_cache_ids
- $groups_to_show_first — string
- $list_of_filters
- $main_second_hand_page_cache
Methods
protected
public
- BestRootParentPage()
- getBuyableClassName() — Returns the class we are working with.
- getCMSFields()
- i18n_plural_name()
- i18n_singular_name()
- main_second_hand_page()
- main_second_hand_page_id()
- onBeforeWrite() — Event handler called before writing to the database.