PHP Class AccountPage_Controller, silvershop-core

Inheritance: extends Page_Controller
Afficher le fichier Open project: burnbright/silverstripe-shop Class Usage Examples

Protected Properties

Свойство Type Description
$member Member | ShopMember

Méthodes publiques

Méthode Description
ChangePasswordForm ( )
CreateAddressForm ( )
DefaultAddressForm ( )
EditAccountForm ( ) : ShopAccountForm Return a form allowing the user to edit their details.
addressbook ( )
changepassword ( ) By default, ChangePasswordForm redirects to /account/changepassword when it's done.
deleteaddress ( SS_HTTPRequest $req ) : SS_HTTPResponse
editprofile ( )
getMember ( )
getTitle ( )
init ( )
saveaddress ( $data, $form )
savedefaultaddresses ( $data, $form )
setdefaultbilling ( SS_HTTPRequest $req ) : SS_HTTPResponse
setdefaultshipping ( SS_HTTPRequest $req ) : SS_HTTPResponse

Method Details

ChangePasswordForm() public méthode

public ChangePasswordForm ( )

CreateAddressForm() public méthode

public CreateAddressForm ( )

DefaultAddressForm() public méthode

public DefaultAddressForm ( )

EditAccountForm() public méthode

Return a form allowing the user to edit their details.
public EditAccountForm ( ) : ShopAccountForm
Résultat ShopAccountForm

addressbook() public méthode

public addressbook ( )

changepassword() public méthode

This catches that and sends it back to editprofile, which seems easier and less error-prone than the alternative of trying to manipulate the BackURL field.
public changepassword ( )

deleteaddress() public méthode

public deleteaddress ( SS_HTTPRequest $req ) : SS_HTTPResponse
$req SS_HTTPRequest
Résultat SS_HTTPResponse

editprofile() public méthode

public editprofile ( )

getMember() public méthode

public getMember ( )

getTitle() public méthode

public getTitle ( )

init() public méthode

public init ( )

saveaddress() public méthode

public saveaddress ( $data, $form )

savedefaultaddresses() public méthode

public savedefaultaddresses ( $data, $form )

setdefaultbilling() public méthode

public setdefaultbilling ( SS_HTTPRequest $req ) : SS_HTTPResponse
$req SS_HTTPRequest
Résultat SS_HTTPResponse

setdefaultshipping() public méthode

public setdefaultshipping ( SS_HTTPRequest $req ) : SS_HTTPResponse
$req SS_HTTPRequest
Résultat SS_HTTPResponse

Property Details

$member protected_oe property

protected Member|ShopMember $member
Résultat Member | ShopMember