modify() public method

Modifies an existing task and handles notification.
public modify ( string $taskId, array $properties )
$taskId string The task to modify.
$properties array A hash with properties. @see add().
Ejemplo n.º 1
0
 public function modify($taskId, array $task)
 {
     $this->_driver->modify($taskId, $task);
 }
Ejemplo n.º 2
0
 /**
  * Saves this task in the storage backend.
  *
  * @throws Nag_Exception
  */
 public function save()
 {
     $this->_storage->modify($this->id, $this->toHash(true));
 }