Moodle  2.2.1
http://www.collinsharper.com
question_possible_response Class Reference

Public Member Functions

 __construct ($responseclass, $fraction)

Static Public Member Functions

static no_response ()

Data Fields

 $responseclass
 $fraction

Detailed Description

This class is used in the return value from question_type::get_possible_responses().

Definition at line 1226 of file questiontypebase.php.


Constructor & Destructor Documentation

__construct ( responseclass,
fraction 
)

Constructor, just an easy way to set the fields.

Parameters:
string$responseclassidsee the field descriptions above.
string$responsesee the field descriptions above.
number$fractionsee the field descriptions above.

Definition at line 1241 of file questiontypebase.php.


Member Function Documentation

static no_response ( ) [static]

Definition at line 1246 of file questiontypebase.php.

Here is the caller graph for this function:


Field Documentation

$fraction

Definition at line 1234 of file questiontypebase.php.

$responseclass

Definition at line 1232 of file questiontypebase.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations