74 $headerText = sprintf(
75 $this->
lng->txt(
'tst_change_quest_set_type_from_old_to_new_with_conflict'),
76 $this->testOBJ->getQuestionSetTypeTranslation($this->lng, $this->getOldQuestionSetType()),
77 $this->testOBJ->getQuestionSetTypeTranslation($this->lng, $this->getNewQuestionSetType())
81 $headerText .=
'<br /><br />' . $this->
lng->txt(
'tst_nonpool_questions_get_lost_warning');
94 foreach ($_POST as
$key => $value) {
95 if (strcmp(
$key,
"cmd") != 0) {
96 if (is_array($value)) {
97 foreach ($value as $k => $v) {
110 switch (
$item->getType()) {
111 case 'section_header':
117 $datetime =
$item->getDate();
120 if ($datetime instanceof
ilDate) {
143 foreach ([
"start",
"end"] as
$type) {
144 $postVar =
$item->getPostVar() .
'[' .
$type .
']';
145 $datetime =
$item->{
'get' . ucfirst(
$type)}();
149 if ($datetime instanceof
ilDate) {
161 case 'checkboxgroup':
163 if (is_array(
$item->getValue())) {
164 foreach (
$item->getValue() as $option) {
173 $value =
$item->getValue();
174 if (!is_array($value)) {
175 $value = array($value);
177 foreach ($value as $option) {
185 if (
$item->getChecked()) {
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setHeaderText(string $a_headertext)
addHiddenItem(string $a_post_var, string $a_value)
@classDescription Date and time handling
isNull()
Check if a date is null (Datetime == '0000-00-00 00:00:00', unixtime == 0,...)
isQuestionLossInfoEnabled()
bool $questionLossInfoEnabled
setOldQuestionSetType(string $oldQuestionSetType)
__construct(ilObjTest $testOBJ)
populateParametersFromPropertyForm(ilPropertyFormGUI $form, $timezone)
populateParametersFromPost()
string $oldQuestionSetType
setQuestionLossInfoEnabled(bool $questionLossInfoEnabled)
setNewQuestionSetType(string $newQuestionSetType)
string $newQuestionSetType
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc