Moodle  2.2.1
http://www.collinsharper.com
question_attempt_step_read_only Class Reference
Inheritance diagram for question_attempt_step_read_only:
Collaboration diagram for question_attempt_step_read_only:

Public Member Functions

 set_state ($state)
 set_fraction ($fraction)
 set_qt_var ($name, $value)
 set_behaviour_var ($name, $value)

Detailed Description

A subclass of question_attempt_step that cannot be modified.

Definition at line 449 of file questionattemptstep.php.


Member Function Documentation

set_behaviour_var ( name,
value 
)

Set a cached behaviour variable.

Parameters:
string$namethe name of the variable to set. Must match _[a-z][a-z0-9]*.
string$valuethe value to set.

Reimplemented from question_attempt_step.

Definition at line 459 of file questionattemptstep.php.

set_fraction ( fraction)

Set the fraction. Normally only called by behaviours.

Parameters:
null | number$fractionthe fraction to set.

Reimplemented from question_attempt_step.

Definition at line 453 of file questionattemptstep.php.

set_qt_var ( name,
value 
)

Set a cached question type variable.

Parameters:
string$namethe name of the variable to set. Must match _[a-z][a-z0-9]*.
string$valuethe value to set.

Reimplemented from question_attempt_step.

Definition at line 456 of file questionattemptstep.php.

set_state ( state)

Set the state. Normally only called by behaviours.

Parameters:
question_state$stateone of the question_state constants.

Reimplemented from question_attempt_step.

Definition at line 450 of file questionattemptstep.php.


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