PHP Class ShopUserInfo, silvershop-core

Mostra file Open project: burnbright/silverstripe-shop Class Usage Examples

Public Methods

Method Description
getAddress ( ) Get location of user
getLocation ( ) : array Get an array of location data
setAddress ( Address $address ) Set location of user
setLocation ( array $location )
singleton ( )

Protected Methods

Method Description
getLocationData ( )
setLocationData ( array $data )

Private Methods

Method Description
__construct ( )

Method Details

getAddress() public method

Get location of user
public getAddress ( )

getLocation() public method

Get an array of location data
public getLocation ( ) : array
return array location data

getLocationData() protected method

protected getLocationData ( )

setAddress() public method

Set location of user
public setAddress ( Address $address )
$address Address location

setLocation() public method

public setLocation ( array $location )
$location array

setLocationData() protected method

protected setLocationData ( array $data )
$data array

singleton() public static method

public static singleton ( )