/** * Wrapper for mapper's updateEntity method * @deprecated Use mapper updateEntity() instead * @param array $params Fields to be updated and new values * @return mixed ID of updated entity in case of successful update, false - overwise */ public function update(array $params = array()) { return $this->mapper->updateEntity($params, $this); }