protected function configure($options = array(), $attributes = array()) { parent::configure($options, $attributes); $this->addOption('title', 'All students'); $this->addOption('group_by', PersonPeer::LASTNAME); $this->addOption('group_letters_count', 2); $this->addOption('url', url_for('csWidgetFormStudentMany/filterAllStudents')); $this->addOption('current_group', false); $this->addOption('no_group_text', 'Please click on some group of letters to filter students'); }
protected function configure($options = array(), $attributes = array()) { parent::configure($options, $attributes); $this->addOption('title', 'By division'); $this->addOption('url', url_for('csWidgetFormStudentMany/filterByDivision')); }