|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Functions | |
| upload_file ($session, $filePath, $mimetype=null, $encoding=null) | |
| upload_file | ( | $ | session, |
| $ | filePath, | ||
| $ | mimetype = null, |
||
| $ | encoding = null |
||
| ) |
Uploads a file into content store and returns the content data string which can be used to populate a content property.
| $session | the session |
| $filePath | the file location |
Definition at line 39 of file Functions.php.
