5require_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'),
 
  105            $this->testOBJ->getQuestionSetTypeTranslation($this->lng, $this->getOldQuestionSetType()),
 
  106            $this->testOBJ->getQuestionSetTypeTranslation($this->lng, $this->getNewQuestionSetType())
 
  110            $headerText .= 
'<br /><br />' . $this->lng->txt(
'tst_nonpool_questions_get_lost_warning');
 
  124            if (strcmp(
$key, 
"cmd") != 0) {
 
  125                if (is_array($value)) {
 
  126                    foreach ($value as $k => $v) {
 
  142            switch (
$item->getType()) {
 
  143                case 'section_header':
 
  149                    $datetime = 
$item->getDate();
 
  152                        if (!($date instanceof 
ilDate)) {
 
  175                    foreach (array(
"start", 
"end") as 
$type) {
 
  176                        $postVar = 
$item->getPostVar() . 
'[' . 
$type . 
']';
 
  177                        $datetime = 
$item->{
'get' . ucfirst(
$type)}();
 
  181                            if (!($date instanceof 
ilDate)) {
 
  193                case 'checkboxgroup':
 
  195                    if (is_array(
$item->getValue())) {
 
  196                        foreach (
$item->getValue() as $option) {
 
  205                    $value = 
$item->getValue();
 
  206                    if (!is_array($value)) {
 
  207                        $value = array($value);
 
  209                    foreach ($value as $option) {
 
  217                    if (
$item->getChecked()) {
 
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)
if(isset($_POST['submit'])) $form