ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilTestExpressPageObjectGUI Class Reference

ilTestExpressPageObjectGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilTestExpressPageObjectGUI: assOrderingQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI ilTestExpressPageObjectGUI: assNumericGUI ilTestExpressPageObjectGUI: assTextSubsetGUI ilTestExpressPageObjectGUI: assSingleChoiceGUI ilTestExpressPageObjectGUI: assTextQuestionGUI, assFormulaQuestionGUI ilTestExpressPageObjectGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMediaPoolTargetSelector ilTestExpressPageObjectGUI: ilRatingGUI, ilPublicUserProfileGUI, ilAssQuestionPageGUI, ilNoteGUI ilTestExpressPageObjectGUI: ilObjQuestionPoolGUI ilTestExpressPageObjectGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilTestExpressPageObjectGUI: assOrderingQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI ilTestExpressPageObjectGUI: assNumericGUI ilTestExpressPageObjectGUI: assTextSubsetGUI ilTestExpressPageObjectGUI: assSingleChoiceGUI ilTestExpressPageObjectGUI: assTextQuestionGUI, assFormulaQuestionGUI More...

+ Inheritance diagram for ilTestExpressPageObjectGUI:
+ Collaboration diagram for ilTestExpressPageObjectGUI:

Public Member Functions

 nextQuestion ()
 prevQuestion ()
 __construct ($a_id=0, $a_old_nr=0)
 Constructor.
executeCommand ()
 execute command
 addPageOfQuestions ($type= '')
 handleToolbarCommand ()
 addQuestion ()
 questions ()
 browseForQuestions ()
 insertQuestions ()
 filterAvailableQuestions ()
 resetfilterAvailableQuestions ()

Private Member Functions

 redirectToQuestionEditPage ($questionType, $qid, $prev_qid)
 redirectToQuestionPoolSelectionPage ($questionType, $qid, $prev_qid)

Additional Inherited Members

- Static Public Member Functions inherited from ilPageObjectGUI
static getTinyMenu ($a_par_type, $a_int_links=false, $a_wiki_links=false, $a_keywords=false, $a_style_id=0, $a_paragraph_styles=true, $a_save_return=true, $a_anchors=false, $a_save_new=true)
 Get Tiny Menu.
- Data Fields inherited from ilPageObjectGUI
 $tpl
 $lng
 $ctrl
 $obj
 $output_mode
 $presentation_title
 $target_script
 $return_location
 $target_var
 $template_output_var
 $output2template
 $link_params
 $bib_id
 $citation
 $sourcecode_download_script
 $change_comments
 $question_html
 $activation = false
 $activated = true
 $editpreview = false
 $use_meta_data = false
 $link_xml_set = false
 $enableediting = true
 $rawpagecontent = false
 $enabledcontentincludes = false
 $compare_mode = false
 $page_config = null
 $tabs_enabled = true
 $render_page_container = false
 $pl_start = "{{{{{"
 $pl_end = "}}}}}"
- Protected Member Functions inherited from ilAssQuestionPageGUI
 isPageContainerToBeRendered ()
- Protected Attributes inherited from ilPageObjectGUI
 $parent_type = ""

Detailed Description

Constructor & Destructor Documentation

ilTestExpressPageObjectGUI::__construct (   $a_id = 0,
  $a_old_nr = 0 
)

Constructor.

Parameters
int$a_id
int$a_old_nr
Returns

Reimplemented from ilAssQuestionPageGUI.

Definition at line 70 of file class.ilTestExpressPageObjectGUI.php.

{
parent::__construct($a_id, $a_old_nr);
}

Member Function Documentation

ilTestExpressPageObjectGUI::addPageOfQuestions (   $type = '')

Definition at line 213 of file class.ilTestExpressPageObjectGUI.php.

References $_GET, $_REQUEST, $ilCtrl, ilPageObjectGUI\$obj, assQuestionGUI\_getQuestionGUI(), ilObjectFactory\getInstanceByRefId(), and ilObjQuestionPool\getQuestionTypeByTypeId().

Referenced by executeCommand().

