You are here

public function UcAddressesAddress::uri in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 7 class/UcAddressesAddress.class.php \UcAddressesAddress::uri()

Returns the uri of the address.

Return value

array The addres uri.

File

class/UcAddressesAddress.class.php, line 278
Contains the UcAddressesAddress class.

Class

UcAddressesAddress
The main address class used by uc_addresses (and extension modules).

Code

public function uri() {
  return array(
    'path' => 'user/' . $this
      ->getUserId() . '/addresses/' . $this
      ->getId(),
  );
}