Skip to main content

Home/ foograde/ Group items tagged executing

Rss Feed Group items tagged

Adán Muguiro

Doctrine y select Max - 0 views

  • $this->linea = Doctrine_Query::create()    ->select('MAX(linea) AS linea')    ->from('Tabla')    ->execute();
  •  
    Hacer una consulta select max con doctrine
Fernando Vega

symfony framework forum: symfony 1.3 and 1.4 => is there anyone can tell me how to use ... - 0 views

  • in the form $this->widgetSchema['login_id'] = new sfWidgetFormJQueryAutocompleter(array( 'url' => '/ajax/getUser', )); and in the action of executeGetUser $this->getResponse()->setContentType('application/json'); $users=Doctrine::getTable('user')->getLoginIDList(); return $this->renderText(json_encode($users)); And in the userTable which inside Doctrine $q=Doctrine_Query::create()->select('login_id')->from('user')- >execute(); foreach($q as $row){ $login_id[$row->login_id]=$row->login_id; } return $login_id; hope this help =]
    • Fernando Vega
       
      autocompletar con doctrine y sf 1.4
1 - 3 of 3
Showing 20 items per page