/**
  * @see sfForm
  */
 public function configure()
 {
     parent::configure();
     $profileForm = new ProfileForm($this->object->Profile);
     unset($profileForm['id'], $profileForm['sf_guard_user_id']);
     $this->embedForm('Profile', $profileForm);
 }
 public function configure()
 {
     parent::configure();
     /* embed the user profile form fields */
     $profileForm = new UserProfileAdminForm($this->object->UserProfile);
     unset($profileForm['id'], $profileForm['sf_guard_user_id']);
     $this->embedForm('UserProfile', $profileForm);
 }
 /**
  * @see sfForm
  */
 public function configure()
 {
     parent::configure();
     //   $profile = new MobilyrentProfile();
     //   $profile->setSfGuardUserId($this->getObject()->id);
     //   $profileForm = new MobilyrentProfileForm($profile);
     //   unset($profileForm['sf_guard_user_id'], $profileForm['sf_guard_user_id']);
     //   unset($profileForm['created_at'], $profileForm['created_at']);
     //   unset($profileForm['updated_at'], $profileForm['updated_at']);
     //   unset($profileForm['is_activated'],$profileForm['is_activated']);
     //   $this->embedForm('Profile', $profileForm);
     $profileForm = new MobilyrentProfileForm($this->object->Profile);
     unset($profileForm['id'], $profileForm['sf_guard_user_id']);
     unset($profileForm['created_at'], $profileForm['created_at']);
     unset($profileForm['updated_at'], $profileForm['updated_at']);
     unset($profileForm['is_activated'], $profileForm['is_activated']);
     $this->embedForm('Profile', $profileForm);
 }
 public function configure()
 {
     parent::configure();
     unset($this['rated_plugins_list'], $this['is_super_admin'], $this['is_active'], $this['permissions_list'], $this['groups_list']);
 }