public function save($data = null) { if ($this->isNew) { return $this->insert(); } return $this->update($data); }