[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/grade/report/singleview/classes/local/screen/ -> tablelike.php (summary)

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: 240 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 10 functions

  headers()
  set_headers()
  init_errors()
  set_init_error()
  definition()
  set_definition()
  format_definition()
  html()
  bulk_insert()
  buttons()

Functions
Functions that are not part of a class:

headers()   X-Ref
Get the table headers

return: array

set_headers($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($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($overwrite)   X-Ref
Set the table definition

param: array $overwrite New definition
return: tablelike This

format_definition($line, $grade)   X-Ref
Get a element to generate the HTML for this table row

param: array $line This is a list of lines in the table (modified)
param: grade_grade $grade The grade.
return: string

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

buttons()   X-Ref
Get the buttons for saving changes.

return: array



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1