public function actionAutosave() { if (CRequest::getInt("id") !== 0) { $help = CHelpManager::getHelp(CRequest::getInt("id")); if (!is_null($help)) { $help->content = CRequest::getString("content", $help::getClassName()); $help->save(); } } }