You are here

function DB_storage::_DB_storage in Flickr API 5

Destructor, calls DB_storage::store() if there are changes that are to be kept.

File

phpFlickr/PEAR/DB/storage.php, line 427

Class

DB_storage
Provides an object interface to a table row

Code

function _DB_storage() {
  if (sizeof($this->_changes)) {
    $this
      ->store();
  }
  $this->_properties = array();
  $this->_changes = array();
  $this->_table = null;
}