Class ClipitQuizResult
A Student Result for a Quiz Question, with a link to it, and a boolean value to show whether it is Correct or not.
- UBItem
- ClipitQuizResult
Package: ClipIt\clipit\api
License: Affero General Public License v3
Author: Pablo LlinĂ¡s Arnaiz <pebs74@gmail.com>, URJC JuxtaLearn Team
Located at ClipitQuizResult.php
License: Affero General Public License v3
Author: Pablo LlinĂ¡s Arnaiz <pebs74@gmail.com>, URJC JuxtaLearn Team
Located at ClipitQuizResult.php
protected
|
|
protected
|
|
protected
boolean|integer
|
|
public static
integer|boolean
|
#
set_properties( integer $id, array $prop_value_array )
Sets values to specified properties of an Item |
public static
|
|
public static
|
|
public static
array|boolean
|
|
public static
static
|
#
get_from_question_user( integer $quiz_question_id, integer $user_id )
Returns the ClipitQuizResult ID for a Quiz Question submitted by a User |
string |
REL_QUIZRESULT_CLIPITUSER
|
"ClipitQuizResult-ClipitUser" |
|
string |
REL_QUIZRESULT_QUIZQUESTION
|
"ClipitQuizResult-ClipitQuizQuestion" |
REL_PARENT_CLONE,
SUBTYPE,
TYPE
|
public
integer
|
$quiz_question | 0 |
#
Id of ClipitQuizQuestion this ClipitQuizResult is related to |
public
mixed
|
$answer |
|
|
public
boolean
|
$correct | false |
#
Determines if this Result is correct (true) or incorrect (false) - computed by "evaluate_result" |
$clone_array,
$cloned_from,
$description,
$id,
$name,
$owner_id,
$time_created,
$url
|