public function __construct($options = array(), $attributes = array()) { $this->pager = new dmDoctrinePager($options['model']); if (isset($options['query'])) { $this->pager->setQuery($options['query']); } $options['translate_choices'] = false; parent::__construct($options, $attributes); }
/** * @see sfWidget */ public function __construct($options = array(), $attributes = array()) { $options['choices'] = array(); parent::__construct($options, $attributes); }