Class ClipitQuiz
A collection of Quiz Questions, with a link to a Tricky Topic, links to the Tricky Topic Tool Quiz answering and score review URLs, and Author name.
- UBItem
- ClipitQuiz
License: Affero General Public License v3
Author: Pablo LlinĂ¡s Arnaiz <pebs74@gmail.com>, URJC JuxtaLearn Team
Located at ClipitQuiz.php
protected
|
|
protected
|
|
protected
boolean|integer
|
|
public static
boolean|integer
|
#
create_clone( integer $id, boolean $linked = true, boolean $keep_owner = false )
Clones a ClipitQuiz, including the contained ClipitQuizQuestions |
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
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
integer|null
|
|
public static
boolean
|
|
public static
|
|
public static
array
|
#
get_user_results_by_question( integer $id, integer $user_id )
Returns the average results by Question for a Quiz for a User, normalized from 0 to 1. |
public static
array
|
#
get_group_results_by_question( integer $id, integer $group_id )
Returns the average results by Question for a Quiz among a Group. Students who have not finished the Quiz will not be counted. |
public static
array
|
#
get_user_results_by_tag( integer $id, integer $user_id )
Returns the average results by Tag for a Quiz for a User, normalized from 0 to 1. |
public static
array
|
#
get_group_results_by_tag( integer $id, integer $group_id )
Returns the average results by Tag for a Quiz among a Group. Students who have not finished the Quiz will not be counted. |
public static
array
|
#
get_quiz_results_by_tag( integer $id )
Returns the average results by Tag for a Quiz among all the results. Results from students who have not finished the Quiz will not be counted. |
public static
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
array|boolean
|
|
public static
|
string |
REL_QUIZ_TRICKYTOPIC
|
"ClipitQuiz-ClipitTrickyTopic" |
|
string |
REL_QUIZ_QUIZQUESTION
|
"ClipitQuiz-ClipitQuizQuestion" |
|
string |
REL_QUIZ_USER
|
"ClipitQuiz-ClipitUser" |
|
string |
VIEW_MODE_LIST
|
"list" |
|
string |
VIEW_MODE_PAGED
|
"paged" |
|
string |
TARGET_CLIPIT
|
"clipit" |
|
string |
TARGET_LARGEDISPLAY
|
"large_display" |
REL_PARENT_CLONE,
SUBTYPE,
TYPE
|
public
string
|
$target | "" |
#
Target interface for Quiz display (e.g.: "clipit", "large display"...) |
public
boolean
|
$public | false |
#
Specifies whether the Quiz can be reused by other teachers (optional, default = false) |
public
array
|
$quiz_question_array | array() |
#
Array of ClipitQuizQuestion ids (int) included in this Quiz (optional) |
public
integer
|
$tricky_topic | 0 |
#
Id of tricky topic used for this Quiz (optional) |
public
string
|
$view_mode | "" |
|
public
integer
|
$max_time | 0 |
#
$max_time Maximum time in seconds to perform the quiz since it's opened by a student (0 = unlimited) |
$clone_array,
$cloned_from,
$description,
$id,
$name,
$owner_id,
$time_created,
$url
|