메소드 | 설명 | |
---|---|---|
addAddressAction ( ) : |
Adds an address to current customer. | |
addressesAction ( ) : |
Lists customer's addresses. | |
deleteAddressAction ( $id ) : |
Deletes address $id. | |
editAddressAction ( $id ) : |
Controller action to edit address $id. | |
setCurrentAddressAction ( $id ) : |
Sets address $id to current. |
메소드 | 설명 | |
---|---|---|
checkAddress ( Sonata\Component\Customer\AddressInterface $address = null ) | Checks if $address is valid. | |
getAddressManager ( ) : Sonata\Component\Customer\AddressManagerInterface | ||
getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | ||
getCustomerManager ( ) : Sonata\Component\Customer\CustomerManagerInterface | ||
updateAddress ( integer $id = null ) : |
Updates or create an address. |
public addAddressAction ( ) : |
||
리턴 |
public addressesAction ( ) : |
||
리턴 |
protected checkAddress ( Sonata\Component\Customer\AddressInterface $address = null ) | ||
$address | Sonata\Component\Customer\AddressInterface |
public deleteAddressAction ( $id ) : |
||
$id | The address to delete | |
리턴 |
public editAddressAction ( $id ) : |
||
$id | ||
리턴 |
protected getAddressManager ( ) : Sonata\Component\Customer\AddressManagerInterface | ||
리턴 | Sonata\Component\Customer\AddressManagerInterface |
protected getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | ||
리턴 | Sonata\Component\Customer\CustomerInterface |
protected getCustomerManager ( ) : Sonata\Component\Customer\CustomerManagerInterface | ||
리턴 | Sonata\Component\Customer\CustomerManagerInterface |
public setCurrentAddressAction ( $id ) : |
||
$id | ||
리턴 |
protected updateAddress ( integer $id = null ) : |
||
$id | integer | Address id |
리턴 |