protected function setupInheritance() { parent::setupInheritance(); $this->widgetSchema['additional'] = new sfWidgetFormInputText(); $this->validatorSchema['additional'] = new sfValidatorString(array('max_length' => 255, 'required' => false)); $this->widgetSchema->setNameFormat('author_inheritance_concrete[%s]'); }
protected function setupInheritance() { parent::setupInheritance(); $this->widgetSchema->setNameFormat('blog_author[%s]'); }