33         $this->request = $DIC->http()->request();
    46         $gui->showPublicProfileFields($a_form, [], $fields, 
true);
    51         if (is_array($a_config[
"profile"])) {
    53             foreach ($group->getSubItems() as $field) {
    54                 foreach ($a_config[
"profile"] as 
$id) {
    55                     if ($field->getPostVar() == 
$id) {
    56                         $field->setChecked(
true);
    67         foreach (array_keys($this->request->getParsedBody()) as 
$id) {
    68             if (strpos($id, 
"chk_") === 0) {
    73         return [
"profile" => $fields];
 
RequestInterface $request
 
importConfigToForm(ilPropertyFormGUI $a_form, array $a_config)
Set form values. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
validateForm(ilPropertyFormGUI $a_form)
Custom form validation. 
 
initConfigForm(ilPropertyFormGUI $a_form, int $a_parent_ref_id)
Add custom fields to form. 
 
getConfigFromForm(ilPropertyFormGUI $a_form)
Export values to DB. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins