PHP Class ShopUserInfo, silvershop-core

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

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode Description
getLocationData ( )
setLocationData ( array $data )

Private Methods

Méthode Description
__construct ( )

Method Details

getAddress() public méthode

Get location of user
public getAddress ( )

getLocation() public méthode

Get an array of location data
public getLocation ( ) : array
Résultat array location data

getLocationData() protected méthode

protected getLocationData ( )

setAddress() public méthode

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

setLocation() public méthode

public setLocation ( array $location )
$location array

setLocationData() protected méthode

protected setLocationData ( array $data )
$data array

singleton() public static méthode

public static singleton ( )