You are here

public function UcAddressesAddress::getName in Ubercart Addresses 7

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

Returns the nickname of the address.

@access public

Return value

string The name of this address.

2 calls to UcAddressesAddress::getName()
UcAddressesAddress::label in class/UcAddressesAddress.class.php
Returns address name if given.
UcAddressesAddress::setName in class/UcAddressesAddress.class.php
Sets the nickname of the address.

File

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

Class

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

Code

public function getName() {
  return $this
    ->getSchemaAddress()->address_name;
}