[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/installaddon/ -> renderer.php (summary)

Output rendering for the plugin.

Copyright: 2013 David Mudrak <david@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 236 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

tool_installaddon_renderer:: (11 methods):
  set_installer_instance()
  index_page()
  zip_not_valid_plugin_package_page()
  remote_request_invalid_page()
  remote_request_alreadyinstalled_page()
  remote_request_confirm_page()
  remote_request_permcheck_page()
  remote_request_non_installable_page()
  index_page_heading()
  index_page_repository()
  index_page_upload()


Class: tool_installaddon_renderer  - X-Ref

Implements the plugin renderer

set_installer_instance(tool_installaddon_installer $installer)   X-Ref
Sets the tool_installaddon_installer instance being used.

param: tool_installaddon_installer $installer

index_page()   X-Ref
Defines the index page layout

return: string

zip_not_valid_plugin_package_page(moodle_url $continueurl)   X-Ref
Inform the user that the ZIP is not a valid plugin package file.

param: moodle_url $continueurl
return: string

remote_request_invalid_page(moodle_url $continueurl)   X-Ref
Inform the user about invalid remote installation request.

param: moodle_url $continueurl
return: string

remote_request_alreadyinstalled_page(stdClass $data, moodle_url $continueurl)   X-Ref
Inform the user that such plugin is already installed

param: stdClass $data decoded request data
param: moodle_url $continueurl
return: string

remote_request_confirm_page(stdClass $data, moodle_url $continueurl, moodle_url $cancelurl)   X-Ref
Let the user confirm the remote installation request.

param: stdClass $data decoded request data
param: moodle_url $continueurl
param: moodle_url $cancelurl
return: string

remote_request_permcheck_page(stdClass $data, $plugintypepath, moodle_url $continueurl, moodle_url $cancelurl)   X-Ref
Inform the user that the target plugin type location is not writable.

param: stdClass $data decoded request data
param: string $plugintypepath full path to the plugin type location
param: moodle_url $continueurl to repeat the write permission check
param: moodle_url $cancelurl to cancel the installation
return: string

remote_request_non_installable_page(stdClass $data, moodle_url $continueurl)   X-Ref
Inform the user that the requested remote plugin is not installable.

param: stdClass $data decoded request data with ->reason property added
param: moodle_url $continueurl
return: string

index_page_heading()   X-Ref
Renders the index page heading

return: string

index_page_repository()   X-Ref
Renders the widget for browsing the add-on repository

return: string

index_page_upload()   X-Ref
Renders the widget for uploading the add-on ZIP package

return: string



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