src/Sulu/Bundle/WebsiteBundle/Controller/AnalyticsController.php
public function cdeleteAction(Request $request, $webspace)
    {
        $ids = array_filter(explode(',', $request->get('ids', '')));

        $this->get('sulu_website.analytics.manager')->removeMultiple($ids);
        $this->get('doctrine.orm.entity_manager')->flush();
        $this->get('sulu_website.http_cache.clearer')->clear();

        return $this->handleView($this->view(null, 204));
    }
public function cdeleteAction(Request $request, $webspace)
    {
        $ids = array_filter(explode(',', $request->get('ids', '')));

        $this->get('sulu_website.analytics.manager')->removeMultiple($ids);
        $this->get('doctrine.orm.entity_manager')->flush();
        $this->get('sulu_website.http_cache.clearer')->clear();

        return $this->handleView($this->view(null, 204));
    }
public function cdeleteAction ( Request $ request , $ webspace ) { $ ids = array_filter ( explode ( ',' , $ request -> get ( 'ids' , '' ) ) ) ; $ this -> get ( 'sulu_website.analytics.manager' ) -> removeMultiple ( $ ids ) ; $ this -> get ( 'doctrine.orm.entity_manager' ) -> flush ( ) ; $ this -> get ( 'sulu_website.http_cache.clearer' ) -> clear ( ) ; return $ this -> handleView ( $ this -> view ( null , 204 ) ) ; }
Removes a list of analytics.

@param Request $request
@param $webspace

@return Response
Removes a list of analytics .