public function setup()
 {
     $this->widgetSchema['search'] = new sfWidgetFormInputText();
     $this->validatorSchema['search'] = new sfValidatorString(array('required' => false));
     $this->widgetSchema->setHelp('search', 'Enter keywords to search by. Wildcards (*) are supported.');
     $this->widgetSchema->setNameFormat('search[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
     $this->setupInheritance();
     parent::setup();
 }
 public function setup()
 {
     $this->setupNestedSet();
     parent::setup();
 }