Development talk:File API: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
*** draftfile.php | *** draftfile.php | ||
*** userfile.php | *** userfile.php | ||
* from other moddata places: | ** from other moddata places: | ||
*** rssfile.php | *** rssfile.php | ||
*** user/pix.php | *** user/pix.php |
Revision as of 08:13, 16 July 2008
- 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 of FileManager
- integration with editor
- integration with formslib
- integration with repos
- problem: zip support
- File Serving:
- from pool:
- file.php
- pluginfile.php
- draftfile.php
- userfile.php
- from other moddata places:
- rssfile.php
- user/pix.php
- user/pixgroup.php
- from pool:
- Migration:
- course files (as much as possible, allow fallback)
- moddata
- Backup & restore: