[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/ -> upgrade.txt (source)

   1  This files describes API changes in /admin/tool/* - plugins,
   2  information provided here is intended especially for developers.
   3  
   4  
   5  === 2.2 ===
   6  
   7  API changes:
   8  * new admin tool plugin type introduced
   9  
  10  
  11  How to migrate existing admin reports:
  12  # move all files to new /admin/tool/yourplugin/ location
  13  # update all links to admin tools /$CFG->admin/report/ to /$CFG->admin/tool/
  14  # add language pack with at least 'pluginname' string
  15  # update all language strings (use 'tool_yourplugin' instead of 'report_yourplugin') - use AMOS hints in commit message
  16  # update all capability names
  17  # create db/install.php migration script - delete old settings and capabilities (see converted plugins for examples)
  18  # grep the plugin codebase and look for any remaining 'coursereport' occurrences
  19  # update CSS selectors
  20  
  21  See http://docs.moodle.org/dev/Admin_tools for more details and explanation.


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