public function configure() { parent::configure(); unset($this['downloads_count'], $this['comments_count'], $this['slug'], $this['official'], $this['created_at'], $this['retrieved_at'], $this['updated_at'], $this['description_clean']); unset($this->widgetSchema); $this->setWidgets(array('url' => new sfWidgetFormInputText())); unset($this->validatorSchema['description_clean']); $this->validatorSchema['category'] = new sfValidatorPass(); $this->validatorSchema['dependencies'] = new sfValidatorPass(); $this->validatorSchema['screenshot'] = new sfValidatorPass(); $this->validatorSchema['screenshots'] = new sfValidatorPass(); $this->validatorSchema['tags'] = new sfValidatorPass(); $this->validatorSchema['stabletag'] = new sfValidatorPass(); $this->validatorSchema['gitTags'] = new sfValidatorPass(); $this->validatorSchema['arbitrarySections'] = new sfValidatorPass(); }