public function setMemberConfigWidget($name)
 {
     $result = parent::setMemberConfigWidget($name);
     if ($name === 'blog_url') {
         $this->widgetSchema['blog_url']->setAttributes(array('size' => 69));
         $this->mergePostValidator(new sfValidatorCallback(array('callback' => array($this, 'validate'))));
     }
     return $result;
 }
 public function setMemberConfigWidget($name)
 {
     $result = parent::setMemberConfigWidget($name);
     if ($name === 'access_block') {
         $this->setDefault($name, $this->blockedId);
         $this->mergePostValidator(new sfValidatorCallback(array('callback' => array('MemberConfigAccessBlockForm', 'validate'), 'arguments' => array('ids' => $this->blockedId))));
     }
     return $result;
 }