5require_once
'Services/Utilities/classes/class.ilConfirmationGUI.php';
50 parent::__construct();
104 $this->lng->txt(
'tst_change_quest_set_type_from_old_to_new_with_conflict'),
105 $this->testOBJ->getQuestionSetTypeTranslation($this->lng, $this->getOldQuestionSetType()),
106 $this->testOBJ->getQuestionSetTypeTranslation($this->lng, $this->getNewQuestionSetType())
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)}();
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() )
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
Confirmation screen class.
setHeaderText($a_headertext)
Set Set header text.
addHiddenItem($a_post_var, $a_value)
Add hidden item.
@classDescription Date and time handling
isQuestionLossInfoEnabled()
__construct(ilLanguage $lng, ilObjTest $testOBJ)
populateParametersFromPropertyForm(ilPropertyFormGUI $form, $timezone)
populateParametersFromPost()
setQuestionLossInfoEnabled($questionLossInfoEnabled)
setOldQuestionSetType($oldQuestionSetType)
setNewQuestionSetType($newQuestionSetType)