[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/assign/feedback/editpdf/ -> locallib.php (summary)

This file contains the definition for the library class for PDF feedback plugin

Copyright: 2012 Davo Smith
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 297 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

assign_feedback_editpdf:: (10 methods):
  get_name()
  get_widget()
  get_form_elements_for_user()
  save()
  view_summary()
  view()
  is_empty()
  delete_instance()
  is_enabled()
  is_configurable()


Class: assign_feedback_editpdf  - X-Ref

library class for editpdf feedback plugin extending feedback plugin base class

get_name()   X-Ref
Get the name of the file feedback plugin

return: string

get_widget($userid, $grade, $readonly)   X-Ref
Create a widget for rendering the editor.

param: int $userid
param: stdClass $grade
param: bool $readonly
return: assignfeedback_editpdf_widget

get_form_elements_for_user($grade, MoodleQuickForm $mform, stdClass $data, $userid)   X-Ref
Get form elements for grading form

param: stdClass $grade
param: MoodleQuickForm $mform
param: stdClass $data
param: int $userid
return: bool true if elements were added to the form

save(stdClass $grade, stdClass $data)   X-Ref
Generate the pdf.

param: stdClass $grade
param: stdClass $data
return: bool

view_summary(stdClass $grade, & $showviewlink)   X-Ref
Display the list of files in the feedback status table.

param: stdClass $grade
param: bool $showviewlink (Always set to false).
return: string

view(stdClass $grade)   X-Ref
Display the list of files in the feedback status table.

param: stdClass $grade
return: string

is_empty(stdClass $grade)   X-Ref
Return true if there are no released comments/annotations.

param: stdClass $grade

delete_instance()   X-Ref
The assignment has been deleted - remove the plugin specific data

return: bool

is_enabled()   X-Ref
Automatically enable or disable editpdf feedback plugin based on
whether the ghostscript path is set correctly.

return: bool

is_configurable()   X-Ref
Automatically hide the setting for the editpdf feedback plugin.

return: bool false



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1