ILIAS
Release_4_4_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilTestSequenceRandomQuestionSet.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Modules/Test/classes/class.ilTestSequence.php'
;
5
12
class
ilTestSequenceRandomQuestionSet
extends
ilTestSequence
13
{
24
function
hasRandomQuestionsForPass
(
$active_id
,
$pass
)
25
{
26
global $ilDB;
27
$result
= $ilDB->queryF(
"SELECT test_random_question_id FROM tst_test_rnd_qst WHERE active_fi = %s AND pass = %s"
,
28
array(
'integer'
,
'integer'
),
29
array(
$active_id
,
$pass
)
30
);
31
return
(
$result
->numRows() > 0) ?
true
:
false
;
32
}
33
}
Modules
Test
classes
class.ilTestSequenceRandomQuestionSet.php
Generated on Wed Apr 27 2016 20:01:24 for ILIAS by
1.8.1.2 (using
Doxyfile
)