You are here

public function UcAddressesAddress::getId in Ubercart Addresses 7

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

Returns address ID.

@access public

Return value

int The address ID.

5 calls to UcAddressesAddress::getId()
UcAddressesAddress::getField in class/UcAddressesAddress.class.php
Override of UcAddressesSchemaAddress::getField().
UcAddressesAddress::identifier in class/UcAddressesAddress.class.php
Alias of getId().
UcAddressesAddress::isNew in class/UcAddressesAddress.class.php
Checks if the address is a temporary unsaved address.
UcAddressesAddress::uri in class/UcAddressesAddress.class.php
Returns the uri of the address.
UcAddressesAddress::__wakeup in class/UcAddressesAddress.class.php
Restore variables when the address is unserialized.

File

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

Class

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

Code

public function getId() {
  return $this
    ->getSchemaAddress()->aid;
}