src/articles/classes/Controller/Admin/Content.php
protected function actionDelImage(Eresus_CMS_Request $request)
    {
        $article = $this->findArticle($request->query->getInt('id'));
        $article->image = null;
        $url = $this->getPage()->url(array('id' => $article->id, 'action' => 'edit'));
        return new Eresus_HTTP_Redirect($url);
    }
protected function actionDelImage(Eresus_CMS_Request $request)
    {
        $article = $this->findArticle($request->query->getInt('id'));
        $article->image = null;
        $url = $this->getPage()->url(array('id' => $article->id, 'action' => 'edit'));
        return new Eresus_HTTP_Redirect($url);
    }
protected function actionDelImage ( Eresus_CMS_Request $ request ) { $ article = $ this -> findArticle ( $ request -> query -> getInt ( 'id' ) ) ; $ article -> image = null ; $ url = $ this -> getPage ( ) -> url ( array ( 'id' => $ article -> id , 'action' => 'edit' ) ) ; return new Eresus_HTTP_Redirect ( $ url ) ; }
Удаляет картинку статьи

@param Eresus_CMS_Request $request

@return Eresus_HTTP_Response
Удаляет картинку статьи