\CorporateAccountPage
this page can be used in conjunction with the AccountPage.
It provides an overview of the
- Author: nicolaas
Synopsis
class CorporateAccountPage
extends AccountPage
{
- // members
- public static string $singular_name = "Corporate Account Page";
- public static string $plural_name = "Corporate Account Pages";
- public static string $icon = 'ecommerce_corporate_account/images/icons/CorporateAccountPage';
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public Boolean canCreate()
- public static String find_link()
- protected NULL pastOrdersSelection()
- public NULL AccountMember()
- public NULL AccountGroup()
- public NULL GroupMembers()
Hierarchy
Extends
- AccountPage
Members
public
-
$icon
Standard SS variable -
$plural_name
Standard SS variable. -
$singular_name
Standard SS variable.
Methods
protected
- pastOrdersSelection() — Overloads AccountPage::pastOrdersSelection rather than just returning the orders from the Member, it returns the orders from the group
public
- AccountGroup() — returns the group for the account member
- AccountMember() — overloads AccountMember from AccountPage only returns a member if it is an approved member
- GroupMembers() — returns the members of the current Group.
- canCreate() — standard SS method
- find_link() — Returns the link to the AccountPage on this site
- i18n_plural_name()
- i18n_singular_name()