Differences Between: [Versions 400 and 403]
(no description)
File Size: | 95 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
custom_field_column:: (6 methods):
__construct()
get_name()
get_column_name()
get_title()
display_content()
get_extra_classes()
Class: custom_field_column - X-Ref
A column type for the name of the question creator.__construct(\core_question\local\bank\view $qbank, \core_customfield\field_controller $field) X-Ref |
Constructor. param: view $qbank the question bank view we are helping to render. param: \core_customfield\field_controller $field The custom field this column is displaying. |
get_name() X-Ref |
Get the internal name for this column. Used as a CSS class name, and to store information about the current sort. Must match PARAM_ALPHA. return: string column name. |
get_column_name() X-Ref |
Get the name of this column. This must be unique. When using the inherited class to make many columns from one parent, ensure each instance returns a unique value. return: string The unique name; |
get_title() X-Ref |
Title for this column. Not used if is_sortable returns an array. return: string |
display_content($question, $rowclasses) X-Ref |
Output the contents of this column. param: object $question the row from the $question table, augmented with extra information. param: string $rowclasses CSS class names that should be applied to this row of output. |
get_extra_classes() X-Ref |
No description |