You are here

protected function UcAddressesSchemaAddress::clearDirty in Ubercart Addresses 7

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

Clear the dirty flag.

When set, the dirty flag signals that the address needs to be saved in the database.

@access protected

Return value

void

2 calls to UcAddressesSchemaAddress::clearDirty()
UcAddressesAddress::save in class/UcAddressesAddress.class.php
Saves address if address is marked as 'dirty'.
UcAddressesAddress::__construct in class/UcAddressesAddress.class.php
UcAddressesAddress object constructor.

File

class/UcAddressesSchemaAddress.class.php, line 131
Contains the UcAddressesSchemaAddress class.

Class

UcAddressesSchemaAddress
The schema address class.

Code

protected function clearDirty() {
  $this->dirty = FALSE;
}