protected function setupInheritance() { parent::setupInheritance(); $this->widgetSchema['transporters_list'] = new sfWidgetFormDoctrineChoice(array('multiple' => true, 'model' => 'ExtendedCustomer')); $this->validatorSchema['transporters_list'] = new sfValidatorDoctrineChoice(array('multiple' => true, 'model' => 'ExtendedCustomer', 'required' => false)); $this->widgetSchema->setNameFormat('transporter[%s]'); }
protected function setupInheritance() { parent::setupInheritance(); $this->widgetSchema->setNameFormat('customer[%s]'); }