public function actionDelete() { $object = CBaseManager::getWorkPlanProjectTheme(CRequest::getInt("id")); $plan = $object->plan_id; $object->remove(); $this->redirect("workplanprojectthemes.php?action=index&plan_id=" . $plan); }