本文整理汇总了PHP中ilObjTest类的典型用法代码示例。如果您正苦于以下问题:PHP ilObjTest类的具体用法?PHP ilObjTest怎么用?PHP ilObjTest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了ilObjTest类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: getSequenceByActiveIdAndPass
/**
* creates and returns an instance of a test sequence
* that corresponds to the current test mode and given active/pass
*
* @param integer $activeId
* @param integer $pass
* @return ilTestSequenceFixedQuestionSet|ilTestSequenceRandomQuestionSet|ilTestSequenceDynamicQuestionSet
*/
public function getSequenceByActiveIdAndPass($activeId, $pass)
{
if ($this->testSequences[$activeId][$pass] === null) {
switch ($this->testOBJ->getQuestionSetType()) {
case ilObjTest::QUESTION_SET_TYPE_FIXED:
require_once 'Modules/Test/classes/class.ilTestSequenceFixedQuestionSet.php';
$this->testSequences[$activeId][$pass] = new ilTestSequenceFixedQuestionSet($activeId, $pass, $this->testOBJ->isRandomTest());
break;
case ilObjTest::QUESTION_SET_TYPE_RANDOM:
require_once 'Modules/Test/classes/class.ilTestSequenceRandomQuestionSet.php';
$this->testSequences[$activeId][$pass] = new ilTestSequenceRandomQuestionSet($activeId, $pass, $this->testOBJ->isRandomTest());
break;
case ilObjTest::QUESTION_SET_TYPE_DYNAMIC:
require_once 'Modules/Test/classes/class.ilTestSequenceDynamicQuestionSet.php';
require_once 'Modules/Test/classes/class.ilTestDynamicQuestionSet.php';
$questionSet = new ilTestDynamicQuestionSet($this->db, $this->lng, $this->pluginAdmin, $this->testOBJ);
$this->testSequences[$activeId][$pass] = new ilTestSequenceDynamicQuestionSet($this->db, $questionSet, $activeId);
#$this->testSequence->setPreventCheckedQuestionsFromComingUpEnabled(
# $this->testOBJ->isInstantFeedbackAnswerFixationEnabled()
#); // checked questions now has to come up any time, so they can be set to unchecked right at this moment
break;
}
}
return $this->testSequences[$activeId][$pass];
}
开发者ID:bheyser,项目名称:qplskl,代码行数:33,代码来源:class.ilTestSequenceFactory.php
示例2: _getCurrentConfig
/**
* Get the configuration that should be used for the current selector
* @param object (optional) current running test
* @return ilCharSelectorConfig
*/
static function _getCurrentConfig(ilObjTest $a_test_obj = null)
{
global $ilSetting, $ilUser;
// check configuration from administration settings
$admin_config = new self(self::CONTEXT_ADMIN, true);
$admin_config->setAvailability($ilSetting->get('char_selector_availability'));
$admin_config->setDefinition($ilSetting->get('char_selector_definition'));
if ($admin_config->getAvailability() == self::INACTIVE) {
// a globally inactive selector can't be overwritten by users or tests
return $admin_config;
}
// a test configuration is relevant for test runs
if (isset($a_test_obj)) {
$test_config = new self(self::CONTEXT_TEST, false);
$test_config->setAvailability($a_test_obj->getCharSelectorAvailability());
$test_config->setDefinition($a_test_obj->getCharSelectorDefinition());
if ($test_config->getAvailability() != self::INHERIT) {
// a specific test configuration has precedence over user configuration
return $test_config;
}
}
// check configuration from user settings
$user_config = new self(self::CONTEXT_USER, true);
$user_config->setAvailability($ilUser->getPref('char_selector_availability'));
$user_config->setDefinition($ilUser->getPref('char_selector_definition'));
if ($user_config->getAvailability() != self::INHERIT) {
// take user specific config
return $user_config;
} else {
// take admin config as default
return $admin_config;
}
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:38,代码来源:ilCharSelectorConfig.php
示例3: __construct
public function __construct(ilObjTest $testOBJ)
{
$this->testOBJ = $testOBJ;
$templateId = $this->testOBJ->getTemplate();
if ($templateId) {
include_once "Services/Administration/classes/class.ilSettingsTemplate.php";
$this->settingsTemplate = new ilSettingsTemplate($templateId, ilObjAssessmentFolderGUI::getSettingsTemplateConfig());
}
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:9,代码来源:class.ilTestSettingsGUI.php
示例4: getPlayerGUI
/**
* creates and returns an instance of a player gui
* that corresponds to the current test mode
*
* @return ilTestPlayerAbstractGUI
*/
public function getPlayerGUI()
{
switch ($this->testOBJ->getQuestionSetType()) {
case ilObjTest::QUESTION_SET_TYPE_FIXED:
case ilObjTest::QUESTION_SET_TYPE_RANDOM:
require_once 'Modules/Test/classes/class.ilTestOutputGUI.php';
return new ilTestOutputGUI($this->testOBJ);
case ilObjTest::QUESTION_SET_TYPE_DYNAMIC:
require_once 'Modules/Test/classes/class.ilTestPlayerDynamicQuestionSetGUI.php';
return new ilTestPlayerDynamicQuestionSetGUI($this->testOBJ);
}
}
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:18,代码来源:class.ilTestPlayerFactory.php
示例5: prevQuestion
public function prevQuestion()
{
$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);
ilUtil::redirect($link);
}
开发者ID:bheyser,项目名称:qplskl,代码行数:14,代码来源:class.ilTestExpressPageObjectGUI.php
示例6: getItems
/**
* Get all completed tests
*/
protected function getItems()
{
global $ilUser;
include_once "Modules/Test/classes/class.ilObjTest.php";
$data = array();
foreach (ilObjTest::_lookupFinishedUserTests($ilUser->getId()) as $test_id => $passed) {
// #11210 - only available certificates!
$test = new ilObjTest($test_id, false);
$active_id = $test->getActiveIdOfUser($ilUser->getId());
if ($test->canShowCertificate($ilUser->getId(), $active_id)) {
$data[] = array("id" => $test_id, "title" => ilObject::_lookupTitle($test_id), "passed" => $passed);
}
}
$this->setData($data);
}
开发者ID:khanhnnvn,项目名称:ilias_E-learning,代码行数:18,代码来源:class.ilTestVerificationTableGUI.php
示例7: getItems
/**
* Get all completed tests
*/
protected function getItems()
{
global $ilUser;
include_once "Modules/Test/classes/class.ilObjTest.php";
include_once "Modules/Test/classes/class.ilTestSessionFactory.php";
$data = array();
foreach (ilObjTest::getTestObjIdsWithActiveForUserId($ilUser->getId()) as $test_id) {
// #11210 - only available certificates!
$test = new ilObjTest($test_id, false);
$session = new ilTestSessionFactory($test);
$session = $session->getSession(null);
if ($test->canShowCertificate($session, $session->getUserId(), $session->getActiveId())) {
$data[] = array("id" => $test_id, "title" => $test->getTitle(), "passed" => $test->getPassed($session->getActiveId()));
}
}
$this->setData($data);
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:20,代码来源:class.ilTestVerificationTableGUI.php
示例8: prevQuestion
public function prevQuestion()
{
$obj = new ilObjTest($_REQUEST['ref_id']);
$questions = array_keys($obj->getQuestionTitlesAndIndexes());
$pos = array_search($_REQUEST['q_id'], $questions);
if ($pos == 0) {
ilUtil::sendInfo('test_express_start_reached_moved_to_last', true);
$next = $questions[count($questions) - 1];
} elseif ($pos !== false) {
$next = $questions[$pos - 1];
} else {
$next = $questions[0];
}
$this->ctrl->setParameter($this, 'q_id', $next);
$link = $this->ctrl->getLinkTarget($this, 'edit', '', '', false);
ilUtil::redirect($link);
}
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:17,代码来源:class.ilTestExpressPageObjectGUI.php
示例9: cloneQuestionSetRelatedData
/**
* removes all question set config related data for cloned/copied test
*
* @param ilObjTest $cloneTestOBJ
*/
public function cloneQuestionSetRelatedData($cloneTestOBJ)
{
global $ilLog;
require_once 'Services/CopyWizard/classes/class.ilCopyWizardOptions.php';
require_once 'Modules/TestQuestionPool/classes/class.assQuestion.php';
$cwo = ilCopyWizardOptions::_getInstance($cloneTestOBJ->getId());
foreach ($this->questions as $key => $question_id) {
$question = assQuestion::_instanciateQuestion($question_id);
$cloneTestOBJ->questions[$key] = $question->duplicate(true, null, null, null, $cloneTestOBJ->getId());
$original_id = assQuestion::_getOriginalId($question_id);
$question = assQuestion::_instanciateQuestion($cloneTestOBJ->questions[$key]);
$question->saveToDb($original_id);
// Save the mapping of old question id <-> new question id
// This will be used in class.ilObjCourse::cloneDependencies to copy learning objectives
$originalKey = $this->testOBJ->getRefId() . '_' . $question_id;
$mappedKey = $cloneTestOBJ->getRefId() . '_' . $cloneTestOBJ->questions[$key];
$cwo->appendMapping($originalKey, $mappedKey);
$ilLog->write(__METHOD__ . ": Added mapping {$originalKey} <-> {$mappedKey}");
}
}
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:25,代码来源:class.ilTestFixedQuestionSetConfig.php
示例10: createFromTest
/**
* Import relevant properties from given test
*
* @param ilObjTest $a_test
* @return object
*/
public static function createFromTest(ilObjTest $a_test, $a_user_id)
{
global $lng;
$lng->loadLanguageModule("wsp");
$newObj = new self();
$newObj->setTitle($lng->txt("wsp_type_tstv") . " \"" . $a_test->getTitle() . "\"");
$newObj->setDescription($a_test->getDescription());
$active_id = $a_test->getActiveIdOfUser($a_user_id);
$pass = ilObjTest::_getResultPass($active_id);
$date = $a_test->getPassFinishDate($active_id, $pass);
$newObj->setProperty("issued_on", new ilDate($date, IL_CAL_UNIX));
// create certificate
include_once "Services/Certificate/classes/class.ilCertificate.php";
include_once "Modules/Test/classes/class.ilTestCertificateAdapter.php";
$certificate = new ilCertificate(new ilTestCertificateAdapter($a_test));
$certificate = $certificate->outCertificate(array("active_id" => $active_id, "pass" => $pass), false);
// save pdf file
if ($certificate) {
// we need the object id for storing the certificate file
$newObj->create();
$path = self::initStorage($newObj->getId(), "certificate");
$file_name = "tst_" . $a_test->getId() . "_" . $a_user_id . "_" . $active_id . ".pdf";
if (file_put_contents($path . $file_name, $certificate)) {
$newObj->setProperty("file", $file_name);
$newObj->update();
return $newObj;
}
// file creation failed, so remove to object, too
$newObj->delete();
}
}
开发者ID:khanhnnvn,项目名称:ilias_E-learning,代码行数:37,代码来源:class.ilObjTestVerification.php
示例11: getSession
/**
* creates and returns an instance of a test sequence
* that corresponds to the current test mode
*
* @param integer $activeId
* @return ilTestSession|ilTestSessionDynamicQuestionSet
*/
public function getSession($activeId = null)
{
global $ilUser;
if (self::$testSession === null) {
switch ($this->testOBJ->getQuestionSetType()) {
case ilObjTest::QUESTION_SET_TYPE_FIXED:
case ilObjTest::QUESTION_SET_TYPE_RANDOM:
global $ilUser;
require_once 'Modules/Test/classes/class.ilTestSession.php';
self::$testSession = new ilTestSession();
break;
case ilObjTest::QUESTION_SET_TYPE_DYNAMIC:
require_once 'Modules/Test/classes/class.ilTestSessionDynamicQuestionSet.php';
self::$testSession = new ilTestSessionDynamicQuestionSet();
break;
}
self::$testSession->setRefId($this->testOBJ->getRefId());
self::$testSession->setTestId($this->testOBJ->getTestId());
if ($activeId) {
self::$testSession->loadFromDb($activeId);
} else {
self::$testSession->loadTestSession($this->testOBJ->getTestId(), $ilUser->getId(), $_SESSION["tst_access_code"][$this->testOBJ->getTestId()]);
}
}
return self::$testSession;
}
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:33,代码来源:class.ilTestSessionFactory.php
示例12: getPathname
/**
* @param string $extension
* @param string $additional
* @return string
* @throws ilException
*/
public function getPathname($extension, $additional = '')
{
if (!is_string($extension) || !strlen($extension)) {
throw new ilException('Missing file extension! Please pass a file extension of type string.');
} else {
if (substr_count($extension, '.') > 1 || strpos($extension, '.') !== false && strpos($extension, '.') !== 0) {
throw new ilException('Please use at most one dot in your file extension.');
} else {
if (strpos($extension, '.') === 0) {
$extension = substr($extension, 1);
}
}
}
if (!is_string($additional)) {
} else {
if (strlen($additional)) {
if (strpos($additional, '__') === 0) {
throw new ilException('The additional file part may not contain __ at the beginning!');
}
$additional = '__' . $additional . '_';
} else {
$additional = '_';
}
}
return $this->test->getExportDirectory() . DIRECTORY_SEPARATOR . $this->getTimestamp() . '__' . IL_INST_ID . '__' . $this->test->getType() . $additional . $this->test->getId() . '.' . $extension;
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:32,代码来源:class.ilTestExportFilename.php
示例13: loadResultData
private function loadResultData()
{
$this->resultData = $this->testOBJ->getResultsForActiveId($this->getActiveId());
if ($this->testOBJ->getECTSOutput()) {
$ectsMark = $this->testOBJ->getECTSGrade($this->testOBJ->getTotalPointsPassedArray(), $this->resultData['reached_points'], $this->resultData['max_points']);
$this->resultData['ects_grade'] = $this->lng->txt('ects_grade_' . strtolower($ectsMark));
}
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:8,代码来源:class.ilTestGradingMessageBuilder.php
示例14: getHTML
public function getHTML()
{
$gui = new ilPersonalSkillsGUI();
$gui->setGapAnalysisActualStatusModePerObject($this->testOBJ->getId(), $this->lng->txt('tst_test_result'));
$gui->setProfileId($this->getSelectedSkillProfile());
$html = $gui->getGapAnalysisHTML($this->getUsrId(), $this->getAvailableSkills());
return $html;
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:8,代码来源:class.ilTestPersonalSkillsGUI.php
示例15: build
public function build()
{
$availablePools = $this->testOBJ->getAvailableQuestionpools(true, $this->questionSetConfig->arePoolsWithHomogeneousScoredQuestionsRequired(), false, true, true);
require_once 'Services/Form/classes/class.ilSelectInputGUI.php';
$poolSelection = new ilSelectInputGUI(null, 'quest_pool_id');
$poolSelection->setOptions($this->buildSourcePoolSelectOptionsArray($availablePools));
$this->addInputItem($poolSelection, true);
$this->setFormAction($this->ctrl->getFormAction($this->questionSetConfigGUI));
$this->addFormButton($this->lng->txt('tst_rnd_quest_set_tb_add_pool_btn'), ilTestRandomQuestionSetConfigGUI::CMD_SHOW_CREATE_SRC_POOL_DEF_FORM);
}
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:10,代码来源:class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php
示例16: transferAssignmentsFromOriginalToDuplicatedTaxonomy
private function transferAssignmentsFromOriginalToDuplicatedTaxonomy($originalTaxonomyId, $mappedTaxonomyId)
{
$originalTaxAssignment = new ilTaxNodeAssignment('qpl', $this->getSourcePoolId(), 'quest', $originalTaxonomyId);
$duplicatedTaxAssignment = new ilTaxNodeAssignment('tst', $this->testOBJ->getId(), 'quest', $mappedTaxonomyId);
foreach ($this->getQuestionIdMapping() as $originalQuestionId => $duplicatedQuestionId) {
$assignments = $originalTaxAssignment->getAssignmentsOfItem($originalQuestionId);
foreach ($assignments as $assData) {
$mappedNodeId = $this->duplicatedTaxonomiesKeysMap->getMappedTaxNodeId($assData['node_id']);
$duplicatedTaxAssignment->addAssignment($mappedNodeId, $duplicatedQuestionId);
}
}
}
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:12,代码来源:class.ilTestRandomQuestionSetSourcePoolTaxonomiesDuplicator.php
示例17: stageQuestionsFromSourcePool
private function stageQuestionsFromSourcePool($sourcePoolId)
{
$questionIdMapping = array();
$query = 'SELECT question_id FROM qpl_questions WHERE obj_fi = %s AND complete = %s AND original_id IS NULL';
$res = $this->db->queryF($query, array('integer', 'text'), array($sourcePoolId, 1));
while ($row = $this->db->fetchAssoc($res)) {
$question = assQuestion::_instanciateQuestion($row['question_id']);
$duplicateId = $question->duplicate(true, null, null, null, $this->testOBJ->getId());
$nextId = $this->db->nextId('tst_rnd_cpy');
$this->db->insert('tst_rnd_cpy', array('copy_id' => array('integer', $nextId), 'tst_fi' => array('integer', $this->testOBJ->getTestId()), 'qst_fi' => array('integer', $duplicateId), 'qpl_fi' => array('integer', $sourcePoolId)));
$questionIdMapping[$row['question_id']] = $duplicateId;
}
return $questionIdMapping;
}
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:14,代码来源:class.ilTestRandomQuestionSetStagingPoolBuilder.php
示例18: show
public function show()
{
require_once 'class.ilTestEvaluationGUI.php';
require_once './Services/PDFGeneration/classes/class.ilPDFGeneration.php';
global $ilUser;
$template = new ilTemplate("tpl.il_as_tst_submission_review.html", TRUE, TRUE, "Modules/Test");
$this->ilCtrl->setParameter($this, "skipfinalstatement", 1);
$template->setVariable("FORMACTION", $this->ilCtrl->getFormAction($this->testOutputGUI, 'redirectBack') . '&reviewed=1');
$template->setVariable("BUTTON_CONTINUE", $this->lng->txt("btn_next"));
$template->setVariable("BUTTON_BACK", $this->lng->txt("btn_previous"));
if ($this->test->getListOfQuestionsEnd()) {
$template->setVariable("CANCEL_CMD", 'outQuestionSummary');
} else {
$template->setVariable("CANCEL_CMD", 'backFromSummary');
}
$active = $this->test->getActiveIdOfUser($ilUser->getId());
$testevaluationgui = new ilTestEvaluationGUI($this->test);
$results = $this->test->getTestResult($active, $this->testSession->getPass());
$results_output = $testevaluationgui->getPassListOfAnswers($results, $active, $this->testSession->getPass(), false, false, false, false);
if ($this->test->getShowExamviewPdf()) {
$template->setVariable("PDF_TEXT", $this->lng->txt("pdf_export"));
global $ilSetting;
$inst_id = $ilSetting->get('inst_id', null);
$path = ilUtil::getWebspaceDir() . '/assessment/' . $this->testOutputGUI->object->getId() . '/exam_pdf';
if (!is_dir($path)) {
ilUtil::makeDirParents($path);
}
$filename = $path . '/exam_N' . $inst_id . '-' . $this->testOutputGUI->object->getId() . '-' . $active . '-' . $this->testSession->getPass() . '.pdf';
require_once 'class.ilTestPDFGenerator.php';
ilTestPDFGenerator::generatePDF($results_output, ilTestPDFGenerator::PDF_OUTPUT_FILE, $filename);
$template->setVariable("PDF_FILE_LOCATION", $filename);
} else {
$template->setCurrentBlock('prevent_double_form_subm');
$template->touchBlock('prevent_double_form_subm');
$template->parseCurrentBlock();
}
if ($this->test->getShowExamviewHtml()) {
if ($this->test->getListOfQuestionsEnd()) {
$template->setVariable("CANCEL_CMD_BOTTOM", 'outQuestionSummary');
} else {
$template->setVariable("CANCEL_CMD_BOTTOM", 'backFromSummary');
}
$template->setVariable("BUTTON_CONTINUE_BOTTOM", $this->lng->txt("btn_next"));
$template->setVariable("BUTTON_BACK_BOTTOM", $this->lng->txt("btn_previous"));
$template->setVariable('HTML_REVIEW', $results_output);
}
$this->tpl->setVariable($this->getContentBlockName(), $template->get());
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:48,代码来源:class.ilTestSubmissionReviewGUI.php
示例19: areSkillLevelThresholdsMissing
private function areSkillLevelThresholdsMissing()
{
if ($this->object->isDynamicTest()) {
$questionSetConfig = $this->testQuestionSetConfigFactory->getQuestionSetConfig();
$questionContainerId = $questionSetConfig->getSourceQuestionPoolId();
} else {
$questionContainerId = $this->object->getId();
}
global $ilDB;
require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionSkillAssignmentList.php';
require_once 'Modules/Test/classes/class.ilTestSkillLevelThreshold.php';
$assignmentList = new ilAssQuestionSkillAssignmentList($ilDB);
$assignmentList->setParentObjId($questionContainerId);
$assignmentList->loadFromDb();
foreach ($assignmentList->getUniqueAssignedSkills() as $data) {
foreach ($data['skill']->getLevelData() as $level) {
$treshold = new ilTestSkillLevelThreshold($ilDB);
$treshold->setTestId($this->object->getTestId());
$treshold->setSkillBaseId($data['skill_base_id']);
$treshold->setSkillTrefId($data['skill_tref_id']);
$treshold->setSkillLevelId($level['id']);
if (!$treshold->dbRecordExists()) {
return true;
}
}
}
return false;
}
开发者ID:bheyser,项目名称:qplskl,代码行数:28,代码来源:class.ilObjTestGUI.php
示例20: handleConfigurationStateMessages
private function handleConfigurationStateMessages($currentRequestCmd)
{
if (!$this->questionSetConfig->isQuestionAmountConfigComplete()) {
$infoMessage = $this->lng->txt('tst_msg_rand_quest_set_incomplete_quest_amount_cfg');
if ($this->isQuestionAmountConfigPerTestHintRequired($currentRequestCmd)) {
$infoMessage .= '<br />' . sprintf($this->lng->txt('tst_msg_rand_quest_set_change_quest_amount_here'), $this->buildGeneralConfigSubTabLink());
} elseif ($this->isQuestionAmountConfigPerPoolHintRequired($currentRequestCmd)) {
$infoMessage .= '<br />' . sprintf($this->lng->txt('tst_msg_rand_quest_set_change_quest_amount_here'), $this->buildQuestionSelectionSubTabLink());
}
} elseif (!$this->questionSetConfig->hasSourcePoolDefinitions()) {
$infoMessage = $this->lng->txt('tst_msg_rand_quest_set_no_src_pool_defs');
} elseif (!$this->questionSetConfig->isQuestionSetBuildable()) {
$infoMessage = $this->lng->txt('tst_msg_rand_quest_set_pass_not_buildable');
} else {
$syncDate = new ilDateTime($this->questionSetConfig->getLastQuestionSyncTimestamp(), IL_CAL_UNIX);
$infoMessage = sprintf($this->lng->txt('tst_msg_rand_quest_set_stage_pool_last_sync'), ilDatePresentation::formatDate($syncDate));
if (!$this->testOBJ->participantDataExist()) {
$infoMessage .= "<br />{$this->buildQuestionStageRebuildLink($currentRequestCmd)}";
}
}
if ($this->isNoAvailableQuestionPoolsHintRequired($currentRequestCmd)) {
$infoMessage .= '<br />' . $this->lng->txt('tst_msg_rand_quest_set_no_pools_available');
}
ilUtil::sendInfo($infoMessage);
}
开发者ID:arlendotcn,项目名称:ilias,代码行数:25,代码来源:class.ilTestRandomQuestionSetConfigGUI.php
注:本文中的ilObjTest类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论