|
Moodle
2.2.1
http://www.collinsharper.com
|


Static Public Member Functions | |
| static | get_files_parameters () |
| static | get_files ($contextid, $component, $filearea, $itemid, $filepath, $filename) |
| static | get_files_returns () |
| static | upload_parameters () |
| static | upload ($contextid, $component, $filearea, $itemid, $filepath, $filename, $filecontent) |
| static | upload_returns () |
Files functions
Definition at line 33 of file externallib.php.
| static get_files | ( | $ | contextid, |
| $ | component, | ||
| $ | filearea, | ||
| $ | itemid, | ||
| $ | filepath, | ||
| $ | filename | ||
| ) | [static] |
Return moodle files listing
| int | $contextid | |
| int | $component | |
| int | $filearea | |
| int | $itemid | |
| string | $filepath | |
| string | $filename |
Definition at line 62 of file externallib.php.

| static get_files_parameters | ( | ) | [static] |
Returns description of get_files parameters
Definition at line 39 of file externallib.php.
| static get_files_returns | ( | ) | [static] |
Returns description of get_files returns
Definition at line 141 of file externallib.php.
| static upload | ( | $ | contextid, |
| $ | component, | ||
| $ | filearea, | ||
| $ | itemid, | ||
| $ | filepath, | ||
| $ | filename, | ||
| $ | filecontent | ||
| ) | [static] |
Uploading a file to moodle
| int | $contextid | |
| string | $component | |
| string | $filearea | |
| int | $itemid | |
| string | $filepath | |
| string | $filename | |
| string | $filecontent |
Definition at line 204 of file externallib.php.

| static upload_parameters | ( | ) | [static] |
Returns description of upload parameters
Definition at line 178 of file externallib.php.
| static upload_returns | ( | ) | [static] |
Returns description of upload returns
Definition at line 288 of file externallib.php.