[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/assignmentupgrade/ -> upgradableassignmentstable.php (summary)

This file contains the definition for the grading table which subclassses easy_table

Copyright: 2012 NetSpot {@link http://www.netspot.com.au}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 182 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

tool_assignmentupgrade_assignments_table:: (6 methods):
  __construct()
  get_rows_per_page()
  col_name()
  col_upgradable()
  col_select()
  show_hide_link()


Class: tool_assignmentupgrade_assignments_table  - X-Ref

Extends table_sql to provide a table of assignment submissions

__construct($perpage, $rowoffset=0)   X-Ref
This table loads a list of the old assignment instances and tests them to see
if they can be upgraded

param: int $perpage How many per page
param: int $rowoffset The starting row for pagination

get_rows_per_page()   X-Ref
Return the number of rows to display on a single page

return: int The number of rows per page

col_name(stdClass $row)   X-Ref
Format a link to the assignment instance

param: stdClass $row
return: string

col_upgradable(stdClass $row)   X-Ref
Format a link to the upgrade single tool

param: stdClass $row (contains cached result from previous upgradable check)
return: string

col_select(stdClass $row)   X-Ref
Insert a checkbox for selecting the current row for batch operations

param: stdClass $row
return: string

show_hide_link($column, $index)   X-Ref
Override the table show_hide_link to not show for select column

param: string $column the column name, index into various names.
param: int $index numerical index of the column.
return: string HTML fragment.



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