bundle/Controller/Admin/AdminController.php
public function overviewAction(Request $request)
    {
        $this->denyAccessUnlessGranted('ez:infocollector:read');

        $adapter = new InformationCollectionContentsAdapter($this->service, Query::count());
        $pager = $this->getPager($adapter, (int) $request->query->get('page'));

        return $this->render("NetgenInformationCollectionBundle:admin:overview.html.twig", ['objects' => $pager]);
    }
public function overviewAction(Request $request)
    {
        $this->denyAccessUnlessGranted('ez:infocollector:read');

        $adapter = new InformationCollectionContentsAdapter($this->service, Query::count());
        $pager = $this->getPager($adapter, (int) $request->query->get('page'));

        return $this->render("NetgenInformationCollectionBundle:admin:overview.html.twig", ['objects' => $pager]);
    }
public function overviewAction ( Request $ request ) { $ this -> denyAccessUnlessGranted ( 'ez:infocollector:read' ) ; $ adapter = new InformationCollectionContentsAdapter ( $ this -> service , Query :: count ( ) ) ; $ pager = $ this -> getPager ( $ adapter , ( int ) $ request -> query -> get ( 'page' ) ) ; return $ this -> render ( "NetgenInformationCollectionBundle:admin:overview.html.twig" , [ 'objects' => $ pager ] ) ; }
Displays overview page

@param \Symfony\Component\HttpFoundation\Request $request

@return \Symfony\Component\HttpFoundation\Response
Displays overview page