public function getResultsAction()
    {
        $datatable = $this->get('olix_security.datatable.user');
        $datatable->buildDatatable(array(
            'entity' => $this->container->getParameter('fos_user.model.user.class'),
            'delay'  => $this->container->getParameter('olix.security.activity.delay'),
        ));
        
        $query = $this->get('sg_datatables.query')->getQueryFrom($datatable);
        
        return $query->getResponse();
    }
public function getResultsAction()
    {
        $datatable = $this->get('olix_security.datatable.user');
        $datatable->buildDatatable(array(
            'entity' => $this->container->getParameter('fos_user.model.user.class'),
            'delay'  => $this->container->getParameter('olix.security.activity.delay'),
        ));
        
        $query = $this->get('sg_datatables.query')->getQueryFrom($datatable);
        
        return $query->getResponse();
    }
public function getResultsAction ( ) { $ datatable = $ this -> get ( 'olix_security.datatable.user' ) ; $ datatable -> buildDatatable ( array ( 'entity' => $ this -> container -> getParameter ( 'fos_user.model.user.class' ) , 'delay' => $ this -> container -> getParameter ( 'olix.security.activity.delay' ) , ) ) ; $ query = $ this -> get ( 'sg_datatables.query' ) -> getQueryFrom ( $ datatable ) ; return $ query -> getResponse ( ) ; }
Retourne les utilisateurs en mode AJAX

@return \Symfony\Component\HttpFoundation\Response : JSON
Retourne les utilisateurs en mode AJAX