4require_once 
"./Services/Badge/interfaces/interface.ilBadgeTypeGUI.php";
 
   23                include_once 
"Services/User/classes/class.ilPersonalProfileGUI.php";
 
   25                $gui->showPublicProfileFields($a_form, array(), $fields, 
true);
 
   30                if(is_array($a_config[
"profile"]))
 
   33                        foreach($group->getSubItems() as $field)
 
   35                                foreach($a_config[
"profile"] as $id)
 
   37                                        if($field->getPostVar() == $id)
 
   39                                                $field->setChecked(
true);
 
   50                foreach(array_keys(
$_POST) as $id)
 
   52                        if(substr($id, 0, 4) == 
"chk_")
 
   58                return array(
"profile" => $fields);
 
An exception for terminatinating execution or to throw for unit testing.
GUI class for personal profile.
validateForm(ilPropertyFormGUI $a_form)
Custom form validation.
initConfigForm(ilPropertyFormGUI $a_form, $a_parent_ref_id)
Add custom fields to form.
importConfigToForm(ilPropertyFormGUI $a_form, array $a_config)
Set form values.
getConfigFromForm(ilPropertyFormGUI $a_form)
Export values to DB.
Badge type gui interface.