5 require_once
'Services/Utilities/classes/class.ilConfirmationGUI.php';
50 parent::__construct();
103 $headerText = sprintf(
104 $this->lng->txt(
'tst_change_quest_set_type_from_old_to_new_with_conflict'),
111 $headerText .=
'<br /><br />'.$this->lng->txt(
'tst_nonpool_questions_get_lost_warning');
124 foreach (
$_POST as $key => $value)
126 if (strcmp($key,
"cmd") != 0)
128 if (is_array($value))
130 foreach ($value as $k => $v)
152 switch(
$item->getType() )
154 case 'section_header':
160 $datetime =
$item->getDate();
164 if(!($date instanceof
ilDate))
192 foreach(
array(
"start",
"end") as $type)
194 $postVar =
$item->getPostVar() .
'[' . $type .
']';
195 $datetime =
$item->{
'get' . ucfirst($type)}();
197 if($datetime instanceof ilDateTime)
200 if(!($date instanceof
ilDate))
217 case 'checkboxgroup':
219 if( is_array(
$item->getValue()) )
221 foreach(
$item->getValue() as $option )
231 $value =
$item->getValue();
232 if( !is_array($value) )
234 $value =
array($value);
236 foreach( $value as $option )
245 if(
$item->getChecked() )
setQuestionLossInfoEnabled($questionLossInfoEnabled)
addHiddenItem($a_post_var, $a_value)
Add hidden item.
populateParametersFromPropertyForm(ilPropertyFormGUI $form, $timezone)
populateParametersFromPost()
setOldQuestionSetType($oldQuestionSetType)
setNewQuestionSetType($newQuestionSetType)
__construct(ilLanguage $lng, ilObjTest $testOBJ)
Create styles array
The data for the language used.
setHeaderText($a_headertext)
Set Set header text.
isQuestionLossInfoEnabled()
Confirmation screen class.