SilverShop\ShopUserInfo
Collects and stores data about the user. Keep this data in session.
Synopsis
class ShopUserInfo
{
- // methods
- public array getLocation()
- public void setLocation()
- public null|Address getAddress()
- public $this setAddress()
- protected void getLocationData()
- protected void setLocationData()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
Methods
protected
public
- getAddress() — Get location of user
- getLocation() — Get an array of location data
- setAddress() — Set location of user
- setLocation()