You are here

public function UcAddressesAddress::getUserId in Ubercart Addresses 6.2

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

Returns owner of this address.

@access public

Return value

int ID of the owner of this address.

6 calls to UcAddressesAddress::getUserId()
UcAddressesAddress::getField in class/UcAddressesAddress.class.php
Override of UcAddressesSchemaAddress::getField().
UcAddressesAddress::isOwned in class/UcAddressesAddress.class.php
Checks if the address is owned by an user.
UcAddressesAddress::save in class/UcAddressesAddress.class.php
Saves address if address is marked as 'dirty'.
UcAddressesAddress::uri in class/UcAddressesAddress.class.php
Returns the uri of the address.
UcAddressesAddress::varExport in class/UcAddressesAddress.class.php
Export address instance to PHP code.

... See full list

File

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

Class

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

Code

public function getUserId() {
  return $this->addressBook
    ->getUserId();
}