[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/enrol/lti/classes/ -> manage_table.php (summary)

Displays enrolment LTI instances.

Copyright: 2016 Mark Nelson <markn@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 218 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

manage_table:: (7 methods):
  __construct()
  col_name()
  col_url()
  col_secret()
  col_edit()
  query_db()
  get_display_text()


Class: manage_table  - X-Ref

Handles displaying enrolment LTI instances.

__construct($courseid)   X-Ref
Sets up the table.

param: string $courseid The id of the course.

col_name($tool)   X-Ref
Generate the name column.

param: \stdClass $tool event data.
return: string

col_url($tool)   X-Ref
Generate the URL column.

param: \stdClass $tool event data.
return: string

col_secret($tool)   X-Ref
Generate the secret column.

param: \stdClass $tool event data.
return: string

col_edit($tool)   X-Ref
Generate the edit column.

param: \stdClass $tool event data.
return: string

query_db($pagesize, $useinitialsbar = true)   X-Ref
Query the reader. Store results in the object for use by build_table.

param: int $pagesize size of page for paginated displayed table.
param: bool $useinitialsbar do you want to use the initials bar.

get_display_text($tool, $text)   X-Ref
Returns text to display in the columns.

param: \stdClass $tool the tool
param: string $text the text to alter
return: string



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