A qubaid_condition for finding all the question usages belonging to a particular quiz.
More...
|
| $from |
|
| $params |
|
| $usageidcolumn |
|
| $where |
|
A qubaid_condition for finding all the question usages belonging to a particular quiz.
- Copyright
- 2010 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ from_question_attempts()
qubaid_join::from_question_attempts |
( |
|
$alias | ) |
|
|
inherited |
Get the SQL fragment to go in a FROM clause.
The SQL that needs to go in the FROM clause when trying to select records from the 'question_attempts' table based on this qubaid_condition.
- Parameters
-
- Return values
-
Reimplemented from qubaid_condition.
◆ from_where_params()
qubaid_join::from_where_params |
( |
| ) |
|
|
inherited |
◆ get_hash_code()
qubaid_condition::get_hash_code |
( |
| ) |
|
|
inherited |
- Return values
-
string | 40-character hash code that uniquely identifies the combination of properties and class name of this qubaid condition. |
◆ usage_id_in()
qubaid_join::usage_id_in |
( |
| ) |
|
|
inherited |
- Return values
-
string | SQL that can use used in a WHERE qubaid IN (...) query. This method returns the "IN (...)" part. |
Reimplemented from qubaid_condition.
◆ usage_id_in_params()
qubaid_join::usage_id_in_params |
( |
| ) |
|
|
inherited |
◆ where()
- Return values
-
string | the SQL that needs to go in the where clause. |
Reimplemented from qubaid_condition.
The documentation for this class was generated from the following file: