Exemplo n.º 1
0
 /**
  * @param Entity $task
  * @return bool
  */
 protected function _update(Entity $task)
 {
     $this->_updateStmt->execute(array(':name' => $task->getName(), ':details' => $task->getDetails(), ':complete' => $task->isComplete()));
     return $this->_updateStmt->rowCount() === 1;
 }
Exemplo n.º 2
0
 public function __construct($id = null)
 {
     parent::__construct($id);
 }