| 
    Moodle APIs 3.9
    
   Moodle 3.9.13+ (Build: 20220325) 
   | 
 
The screen with a list of users. More...
  
Public Member Functions | |
| bulk_insert () | |
| Get the HTML for the bulk insert form.  More... | |
| buttons () | |
| Get the buttons for saving changes.  More... | |
| definition () | |
| Get the table definition.  More... | |
| description () | |
| Get the description of this page.  More... | |
| display_group_selector () | |
| Should we show the group selector?  More... | |
| fetch_grade_or_default ($item, $userid) | |
| Get the grade_grade.  More... | |
| format_definition ($line, $grade) | |
| Get a element to generate the HTML for this table row.  More... | |
| format_line ($item) | |
| Format a row in the table.  More... | |
| format_link ($screen, $itemid, $display=null) | |
| Create a nice link from a thing (user or grade_item).  More... | |
| headers () | |
| Get the table headers.  More... | |
| heading () | |
| Get the heading for this page.  More... | |
| html () | |
| Get the HTML for the whole table.  More... | |
| init ($selfitemisempty=false) | |
| Init this page.  More... | |
| init_errors () | |
| Get the list of errors.  More... | |
| item_range () | |
| Get the range ui element for this grade_item.  More... | |
| item_type () | |
| Return the type of the things in this list.  More... | |
| js () | |
| Initialise the js for this screen.  | |
| make_toggle ($key) | |
| Make the HTML element that toggles all the checkboxes on or off.  More... | |
| make_toggle_links ($key) | |
| Make a toggle link with some text before it.  More... | |
| options () | |
| Convert this list of items into an options list.  More... | |
| original_definition () | |
| Get the original settings for this item.  More... | |
| original_headers () | |
| Get the table headers.  More... | |
| pager () | |
| Get the pager for this page.  More... | |
| perpage_select () | |
| Allow selection of number of items to display per page.  More... | |
| process ($data) | |
| Process the data from the form.  More... | |
| select_label () | |
| Get the label for the select box that chooses items for this page.  More... | |
| set_definition ($overwrite) | |
| Set the table definition.  More... | |
| set_headers ($overwrite) | |
| Set the table headers.  More... | |
| set_init_error ($mesg) | |
| Set an error detected while building the page.  More... | |
| setup_structure () | |
| Cache the grade_structure class.  | |
| summary () | |
| Get the summary for this table.  More... | |
| supports_next_prev () | |
| Should we show the next prev selector?  More... | |
| supports_paging () | |
| Does this page require paging?  More... | |
Static Public Member Functions | |
| static | allowcategories () | 
| True if $CFG->grade_overridecat is true.  More... | |
| static | filter ($item) | 
| Filter the list excluding category items (if required)?  More... | |
Protected Member Functions | |
| load_users () | |
| Load a valid list of users for this gradebook as the screen "items".  More... | |
Protected Attributes | |
| course_context | $context | 
| $context The course context  | |
| int | $courseid | 
| $courseid The id of the course  | |
| array | $definition = array() | 
| $definition Describes the columns in the table  | |
| int | $groupid | 
| $groupid The currently set groupid (if set)  | |
| array | $headers = array() | 
| $headers A list of table headers  | |
| array | $initerrors = array() | 
| $initerrors A list of errors that mean we should not show the table  | |
| int | $itemid | 
| $itemid Either a user id or a grade_item id  | |
| array | $items | 
| $items List of items on the page, they could be users or grade_items  | |
| int | $page | 
| $page The page number  | |
| int | $perpage | 
| $perpage Results per page  | |
Static Protected Attributes | |
| static array | $validperpage = [20, 50, 100, 200, 400, 1000, 5000] | 
| $validperpage List of allowed values for 'perpage' setting  | |
The screen with a list of users.
      
  | 
  static | 
True if $CFG->grade_overridecat is true.
| bool | 
      
  | 
  inherited | 
Get the HTML for the bulk insert form.
| string | 
      
  | 
  inherited | 
Get the buttons for saving changes.
| array | 
      
  | 
  inherited | 
Get the table definition.
| array | The definition. | 
| gradereport_singleview\local\screen\grade::description | ( | ) | 
Get the description of this page.
| string | 
Implements gradereport_singleview\local\screen\selectable_items.
      
  | 
  inherited | 
