Exemple #1
0
 public function executeAutoCompleteCo($request)
 {
     $this->getResponse()->setContentType('application/json');
     $convocatorias = ConvocatoriaPeer::retrieveForAutoSelect($request->getParameter('q'), $request->getParameter('limit'));
     return $this->renderText(json_encode($convocatorias));
 }