public function save() { $groups = $this->groups; $this->arrData['groups'] = $this->arrGroups; parent::save(); $this->groups = $groups; }