public function actionSave() { $object = new CWorkPlanContentSectionLoadTechnology(); $object->setAttributes(CRequest::getArray($object::getClassName())); if ($object->validate()) { $object->save(); if ($this->continueEdit()) { $this->redirect("workplancontenttechnologies.php?action=edit&id=" . $object->getId()); } else { $this->redirect("workplancontentloads.php?action=edit&id=" . $object->load_id); } return true; } $this->setData("object", $object); $this->renderView("_corriculum/_workplan/contentTechnology/edit.tpl"); }