{
global $ilCtrl;
if( !$type )
{
$qtype = $_REQUEST['qtype'];
$pool = new ilObjQuestionPool();
}
$this->ctrl->setReturn($this, "questions");
include_once "./Modules/TestQuestionPool/classes/class.assQuestionGUI.php";
$q_gui->object->setObjId($obj->getId());
return $q_gui;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTestExpressPageObjectGUI::addQuestion ( )

Definition at line 338 of file class.ilTestExpressPageObjectGUI.php.

References $_REQUEST, $ilCtrl, ilPageObjectGUI\$lng, $options, $si, ilPageObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilRadioGroupInputGUI\addOption(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilRadioOption\setValue().

{
global $lng, $ilCtrl, $tpl;
include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
$ilCtrl->setParameter($this, 'qtype', $_REQUEST['qtype']);
$form = new ilPropertyFormGUI();
$ilCtrl->setParameter($this, 'test_express_mode', 1);
$form->setFormAction($ilCtrl->getFormAction($this, "handleToolbarCommand"));
$form->setTitle($lng->txt("ass_create_question"));
include_once 'Modules/TestQuestionPool/classes/class.ilObjQuestionPool.php';
$pool = new ilObjQuestionPool();
$questionTypes = $pool->getQuestionTypes(false, true);
$options = array();
// question type
foreach($questionTypes as $label => $data)
{
$options[$data['question_type_id']] = $label;
}
include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
$si = new ilSelectInputGUI($lng->txt("question_type"), "qtype");
$si->setOptions($options);
$form->addItem($si, true);
// position
$questions = $this->test_object->getQuestionTitlesAndIndexes();
if($questions)
{
$si = new ilSelectInputGUI($lng->txt("position"), "position");
$options = array('0' => $lng->txt('first'));
foreach($questions as $key => $title)
{
$options[$key] = $lng->txt('behind') . ' '. $title . ' ['.$this->lng->txt('question_id_short') . ': '. $key .']';
}
$si->setOptions($options);
$si->setValue($_REQUEST['q_id']);
$form->addItem($si, true);
}
// content editing mode
{
$ri = new ilRadioGroupInputGUI($lng->txt("tst_add_quest_cont_edit_mode"), "add_quest_cont_edit_mode");
$lng->txt('tst_add_quest_cont_edit_mode_default'),
));
$ri->addOption(new ilRadioOption(
$lng->txt('tst_add_quest_cont_edit_mode_page_object'),
));
$form->addItem($ri, true);
}
else
{
$hi = new ilHiddenInputGUI("question_content_editing_type");
$form->addItem($hi, true);
}
if($this->test_object->getPoolUsage())
{
// use pool
$usage = new ilRadioGroupInputGUI($this->lng->txt("assessment_pool_selection"), "usage");
$usage->setRequired(true);
$no_pool = new ilRadioOption($this->lng->txt("assessment_no_pool"), 1);
$usage->addOption($no_pool);
$existing_pool = new ilRadioOption($this->lng->txt("assessment_existing_pool"), 3);
$usage->addOption($existing_pool);
$new_pool = new ilRadioOption($this->lng->txt("assessment_new_pool"), 2);
$usage->addOption($new_pool);
$form->addItem($usage);
$usage->setValue(1);
$questionpools = ilObjQuestionPool::_getAvailableQuestionpools(FALSE, FALSE, TRUE, FALSE, FALSE, "write");
$pools_data = array();
foreach($questionpools as $key => $p)
{
$pools_data[$key] = $p['title'];
}
$pools = new ilSelectInputGUI($this->lng->txt("select_questionpool"), "sel_qpl");
$pools->setOptions($pools_data);
$existing_pool->addSubItem($pools);
$name = new ilTextInputGUI($this->lng->txt("name"), "txt_qpl");
$name->setSize(50);
$name->setMaxLength(50);
$new_pool->addSubItem($name);
}
$form->addCommandButton("handleToolbarCommand", $lng->txt("create"));
$form->addCommandButton("questions", $lng->txt("cancel"));
return $tpl->setContent($form->getHTML());
}

+ Here is the call graph for this function:

ilTestExpressPageObjectGUI::browseForQuestions ( )

Definition at line 488 of file class.ilTestExpressPageObjectGUI.php.

