public function UcAddressesAddressBook::deleteAddressByName in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 class/UcAddressesAddressBook.class.php \UcAddressesAddressBook::deleteAddressByName()
Deletes an address by name.
@access public
Parameters
string $name: The nickname of the address.
Return value
boolean TRUE if the address is deleted. FALSE otherwise.
Throws
File
- class/
UcAddressesAddressBook.class.php, line 523 - Contains the UcAddressesAddressBook class.
Class
- UcAddressesAddressBook
- The address book class
Code
public function deleteAddressByName($name) {
return $this
->deleteOne(self::BY_NAME, $name);
}