Issue Details (XML | Word | Printable)

Key: MDL-16525
Type: Sub-task Sub-task
Status: Open Open
Priority: Blocker Blocker
Assignee: Petr Skoda
Reporter: Martin Dougiamas
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14589

Document the File API on Moodle Docs

Created: 16/Sep/08 03:08 PM   Updated: 15/Apr/09 04:54 PM
Return to search
Component/s: Files API
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Martin Dougiamas, Petr Skoda and Tim Hunt
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
We need a simple example and docs to explain to all developers how to convert to the new FIle API


    http://docs.moodle.org/en/Development:File_API_HOWTO

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tim Hunt added a comment - 06/Nov/08 04:00 PM
Also, how to, for example, take I file you have just constructed at, say, path $from_zip_file, and add it to the course_backup file area.

Tim Hunt added a comment - 06/Nov/08 04:16 PM

Tim Hunt added a comment - 02/Feb/09 02:53 PM
Taking, since I am bored of waiting for someone else to do this.

Tim Hunt added a comment - 15/Apr/09 04:51 PM
Passing the buck to Petr

Martin Dougiamas added a comment - 15/Apr/09 04:54 PM
Note, we must include the lib.php functions xxxxx_get_file_areas and xxxxx_pluginfile and also document clearly the naming conventions for other types of modules like blocks and question types.