References $_REQUEST, $ilCtrl, ilPageObjectGUI\$tpl, and ilTable2GUI\setData().

{
global $ilAccess, $tpl, $ilCtrl;
$ilCtrl->setParameterByClass(get_class($this), "browse", "1");
include_once "./Modules/Test/classes/tables/class.ilTestQuestionBrowserTableGUI.php";
$table_gui = new ilTestQuestionBrowserTableGUI($this, 'browseForQuestions', $_REQUEST['ref_id'], (($ilAccess->checkAccess("write", "", $_REQUEST['ref_id']) ? true : false)));
$arrFilter = array();
foreach ($table_gui->getFilterItems() as $item)
{
if ($item->getValue() !== false)
{
$arrFilter[$item->getPostVar()] = $item->getValue();
}
}
$data = $this->test_object->getAvailableQuestions($arrFilter, 1);
$table_gui->setData($data);
$tpl->setVariable('ADM_CONTENT', $table_gui->getHTML());
}

+ Here is the call graph for this function:

& ilTestExpressPageObjectGUI::executeCommand ( )

execute command

Reimplemented from ilPageObjectGUI.

Definition at line 74 of file class.ilTestExpressPageObjectGUI.php.

References $_GET, $_REQUEST, $cmd, $ilCtrl, $ilUser, ilPageObjectGUI\$lng, ilPageObjectGUI\$obj, $ret, $total, assQuestionGUI\_getQuestionGUI(), addPageOfQuestions(), ilPageObjectGUI\getEnableEditing(), ilPageObjectGUI\getHeader(), ilObjectFactory\getInstanceByRefId(), ilPageObjectGUI\getPageObject(), ilObjQuestionPool\getQuestionTypeByTypeId(), IL_PAGE_EDIT, IL_PAGE_PREVIEW, ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilPageObjectGUI\setOutputMode(), and ilPageObjectGUI\showPage().

{
global $ilCtrl, $ilTabs, $ilUser, $lng;
$next_class = $this->ctrl->getNextClass($this);
$cmd = $this->ctrl->getCmd();
switch ($next_class)
{
case 'ilobjquestionpoolgui':
$nodeParts = explode(':', $_GET['cmdNode']);
$params = array(
'ref_id' => $_GET['ref_id'],
'calling_test' => $_GET['ref_id'],
'q_id' => $_GET['q_id'],
'cmd' => $_GET['cmd'],
'cmdClass' => $_GET['cmdClass'],
'cmdNode' => $nodeParts[count($nodeParts) - 2] . ':' . $nodeParts[count($nodeParts) - 1],
'baseClass' => 'ilObjQuestionPoolGUI',
'test_express_mode' => '1'
);
ilUtil::redirect('ilias.php?' . http_build_query($params, null, '&'));
break;
case "ilpageeditorgui":
if (!$this->getEnableEditing())
{
ilUtil::sendFailure($lng->txt("permission_denied"), true);
$ilCtrl->redirect($this, "preview");
}
$page_editor = & new ilPageEditorGUI($this->getPageObject(), $this);
$page_editor->setLocator($this->locator);
$page_editor->setHeader($this->getHeader());
$page_editor->setPageBackTitle($this->page_back_title);
$page_editor->setIntLinkReturn($this->int_link_return);
$this->ctrl->saveParameterByClass('ilpageeditorgui', 'q_mode');
$ret = & $this->ctrl->forwardCommand($page_editor);
break;
case '':
case 'iltestexpresspageobjectgui':
include_once 'Modules/TestQuestionPool/classes/class.assQuestionGUI.php';
if( $cmd == 'view' )
{
$cmd = 'showPage';
}
$q_gui = & assQuestionGUI::_getQuestionGUI('', $_REQUEST["q_id"]);
if ($q_gui->object)
{
$q_gui->object->setObjId($obj->getId());
}
$cmds = array(
'handleToolbarCommand',
'addQuestion',
'questions',
'insertQuestions',
'browseForQuestions',
'filterAvailableQuestions',
'resetfilterAvailableQuestions'
);
if( in_array($cmd, $cmds) )
{
return $this->$cmd();
}
elseif( $q_gui->object )
{
$total = $this->test_object->evalTotalPersons();
if( $total != 0 )
{
$link = $ilCtrl->getLinkTargetByClass('ilobjtestgui', "participants");
$link = "<a href=\"".$link."\">".$lng->txt("test_has_datasets_warning_page_view_link")."</a>";
ilUtil::sendInfo($lng->txt("test_has_datasets_warning_page_view")." ".$link);
}
if( in_array($cmd, array('view', 'showPage')) || $cmd == 'edit' && $this->test_object->evalTotalPersons() )
{
return $this->showPage();
}
}
break;
default:
$qtype = $_REQUEST['qtype'];
if( !$_GET['q_id'] )
{
$q_gui = $this->addPageOfQuestions(preg_replace('/(.*?)gui/i', '$1', $_GET['sel_question_types']));
$q_gui->setQuestionTabs();
$ret = $this->ctrl->forwardCommand($q_gui);
break;
}
$this->ctrl->setReturn($this, "questions");
include_once "./Modules/TestQuestionPool/classes/class.assQuestionGUI.php";
$q_gui = & assQuestionGUI::_getQuestionGUI($type, $_GET["q_id"]);
if( $q_gui->object )
{
$q_gui->object->setObjId($obj->getId());
}
$this->ctrl->saveParameterByClass('ilpageeditorgui', 'q_id');
$this->ctrl->saveParameterByClass('ilpageeditorgui', 'q_mode');
$q_gui->setQuestionTabs();
$ret = & $this->ctrl->forwardCommand($q_gui);
break;
}
}

