Class ClipitQuizQuestion
A Quiz Question containing a main question (in the "name" and "description" properties), with a set of Options, a Validation array with the correct pattern of Options, a Difficulty value, can be Tagged, can be linked to a Video, and contains links to all Results submitted by Students to this Question.
- UBItem
- ClipitQuizQuestion
License: Affero General Public License v3
Author: Pablo LlinĂ¡s Arnaiz <pebs74@gmail.com>, URJC JuxtaLearn Team
Located at ClipitQuizQuestion.php
protected
|
|
protected
|
|
protected
boolean|integer
|
|
public static
static[]
|
|
public static
integer|null
|
|
public static
boolean
|
|
public static
static[]
|
|
public static
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
array|boolean
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
boolean
|
#
remove_tags( integer $id, array $tag_array )
Remove a list of Stumbling Block Tags from a Quiz Question. |
public static
array|boolean
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
string |
REL_QUIZQUESTION_TAG
|
"ClipitQuizQuestion-ClipitTag" |
|
string |
REL_QUIZQUESTION_QUIZRESULT
|
"ClipitQuizQuestion-ClipitQuizResult" |
|
string |
REL_QUIZQUESTION_IMAGE
|
"ClipitQuizQuestion-ClipitFile" |
|
string |
TYPE_TRUE_FALSE
|
"true_false" |
|
string |
TYPE_SELECT_ONE
|
"select_one" |
|
string |
TYPE_SELECT_MULTI
|
"select_multi" |
|
string |
TYPE_NUMBER
|
"number" |
REL_PARENT_CLONE,
SUBTYPE,
TYPE
|
public
array
|
$option_array | array() |
#
Array of options to chose from as an answer to the question |
public
array
|
$validation_array | array() |
#
Array for validation of the options |
public
string
|
$option_type | "" |
#
Type of Question: single choice, multiple choice, select 2... |
public
array
|
$tag_array | array() |
#
Array of Tags relevant to this question |
public
array
|
$quiz_result_array | array() |
#
Array of Quiz Results which answer this Quiz Question |
public
string
|
$video | "" |
#
URL of ClipitVideo refered to by this question (optional) |
public
integer
|
$image | 0 |
#
ID of image file (ClipitFile) to show next to the Quiz Question (optional) |
public
integer
|
$difficulty | 0 |
#
Difficulty of the QuizQuestion, in an integer scale from 1 to 10. |
public
integer
|
$order | 0 |
#
Order in which this QuizQuestion will be displayed to students |
$clone_array,
$cloned_from,
$description,
$id,
$name,
$owner_id,
$time_created,
$url
|