Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: File API.

Development talk:File API

From MoodleDocs
  • File Storage API:
    • abstract
    • local pool implementation
    • DB schema
    • deletion, acls, metadata
    • problem: empty directories, file overwriting
  • File Manager API:
    • unique class, able to handle one "file area"
    • security
    • js and non js implementations
    • integration with editor
    • integration with formslib
    • integration with repos
    • problem: zip support
  • File Serving:
    • from pool:
      • file.php
      • pluginfile.php
      • userfile.php
  • from other moddata places:
      • rssfile.php
      • user/pix.php
      • user/pixgroup.php
  • Migration:
    • course files (as much as possible, allow fallback)
    • moddata
  • Backup & restore: