Beispiel #1
0
 /**
  * Updates $object in the database using an UPDATE query.
  *
  * Stores the changes made to $object into the database. Updates are
  * automatically reflected in the identity map.
  *
  * @throws ezcPersistentDefinitionNotFoundException
  *         if $object is not of a valid persistent object type.
  * @throws ezcPersistentObjectNotPersistentException
  *         if $object is not stored in the database already.
  * @throws ezcPersistentQueryException
  *
  * @param ezcPersistentObject $object
  */
 public function update($object)
 {
     // The object already must have been fetched before here, so an
     // identity is already recorded.
     $this->session->update($object);
 }