See Release Notes
Long Term Support Release
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 - base class for the table
Copyright: | 2014 Moodle Pty Ltd (http://moodle.com) |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 256 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
tablelike:: (11 methods):
headers()
set_headers()
init_errors()
set_init_error()
definition()
set_definition()
format_definition()
html()
bulk_insert()
is_readonly()
buttons()
headers() X-Ref |
Get the table headers return: array |
set_headers(array $overwrite) X-Ref |
Set the table headers param: array $overwrite New headers return: tablelike This |
init_errors() X-Ref |
Get the list of errors return: array |
set_init_error(string $mesg) X-Ref |
Set an error detected while building the page. param: string $mesg |
definition() X-Ref |
Get the table definition return: array The definition. |
set_definition(array $overwrite) X-Ref |
Set the table definition param: array $overwrite New definition return: tablelike This |
format_definition(grade_grade $grade) X-Ref |
Get a element to generate the HTML for this table row param: grade_grade $grade The grade. return: array |
html() X-Ref |
Get the HTML for the whole table return: string |
bulk_insert() X-Ref |
Get the HTML for the bulk insert form return: string |
is_readonly() X-Ref |
Return true if this is read-only. return: bool |
buttons(bool $disabled = false) X-Ref |
Get the buttons for saving changes. param: bool $disabled If button is disabled return: array |