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

Public Member Functions

 init ()
 get_name ()

Protected Member Functions

 display_content ($question, $rowclasses)

Protected Attributes

 $stredit
 $strview

Detailed Description

Base class for question bank columns that just contain an action icon.

Definition at line 619 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_column_base.

Definition at line 633 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_column_base.

Definition at line 629 of file editlib.php.

init ( )

A chance for subclasses to initialise themselves, for example to load lang strings, without having to override the constructor.

Reimplemented from question_bank_column_base.

Definition at line 623 of file editlib.php.


Field Documentation

$stredit [protected]

Definition at line 620 of file editlib.php.

$strview [protected]

Definition at line 621 of file editlib.php.


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