save() public method

Modifies an existing entry in the contact source.
public save ( Turba_Object $object ) : string
$object Turba_Object The object to update.
return string The object id, possibly updated.
Esempio n. 1
0
 /**
  * @see Turba_Driver::_save
  */
 protected function _save(Turba_Object $object)
 {
     return $this->_driver->save($object);
 }
Esempio n. 2
0
 /**
  * Saves the current state of the object to the storage backend.
  *
  * @throws Turba_Exception
  */
 public function store()
 {
     $this->_ensureEmail();
     return $this->setValue('__key', $this->driver->save($this));
 }
Esempio n. 3
0
 /**
  * Saves the current state of the object to the storage backend.
  *
  * @throws Turba_Exception
  */
 public function store()
 {
     return $this->setValue('__key', $this->driver->save($this));
 }