See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 39 and 401]
This file contains the definition for the library class for edit PDF renderer.
Copyright: | 2012 Davo Smith |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 281 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
assignfeedback_editpdf_renderer:: (3 methods):
get_shortcut()
render_toolbar_button()
render_assignfeedback_editpdf_widget()
Class: assignfeedback_editpdf_renderer - X-Ref
A custom renderer class that extends the plugin_renderer_base and is used by the editpdf feedback plugin.get_shortcut($name) X-Ref |
Return the PDF button shortcut. param: string $name the name of a specific button. return: string the specific shortcut. |
render_toolbar_button($icon, $tool, $accesskey = null, $disabled=false) X-Ref |
Render a single colour button. param: string $icon - The key for the icon param: string $tool - The key for the lang string. param: string $accesskey Optional - The access key for the button. param: bool $disabled Optional - Is this button disabled. return: string |
render_assignfeedback_editpdf_widget(assignfeedback_editpdf_widget $widget) X-Ref |
Render the editpdf widget in the grading form. param: assignfeedback_editpdf_widget $widget - Renderable widget containing assignment, user and attempt number. return: string |