Sunnysideup\Ecommerce\Forms\ShopAccountForm
Synopsis
class ShopAccountForm
extends Form
{
- // methods
- public void __construct()
- public bool submit()
- public bool proceed()
- public void creatememberandaddtoorder()
- public void saveDataToSession()
- protected HTTPResponse processForm()
Hierarchy
Extends
- SilverStripe\Forms\Form
Methods
protected
- processForm() — redirects ....
public
- __construct()
- creatememberandaddtoorder() — create a member and add it to the order then redirect back...
- proceed() — Save the changes to the form, and redirect to the checkout page.
- saveDataToSession() — saves the form into session.
- submit() — Save the changes to the form, and go back to the account page.