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

Public Member Functions

 provide_export ()
 export_file_extension ()

Protected Member Functions

 repchar ($text)
 writequestion ($question)
 presave_process ($content)

Detailed Description

XHTML question exporter.

Exports questions as static HTML.

Definition at line 38 of file format.php.


Member Function Documentation

Returns:
string the file extension (including .) that is normally used for files handled by this plugin.

Reimplemented from qformat_default.

Definition at line 175 of file format.php.

presave_process ( content) [protected]

Enable any processing to be done on the content just prior to the file being saved default is to do nothing

Parameters:
stringoutput text
stringprocessed output text

Reimplemented from qformat_default.

Definition at line 145 of file format.php.

Returns:
bool whether this plugin provides export functionality.

Reimplemented from qformat_default.

Definition at line 40 of file format.php.

repchar ( text) [protected]

Definition at line 44 of file format.php.

Here is the caller graph for this function:

writequestion ( question) [protected]

convert a single question object into text output in the given format. This must be overriden

Parameters:
objectquestion question object
Returns:
mixed question export text or null if not implemented

Reimplemented from qformat_default.

Definition at line 48 of file format.php.

Here is the call graph for this function:


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