Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Base class for 'columns' that are actually displayed as a row following the main question row.

Copyright: 2009 Tim Hunt
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 70 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

row_base:: (3 methods):
  is_extra_row()
  display_start()
  display_end()


Class: row_base  - X-Ref

Base class for 'columns' that are actually displayed as a row following the main question row.

is_extra_row()   X-Ref
Check if the column is an extra row of not.


display_start($question, $rowclasses)   X-Ref
Output the opening column tag.  If it is set as heading, it will use <th> tag instead of <td>

param: \stdClass $question
param: string $rowclasses

display_end($question, $rowclasses)   X-Ref
Output the closing column tag

param: object $question
param: string $rowclasses