19 declare(strict_types=1);
76 $headerText = sprintf(
77 $this->
lng->txt(
'tst_change_quest_set_type_from_old_to_new_with_conflict'),
83 $headerText .=
'<br /><br />' . $this->
lng->txt(
'tst_nonpool_questions_get_lost_warning');
96 foreach ($_POST as
$key => $value) {
97 if (strcmp(
$key,
"cmd") != 0) {
98 if (is_array($value)) {
99 foreach ($value as $k => $v) {
112 switch (
$item->getType()) {
113 case 'section_header':
145 foreach ([
"start",
"end"] as $type) {
146 $postVar =
$item->getPostVar() .
'[' . $type .
']';
163 case 'checkboxgroup':
165 if (is_array(
$item->getValue())) {
166 foreach (
$item->getValue() as $option) {
175 $value =
$item->getValue();
176 if (!is_array($value)) {
177 $value = array($value);
179 foreach ($value as $option) {
187 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()
bool $questionLossInfoEnabled
setQuestionLossInfoEnabled(bool $questionLossInfoEnabled)
__construct(ilObjTest $testOBJ)
setNewQuestionSetType(string $newQuestionSetType)