public function actionSave() { $group = new CUserGroup(); $group->setAttributes(CRequest::getArray($group::getClassName())); if ($group->validate()) { $group->save(); $this->redirect("groups.php?action=index"); return true; } $this->setData("group", $group); $this->renderView("_acl_manager/groups/edit.tpl"); }