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

Public Member Functions

 response_area_read_only ($name, question_attempt $qa, question_attempt_step $step, $lines, $context)
 response_area_input ($name, question_attempt $qa, question_attempt_step $step, $lines, $context)

Protected Member Functions

 class_name ()

Detailed Description

A base class to abstract out the differences between different type of response format.

Definition at line 142 of file renderer.php.


Member Function Documentation

class_name ( ) [abstract, protected]
Returns:
string specific class name to add to the input element.
response_area_input ( name,
question_attempt qa,
question_attempt_step step,
lines,
context 
) [abstract]

Render the students respone when the question is in read-only mode.

Parameters:
string$namethe variable name this input edits.
question_attempt$qathe question attempt being display.
question_attempt_step$stepthe current step.
int$linesapproximate size of input box to display.
object$contextthe context teh output belongs to.
Returns:
string html to display the response for editing.
response_area_read_only ( name,
question_attempt qa,
question_attempt_step step,
lines,
context 
) [abstract]

Render the students respone when the question is in read-only mode.

Parameters:
string$namethe variable name this input edits.
question_attempt$qathe question attempt being display.
question_attempt_step$stepthe current step.
int$linesapproximate size of input box to display.
object$contextthe context teh output belongs to.
Returns:
string html to display the response.

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