Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $options = sfContext::getInstance()->getUser()->getId('att');
  2. $c=new Criteria();
  3. $c->add(SipsmslistPeer::USER_ID,$options);
  4.  
  5. $this->widgetSchema['nom_list']= new sfWidgetFormPropelChoice(array(
  6. 'model' => 'Sipsmslist',
  7. 'add_empty' => false,
  8. 'criteria' => $c,
  9. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement