PHP 클래스 AccountPage_Controller, silvershop-core

상속: extends Page_Controller
파일 보기 프로젝트 열기: burnbright/silverstripe-shop 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$member Member | ShopMember

공개 메소드들

메소드 설명
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

메소드 상세

ChangePasswordForm() 공개 메소드

public ChangePasswordForm ( )

CreateAddressForm() 공개 메소드

public CreateAddressForm ( )

DefaultAddressForm() 공개 메소드

public DefaultAddressForm ( )

EditAccountForm() 공개 메소드

Return a form allowing the user to edit their details.
public EditAccountForm ( ) : ShopAccountForm
리턴 ShopAccountForm

addressbook() 공개 메소드

public addressbook ( )

changepassword() 공개 메소드

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 deleteaddress ( SS_HTTPRequest $req ) : SS_HTTPResponse
$req SS_HTTPRequest
리턴 SS_HTTPResponse

editprofile() 공개 메소드

public editprofile ( )

getMember() 공개 메소드

public getMember ( )

getTitle() 공개 메소드

public getTitle ( )

init() 공개 메소드

public init ( )

saveaddress() 공개 메소드

public saveaddress ( $data, $form )

savedefaultaddresses() 공개 메소드

public savedefaultaddresses ( $data, $form )

setdefaultbilling() 공개 메소드

public setdefaultbilling ( SS_HTTPRequest $req ) : SS_HTTPResponse
$req SS_HTTPRequest
리턴 SS_HTTPResponse

setdefaultshipping() 공개 메소드

public setdefaultshipping ( SS_HTTPRequest $req ) : SS_HTTPResponse
$req SS_HTTPRequest
리턴 SS_HTTPResponse

프로퍼티 상세

$member 보호되어 있는 프로퍼티

protected Member|ShopMember $member
리턴 Member | ShopMember