public function UcAddressesAddressBook::deleteAddressByName in Ubercart Addresses 7
Same name and namespace in other branches
- 6.2 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 524 - Contains the UcAddressesAddressBook class.
Class
- UcAddressesAddressBook
- The address book class
Code
public function deleteAddressByName($name) {
return $this
->deleteOne(self::BY_NAME, $name);
}