PHP Class ShopAccountForm, silvershop-core

Inheritance: extends Form
Show file Open project: burnbright/silverstripe-shop Class Usage Examples

Public Methods

Method Description
__construct ( $controller, $name )
proceed ( array $data, Form $form, SS_HTTPRequest $request ) : boolean | SS_HTTPResponse Save the changes to the form, and redirect to the checkout page
submit ( array $data, Form $form, SS_HTTPRequest $request ) : boolean | SS_HTTPResponse Save the changes to the form

Method Details

__construct() public method

public __construct ( $controller, $name )

proceed() public method

Save the changes to the form, and redirect to the checkout page
public proceed ( array $data, Form $form, SS_HTTPRequest $request ) : boolean | SS_HTTPResponse
$data array
$form Form
$request SS_HTTPRequest
return boolean | SS_HTTPResponse

submit() public method

Save the changes to the form
public submit ( array $data, Form $form, SS_HTTPRequest $request ) : boolean | SS_HTTPResponse
$data array
$form Form
$request SS_HTTPRequest
return boolean | SS_HTTPResponse