3declare(strict_types=1);
5use \ILIAS\UI\Component\Input\Field;
6use \ILIAS\Refinery\Factory as Refinery;
132 return $input->section(
134 $input->text(
$lng->txt(
"title"))
136 ->withRequired(
true),
137 $input->textarea(
$lng->txt(
"description"))
139 $input->textarea(
$lng->txt(
"iass_content"),
$lng->txt(
"iass_content_explanation"))
141 $input->textarea(
$lng->txt(
"iass_record_template"),
$lng->txt(
"iass_record_template_explanation"))
143 $input->checkbox(
$lng->txt(
"iass_event_time_place_required"),
$lng->txt(
"iass_event_time_place_required_info"))
145 $input->checkbox(
$lng->txt(
"iass_file_required"),
$lng->txt(
"iass_file_required_info"))
148 $lng->txt(
"settings")
149 )->withAdditionalTransformation(
150 $refinery->custom()->transformation(function ($value) {
151 return new \ilIndividualAssessmentSettings(
An exception for terminatinating execution or to throw for unit testing.
return true
Flag indicating whether or not HTTP headers will be sent when outputting captcha image/audio.
An object carrying settings of an Individual Assessment obj beyond the standart information.
isEventTimePlaceRequired()
Get the value of the checkbox event_time_place_require.
isFileRequired()
Get the value of the checkbox file_required.
$event_time_place_required
toFormInput(Field\Factory $input, \ilLanguage $lng, Refinery $refinery)
getTitle()
Get the content of this assessment, e.g.
__construct(int $obj_id, string $title, string $description, string $content, string $record_template, bool $event_time_place_required, bool $file_required)
getObjId()
Get the id of corresponding iass-object.
getDescription()
Get the content of this assessment, e.g.
getRecordTemplate()
Get the record template to be used as default record with corresponding object.
getContent()
Get the content of this assessment, e.g.