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.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]

The gradebook simple view - initial view to select your search options

Copyright: 2014 Moodle Pty Ltd (http://moodle.com)
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 171 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

select:: (7 methods):
  init()
  item_type()
  html()
  supports_next_prev()
  display_group_selector()
  heading()
  supports_paging()


Class: select  - X-Ref

The gradebook simple view - initial view to select your search options

init($selfitemisempty = false)   X-Ref
Initialise this screen

param: bool $selfitemisempty Has an item been selected (will be false)

item_type()   X-Ref
Get the type of items on this screen, not valid so return false.

return: string|null

html()   X-Ref
Return the HTML for the page.

return: string

supports_next_prev()   X-Ref
Should we show the next prev selector?

return: bool

display_group_selector()   X-Ref
Should we show the base singlereport group selector?

return: bool

heading()   X-Ref
Get the heading for the screen.

return: string

supports_paging()   X-Ref
Does this screen support paging?

return: bool