Moodle  2.2.1
http://www.collinsharper.com
core_files_external Class Reference
Inheritance diagram for core_files_external:
Collaboration diagram for core_files_external:

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 ()

Detailed Description

Files functions

Definition at line 33 of file externallib.php.


Member Function Documentation

static get_files ( contextid,
component,
filearea,
itemid,
filepath,
filename 
) [static]

Return moodle files listing

Parameters:
int$contextid
int$component
int$filearea
int$itemid
string$filepath
string$filename
Returns:
array

Definition at line 62 of file externallib.php.

Here is the call graph for this function:

static get_files_parameters ( ) [static]

Returns description of get_files parameters

Returns:
external_function_parameters

Definition at line 39 of file externallib.php.

static get_files_returns ( ) [static]

Returns description of get_files returns

Returns:
external_multiple_structure

Definition at line 141 of file externallib.php.

static upload ( contextid,
component,
filearea,
itemid,
filepath,
filename,
filecontent 
) [static]

Uploading a file to moodle

Parameters:
int$contextid
string$component
string$filearea
int$itemid
string$filepath
string$filename
string$filecontent
Returns:
array

Definition at line 204 of file externallib.php.

Here is the call graph for this function:

static upload_parameters ( ) [static]

Returns description of upload parameters

Returns:
external_function_parameters

Definition at line 178 of file externallib.php.

static upload_returns ( ) [static]

Returns description of upload returns

Returns:
external_multiple_structure

Definition at line 288 of file externallib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations