90         $form->setFormAction($this->
ctrl->getFormAction($this));
    91         $form->setTitle($this->
getLang()->txt(
'mem_' . $a_type . 
'_form'));
    94         $fields[
'name'] = $this->
lng->txt(
'name');
    95         $fields[
'login'] = $this->
lng->txt(
'login');
    96         $fields[
'email'] = $this->
lng->txt(
'email');
    99         $field_info->sortExportFields();
   101         foreach ($field_info->getExportableFields() as $field) {
   111             $fields[$field] = $this->
lng->txt($field);
   116         $exportable = array();
   117         if ($this->parent_type === 
'crs') {
   118             $exportable = $udf->getCourseExportableFields();
   119         } elseif ($this->parent_type === 
'grp') {
   120             $exportable = $udf->getGroupExportableFields();
   122         foreach ($exportable as $field_id => $udf_data) {
   123             $fields[
'udf_' . $field_id] = $udf_data[
'field_name'];
   127         foreach ($fields as 
$id => $name) {
   130         $form->addItem($ufields);
   133         if ($this->parent_type === 
'crs') {
   134             if ($privacy->enabledCourseAccessTimes()) {
   138         if ($this->parent_type === 
'grp') {
   139             if ($privacy->enabledGroupAccessTimes()) {
   147         $blank->setMulti(
true);
   148         $form->addItem($blank);
   153         if ($this->parent_type === 
'crs') {
   158         if (!$this->parent_obj_id) {
   159             $subscriber = 
new ilCheckboxOption($this->
lng->txt(
'event_user_selection_include_requests'), 
'subscr');
   160             $roles->addOption($subscriber);
   162             $waiting_list = 
new ilCheckboxOption($this->
lng->txt(
'event_user_selection_include_waiting_list'), 
'wlist');
   163             $roles->addOption($waiting_list);
   165         $form->addItem($roles);
   168             case self::TYPE_PRINT_VIEW_SETTINGS:
   171                 if ($this->
http->wrapper()->query()->has(
'ref_id')) {
   172                     $ref_id = $this->
http->wrapper()->query()->retrieve(
   178                 if ($this->rbacsystem->checkAccess(
'write', 
$ref_id)) {
   179                     $form->addCommandButton(
'savePrintViewSettings', $this->
getLang()->txt(
'save'));
   184         $identifier = $this->parent_type . 
's_pview';
   185         if ($this->parent_obj_id) {
   188             $identifier_for_object = $identifier . 
'_0';
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static http()
Fetches the global http state from ILIAS. 
 
static _getInstanceByType(string $a_type)
Get Singleton Instance. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins