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

Public Member Functions

 get_name ()
 get_required_fields ()

Protected Member Functions

 display_content ($question, $rowclasses)

Detailed Description

A column type for the name followed by the start of the question text.

Definition at line 1044 of file editlib.php.


Member Function Documentation

display_content ( question,
rowclasses 
) [protected]

Output the contents of this column.

Parameters:
object$questionthe row from the $question table, augmented with extra information.
string$rowclassesCSS class names that should be applied to this row of output.

Reimplemented from question_bank_question_name_column.

Definition at line 1049 of file editlib.php.

Here is the call graph for this function:

get_name ( )
Parameters:
object$questionthe row from the $question table, augmented with extra information.
Returns:
string internal name for this column. Used as a CSS class name, and to store information about the current sort. Must match PARAM_ALPHA.

Reimplemented from question_bank_question_name_column.

Definition at line 1045 of file editlib.php.

Returns:
array fields required. use table alias 'q' for the question table, or one of the ones from get_extra_joins. Every field requested must specify a table prefix.

Reimplemented from question_bank_question_name_column.

Definition at line 1062 of file editlib.php.


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