code: protected function actionToggle(Eresus_CMS_Request $request)
      {
          $article = $this->findArticle($request->query->getInt('id'));
          $article->active = !$article->active;
          $article->getTable()->update($article);
  
          $response = new Eresus_HTTP_Redirect($this->getPage()->url(array('id' => '')));
          return $response;
      }
docs: Переключает активность статьи
  
  @param Eresus_CMS_Request $request
  
  @return Eresus_HTTP_Response