SilverShop\Page\AccountPage
Account page shows order history and a form to allow the member to edit his/her details.
Synopsis
class AccountPage
extends Page
{
- // members
- private static string $icon = 'silvershop/core: client/dist/images/icons/account.gif';
- private static string $table_name = 'SilverShop_AccountPage';
- // methods
- public void canCreate()
- public static mixed find_link()
- public static string get_order_link()
- protected static AccountPage get_if_account_page_exists()
- public void requireDefaultRecords()
Hierarchy
Extends
- Page
Members
private
- $icon
- $table_name
Methods
protected
public
- canCreate()
- find_link() — Returns the link or the URLSegment to the account page on this site
- get_order_link() — Return a link to view the order on the account page.
- requireDefaultRecords() — This module always requires a page model.