public function setup()
 {
     parent::setup();
     unset($this['id']);
     unset($this['album_id']);
     unset($this['member_id']);
     unset($this['file_id']);
     unset($this['filesize']);
     unset($this['created_at']);
     unset($this['updated_at']);
     sfContext::getInstance()->getConfiguration()->loadHelpers('Partial');
     $this->setWidget('description', new sfWidgetFormInput(array(), array('size' => 40)));
     $this->getWidgetSchema()->moveField('description', sfWidgetFormSchema::LAST);
 }
 public function setup()
 {
     parent::setup();
     unset($this['id']);
     unset($this['album_id']);
     unset($this['member_id']);
     unset($this['file_id']);
     unset($this['filesize']);
     unset($this['created_at']);
     unset($this['updated_at']);
     sfContext::getInstance()->getConfiguration()->loadHelpers('Partial');
     $this->setWidget('description', new sfWidgetFormInput(array(), array('size' => 40)));
     $this->setValidator('description', new opValidatorString(array('trim' => true, 'max_length' => 140, 'required' => false)));
     $this->getWidgetSchema()->moveField('description', sfWidgetFormSchema::LAST);
 }