Beispiel #1
0
 private function update()
 {
     $this->beforeUpdate();
     $ok = (bool) DB::update($this->table, $this->getIdCondition(), $this->data);
     return $ok ? $this->afterUpdate() : false;
 }