Should we show the group selector?
| bool | 
      
  | 
  inherited | 
Get the grade_grade.
| grade_item | $item | The grade_item | 
| int | $userid | The user id | 
| grade_grade | 
      
  | 
  static | 
Filter the list excluding category items (if required)?
| grade_item | $item | The grade item. | 
Implements gradereport_singleview\local\screen\filterable_items.
      
  | 
  inherited | 
Get a element to generate the HTML for this table row.
| array | $line | This is a list of lines in the table (modified) | 
| grade_grade | $grade | The grade. | 
| string | 
| gradereport_singleview\local\screen\grade::format_line | ( | $item | ) | 
Format a row in the table.
| user | $item | 
| string | 
Reimplemented from gradereport_singleview\local\screen\tablelike.
      
  | 
  inherited | 
Create a nice link from a thing (user or grade_item).
| string | $screen | |
| int | $itemid | |
| bool | $display | Should we wrap this in an anchor ? | 
| string | The link | 
      
  | 
  inherited | 
Get the table headers.
| array | 
| gradereport_singleview\local\screen\grade::heading | ( | ) | 
Get the heading for this page.
| string | 
Reimplemented from gradereport_singleview\local\screen\screen.
      
  | 
  inherited | 
Get the HTML for the whole table.
| string | 
Reimplemented from gradereport_singleview\local\screen\screen.
| gradereport_singleview\local\screen\grade::init | ( | $selfitemisempty = false | ) | 
Init this page.
| bool | $selfitemisempty | True if we have not selected a user. | 
Reimplemented from gradereport_singleview\local\screen\screen.
      
  | 
  inherited | 
Get the list of errors.
| array | 
| gradereport_singleview\local\screen\grade::item_range | ( | ) | 
Get the range ui element for this grade_item.
| element; | 
| gradereport_singleview\local\screen\grade::item_type | ( | ) | 
Return the type of the things in this list.
| string | 
Implements gradereport_singleview\local\screen\selectable_items.
      
  | 
  protectedinherited | 
Load a valid list of users for this gradebook as the screen "items".
| array::$users | A list of enroled users. | 
      
  | 
  inherited | 
Make the HTML element that toggles all the checkboxes on or off.
| string | $key | A unique key for this control - inserted in the classes. | 
| string | 
      
  | 
  inherited | 
Make a toggle link with some text before it.
| string | $key | A unique key for this control - inserted in the classes. | 
| string | 
| gradereport_singleview\local\screen\grade::options | ( | ) | 
Convert this list of items into an options list.
| array | 
Implements gradereport_singleview\local\screen\selectable_items.
| gradereport_singleview\local\screen\grade::original_definition | ( | ) | 
Get the original settings for this item.
| array | 
| gradereport_singleview\local\screen\grade::original_headers | ( | ) | 
Get the table headers.
| array | 
| gradereport_singleview\local\screen\grade::pager | ( | ) | 
Get the pager for this page.
| string | 
Reimplemented from gradereport_singleview\local\screen\screen.
      
  | 
  inherited | 
Allow selection of number of items to display per page.
| string | 
| gradereport_singleview\local\screen\grade::process | ( | $data | ) | 
Process the data from the form.
| array | $data | 
| array | of warnings | 
Reimplemented from gradereport_singleview\local\screen\screen.
| gradereport_singleview\local\screen\grade::select_label | ( | ) | 
Get the label for the select box that chooses items for this page.
| string | 
Implements gradereport_singleview\local\screen\selectable_items.
      
  | 
  inherited | 
Set the table definition.
| array | $overwrite | New definition | 
| tablelike | This | 
      
  | 
  inherited | 
Set the table headers.
| array | $overwrite | New headers | 
| tablelike | This | 
      
  | 
  inherited | 
Set an error detected while building the page.
| string | $mesg | 
| gradereport_singleview\local\screen\grade::summary | ( | ) | 
Get the summary for this table.
| string | 
Reimplemented from gradereport_singleview\local\screen\tablelike.
      
  | 
  inherited | 
Should we show the next prev selector?
| bool | 
Reimplemented in gradereport_singleview\local\screen\select.
| gradereport_singleview\local\screen\grade::supports_paging | ( | ) | 
Does this page require paging?
| bool | 
Reimplemented from gradereport_singleview\local\screen\screen.