public function beforeSave($options = array()) { $this->data = $this->convertToDb($this->data); return true; }