protected function setupInheritance()
 {
     parent::setupInheritance();
     $this->widgetSchema['related_list'] = new sfWidgetFormDoctrineChoice(array('multiple' => true, 'model' => 'Question'));
     $this->validatorSchema['related_list'] = new sfValidatorDoctrineChoice(array('multiple' => true, 'model' => 'Question', 'required' => false));
     $this->widgetSchema['tags_list'] = new sfWidgetFormDoctrineChoice(array('multiple' => true, 'model' => 'Tag'));
     $this->validatorSchema['tags_list'] = new sfValidatorDoctrineChoice(array('multiple' => true, 'model' => 'Tag', 'required' => false));
     $this->widgetSchema->setNameFormat('question_filters[%s]');
 }
 protected function setupInheritance()
 {
     parent::setupInheritance();
     $this->widgetSchema->setNameFormat('answer_filters[%s]');
 }