public function update() { $data['fistname'] = $this->firstname; $data['lastname'] = $this->lastname; $data['email'] = $this->email; parent::_update($data, $this->id); return $this; }
public function update() { $data['name'] = $this->name; $data['destinationTxt'] = $this->destinationTxt; $data['guideId'] = $this->guide->getId(); $data['description'] = $this->description; return parent::_update($data, $this->id); }