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'),
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)}();
179 if ($datetime instanceof ilDateTime) {
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()) {
setQuestionLossInfoEnabled($questionLossInfoEnabled)
addHiddenItem($a_post_var, $a_value)
Add hidden item.
populateParametersFromPropertyForm(ilPropertyFormGUI $form, $timezone)
populateParametersFromPost()
setOldQuestionSetType($oldQuestionSetType)
setNewQuestionSetType($newQuestionSetType)
if(isset($_POST['submit'])) $form
__construct(ilLanguage $lng, ilObjTest $testOBJ)
setHeaderText($a_headertext)
Set Set header text.
isQuestionLossInfoEnabled()
Confirmation screen class.