74 $headerText = sprintf(
75 $this->
lng->txt(
'tst_change_quest_set_type_from_old_to_new_with_conflict'),
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();
118 if ($datetime instanceof
ilDateTime && !$datetime->isNull()) {
120 if ($datetime instanceof
ilDate) {
143 foreach ([
"start",
"end"] as
$type) {
144 $postVar =
$item->getPostVar() .
'[' . $type .
']';
145 $datetime =
$item->{
'get' . ucfirst($type)}();
147 if ($datetime instanceof
ilDateTime && !$datetime->isNull()) {
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()) {
populateParametersFromPropertyForm(ilPropertyFormGUI $form, $timezone)
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
string $oldQuestionSetType
populateParametersFromPost()
setHeaderText(string $a_headertext)
addHiddenItem(string $a_post_var, string $a_value)
string $newQuestionSetType
setOldQuestionSetType(string $oldQuestionSetType)
isQuestionLossInfoEnabled()
__construct(Container $dic, ilPlugin $plugin)
bool $questionLossInfoEnabled
setQuestionLossInfoEnabled(bool $questionLossInfoEnabled)
__construct(ilObjTest $testOBJ)
setNewQuestionSetType(string $newQuestionSetType)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...