+ Here is the call graph for this function:

ilTestExpressPageObjectGUI::filterAvailableQuestions ( )

Definition at line 554 of file class.ilTestExpressPageObjectGUI.php.

References $_REQUEST.

{
include_once "./Modules/Test/classes/tables/class.ilTestQuestionBrowserTableGUI.php";
$table_gui = new ilTestQuestionBrowserTableGUI($this, 'browseForQuestions', $_REQUEST['ref_id']);
$table_gui->resetOffset();
$table_gui->writeFilterToSession();
$this->ctrl->redirect($this, "browseForQuestions");
}
ilTestExpressPageObjectGUI::handleToolbarCommand ( )

Definition at line 236 of file class.ilTestExpressPageObjectGUI.php.

References $_GET, $_POST, $_REQUEST, $ilCtrl, assQuestionGUI\_getQuestionGUI(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, ilObjQuestionPool\getQuestionTypeByTypeId(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilUtil\redirect(), and redirectToQuestionEditPage().

{
global $ilCtrl;
include_once "./Modules/TestQuestionPool/classes/class.assQuestionGUI.php";
if( $_REQUEST['qtype'] )
{
include_once 'Modules/TestQuestionPool/classes/class.ilObjQuestionPool.php';
}
elseif( $_REQUEST['sel_question_types'] )
{
$questionType = $_REQUEST['sel_question_types'];
}
include_once 'Modules/Test/classes/class.ilObjAssessmentFolder.php';
{
$addContEditMode = $_POST['add_quest_cont_edit_mode'];
}
else
{
}
$q_gui =& assQuestionGUI::_getQuestionGUI($questionType);
// CHECK THIS !!! --> obj or ref id ???
$q_gui->object->setObjId($_GET['ref_id']);
$q_gui->object->setAdditionalContentEditingMode($addContEditMode);
$q_gui->object->createNewQuestion();
$previousQuestionId = $_REQUEST['position'];
switch( $_REQUEST['usage'] )
{
case 3: // existing pool
$ilCtrl->setParameterByClass('ilobjtestgui', 'sel_qpl', $_REQUEST['sel_qpl']);
$ilCtrl->setParameterByClass('ilobjtestgui', 'sel_question_types', $questionType);
$ilCtrl->setParameterByClass('ilobjtestgui', 'q_id', $q_gui->object->getId());
$ilCtrl->setParameterByClass('ilobjtestgui', 'prev_qid', $previousQuestionId);
if ($_REQUEST['test_express_mode'])
{
$ilCtrl->setParameterByClass('ilobjtestgui', 'test_express_mode', 1);
}
if( isset($_REQUEST['add_quest_cont_edit_mode']) )
{
$ilCtrl->setParameterByClass(
'ilobjtestgui', 'add_quest_cont_edit_mode', $_REQUEST['add_quest_cont_edit_mode']
);
}
$ilCtrl->setParameterByClass('ilobjtestgui', 'usage', 3);
$ilCtrl->setParameterByClass('ilobjtestgui', 'calling_test', $this->test_object->getId());
$link = $ilCtrl->getLinkTargetByClass('ilobjtestgui', 'executeCreateQuestion', false, false, false);
break;
case 2: // new pool
$ilCtrl->setParameterByClass('ilobjtestgui', 'txt_qpl', $_REQUEST['txt_qpl']);
$ilCtrl->setParameterByClass('ilobjtestgui', 'sel_question_types', $questionType);
$ilCtrl->setParameterByClass('ilobjtestgui', 'q_id', $q_gui->object->getId());
$ilCtrl->setParameterByClass('ilobjtestgui', 'prev_qid', $previousQuestionId);
if ($_REQUEST['test_express_mode'])
{
$ilCtrl->setParameterByClass('ilobjtestgui', 'test_express_mode', 1);
}
if( isset($_REQUEST['add_quest_cont_edit_mode']) )
{
$ilCtrl->setParameterByClass(
'ilobjtestgui', 'add_quest_cont_edit_mode', $_REQUEST['add_quest_cont_edit_mode']
);
}
$ilCtrl->setParameterByClass('ilobjtestgui', 'usage', 2);
$ilCtrl->setParameterByClass('ilobjtestgui', 'calling_test', $this->test_object->getId());
$link = $ilCtrl->getLinkTargetByClass('ilobjtestgui', 'executeCreateQuestion', false, false, false);
break;
case 1: // no pool
default:
$this->redirectToQuestionEditPage($questionType, $q_gui->object->getId(), $previousQuestionId);
break;
}
}

+ Here is the call graph for this function:

ilTestExpressPageObjectGUI::insertQuestions ( )

Definition at line 510 of file class.ilTestExpressPageObjectGUI.php.

References $_POST, $ilDB, assQuestion\_needsManualScoring(), ilUtil\sendInfo(), and ilUtil\sendSuccess().

{
$selected_array = (is_array($_POST['q_id'])) ? $_POST['q_id'] : array();
if (!count($selected_array))
{
ilUtil::sendInfo($this->lng->txt("tst_insert_missing_question"), true);
$this->ctrl->redirect($this, "browseForQuestions");
}
else
{
include_once "./Modules/TestQuestionPool/classes/class.assQuestion.php";
$manscoring = FALSE;
global $tree, $ilDB, $ilPluginAdmin;
require_once 'Modules/Test/classes/class.ilTestQuestionSetConfigFactory.php';
$testQuestionSetConfigFactory = new ilTestQuestionSetConfigFactory($tree, $ilDB, $ilPluginAdmin, $this->test_object);
$testQuestionSetConfig = $testQuestionSetConfigFactory->getQuestionSetConfig();
foreach ($selected_array as $key => $value)
{
$last_question_id = $this->test_object->insertQuestion( $testQuestionSetConfig, $value );
if (!$manscoring)
{
$manscoring = $manscoring | assQuestion::_needsManualScoring($value);
}
}
$this->test_object->saveCompleteStatus( $testQuestionSetConfig );
if ($manscoring)
{
ilUtil::sendInfo($this->lng->txt("manscoring_hint"), TRUE);
}
else
{
ilUtil::sendSuccess($this->lng->txt("tst_questions_inserted"), TRUE);
}
$this->ctrl->setParameter($this, 'q_id', $last_question_id);
$this->ctrl->redirect($this, "showPage");
return;
}
}

+ Here is the call graph for this function:

ilTestExpressPageObjectGUI::nextQuestion ( )

Definition at line 26 of file class.ilTestExpressPageObjectGUI.php.

References $_REQUEST, ilPageObjectGUI\$obj, and ilUtil\redirect().

{
$obj = new ilObjTest($_REQUEST['ref_id']);
$questions = array_keys($obj->getQuestionTitlesAndIndexes());
$pos = array_search($_REQUEST['q_id'], $questions);
if( $pos !== false )
{
$next = $questions[$pos + 1];
}
else
{
$next = $questions[0];
}
$this->ctrl->setParameter($this, 'q_id', $next);
$link = $this->ctrl->getLinkTarget($this, 'edit', '', '', false);
}

+ Here is the call graph for this function:

ilTestExpressPageObjectGUI::prevQuestion ( )

Definition at line 48 of file class.ilTestExpressPageObjectGUI.php.

References $_REQUEST, ilPageObjectGUI\$obj, and ilUtil\redirect().

{
$obj = new ilObjTest($_REQUEST['ref_id']);
$questions = array_keys($obj->getQuestionTitlesAndIndexes());
$pos = array_search($_REQUEST['q_id'], $questions);
if( $pos !== false )
{
$next = $questions[$pos - 1];
}
else
{
$next = $questions[0];
}
$this->ctrl->setParameter($this, 'q_id', $next);
$link = $this->ctrl->getLinkTarget($this, 'edit', '', '', false);
}

+ Here is the call graph for this function:

ilTestExpressPageObjectGUI::questions ( )

Definition at line 447 of file class.ilTestExpressPageObjectGUI.php.

References $ilCtrl.

{
global $ilCtrl;
$ilCtrl->saveParameterByClass('ilobjtestgui', 'q_id');
$ilCtrl->redirectByClass('ilobjtestgui', 'showPage');
}
ilTestExpressPageObjectGUI::redirectToQuestionEditPage (   $questionType,
  $qid,
  $prev_qid 
)
private

Definition at line 456 of file class.ilTestExpressPageObjectGUI.php.

References $_GET, and $_REQUEST.

Referenced by handleToolbarCommand().

{
$cmdClass = $questionType.'GUI';
$this->ctrl->setParameterByClass($cmdClass, 'ref_id', $_GET['ref_id']);
$this->ctrl->setParameterByClass($cmdClass, 'sel_question_types', $questionType);
$this->ctrl->setParameterByClass($cmdClass, 'test_ref_id', $_GET['ref_id']);
$this->ctrl->setParameterByClass($cmdClass, 'calling_test', $_GET['ref_id']);
$this->ctrl->setParameterByClass($cmdClass, 'q_id', $qid);
$this->ctrl->setParameterByClass($cmdClass, 'prev_qid', $prev_qid);
if ($_REQUEST['test_express_mode'])
{
$this->ctrl->setParameterByClass($cmdClass, 'test_express_mode', 1);
}
$this->ctrl->redirectByClass(
array('ilRepositoryGUI', 'ilObjTestGUI', $questionType."GUI"), 'editQuestion'
);
}

+ Here is the caller graph for this function:

ilTestExpressPageObjectGUI::redirectToQuestionPoolSelectionPage (   $questionType,
  $qid,
  $prev_qid 
)
private

Definition at line 477 of file class.ilTestExpressPageObjectGUI.php.

References $_REQUEST, and ilUtil\redirect().

{
$this->ctrl->setParameterByClass('ilObjTestGUI', 'ref_id', $_REQUEST['ref_id']);
$this->ctrl->setParameterByClass('ilObjTestGUI', 'q_id', $qid);
$this->ctrl->setParameterByClass('ilObjTestGUI', 'sel_question_types', $questionType);
$this->ctrl->setParameterByClass('ilObjTestGUI', 'prev_qid', $prev_qid);
$redir = $this->ctrl->getLinkTargetByClass('ilObjTestGUI', 'createQuestion', '', false, false);
}

+ Here is the call graph for this function:

ilTestExpressPageObjectGUI::resetfilterAvailableQuestions ( )

Definition at line 563 of file class.ilTestExpressPageObjectGUI.php.

References $_REQUEST.

{
include_once "./Modules/Test/classes/tables/class.ilTestQuestionBrowserTableGUI.php";
$table_gui = new ilTestQuestionBrowserTableGUI($this, 'browseForQuestions', $_REQUEST['ref_id']);
$table_gui->resetOffset();
$table_gui->resetFilter();
$this->ctrl->redirect($this, "browseForQuestions");
}

The documentation for this class was generated from the following file: