Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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