SilverCommerce\OrdersAdmin\Extensions\AccountControllerExtension
Add extra fields to a user account (if the users module is installed) to allow logged in users to see their invoices.
Synopsis
class AccountControllerExtension
extends Extension
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void updateIndexSections()
- public HTMLText history()
- public HTMLText outstanding()
- public void updateAccountMenu()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
private
- $allowed_actions
—
array
Add extra URL endpoints
Methods
public
- history() — Display all historic orders for the current user
- outstanding() — Display all outstanding orders for the current user
- updateAccountMenu() — Add commerce specific links to account menu
- updateIndexSections()