Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/alfresco/Service/Functions.php File Reference

Go to the source code of this file.

Functions

 upload_file ($session, $filePath, $mimetype=null, $encoding=null)

Function Documentation

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.

Parameters:
$sessionthe session
$filePaththe file location
Returns:
String the content data that can be used to update the content property

Definition at line 39 of file Functions.php.

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations