Example #1
0
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
 public function executeAutocomplete(sfWebRequest $request)
 {
     $this->renderText(json_encode(PhotographerPeer::getArrayForAutocomplete($request->getParameter("q"))));
     return sfView::NONE;
 }