public function save_plus($data) { // event save $this->save($data); // editor save App::import('Model', 'Editor'); $Editor = new Editor(); $user = $this->_getCurrentUser(); $relation['Editor']['account_id'] = $user['id']; $relation['Editor']['event_id'] = $this->getLastInsertID(); return $Editor->save($relation); }