Moodle

Document the File API on Moodle Docs

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Files API
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

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

Activity

Hide
Tim Hunt added a comment -

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.

Show
Tim Hunt added a comment - 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.
Hide
Tim Hunt added a comment -
Show
Tim Hunt added a comment - I started a page for you: http://docs.moodle.org/en/Development:Using_the_file_API
Hide
Tim Hunt added a comment -

Taking, since I am bored of waiting for someone else to do this.

Show
Tim Hunt added a comment - Taking, since I am bored of waiting for someone else to do this.
Hide
Tim Hunt added a comment -

Passing the buck to Petr

Show
Tim Hunt added a comment - Passing the buck to Petr
Hide
Martin Dougiamas added a comment -

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.

Show
Martin Dougiamas added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: