Exemple #1
0
 public function configure()
 {
     parent::configure();
     $guarduser = $this->getGuardUser();
     $sfguarduserForm = new sfGuardUserForm($guarduser);
     unset($this['id'], $this['sf_guard_user_id'], $this['user_type'], $this['token']);
     unset($sfguarduserForm['salt'], $sfguarduserForm['algorithm'], $sfguarduserForm['is_active'], $sfguarduserForm['is_super_admin'], $sfguarduserForm['last_login'], $sfguarduserForm['created_at'], $sfguarduserForm['updated_at'], $sfguarduserForm['groups_list'], $sfguarduserForm['permissions_list']);
     $this->embedForm('GuardUser', $sfguarduserForm);
 }
Exemple #2
0
 public function configure()
 {
     parent::configure();
     $this->configure_specific();
 }