Moodle  2.2.1
http://www.collinsharper.com
moodle_file_external Class Reference
Inheritance diagram for moodle_file_external:
Collaboration diagram for moodle_file_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

Deprecated files functions

Deprecated:
since Moodle 2.2 please use core_files_external instead

Definition at line 307 of file externallib.php.


Member Function Documentation

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

Return moodle files listing

Deprecated:
since Moodle 2.2 please use core_files_external::get_files instead
Parameters:
int$contextid
int$component
int$filearea
int$itemid
string$filepath
string$filename
Returns:
array

Definition at line 329 of file externallib.php.

static get_files_parameters ( ) [static]

Returns description of get_files parameters

Deprecated:
since Moodle 2.2 please use core_files_external::get_files_parameters instead
Returns:
external_function_parameters

Definition at line 314 of file externallib.php.

static get_files_returns ( ) [static]

Returns description of get_files returns

Deprecated:
since Moodle 2.2 please use core_files_external::get_files_returns instead
Returns:
external_multiple_structure

Definition at line 338 of file externallib.php.

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

Uploading a file to moodle

Deprecated:
since Moodle 2.2 please use core_files_external::upload instead
Parameters:
int$contextid
string$component
string$filearea
int$itemid
string$filepath
string$filename
string$filecontent
Returns:
array

Definition at line 363 of file externallib.php.

static upload_parameters ( ) [static]

Returns description of upload parameters

Deprecated:
since Moodle 2.2 please use core_files_external::upload_parameters instead
Returns:
external_function_parameters

Definition at line 347 of file externallib.php.

static upload_returns ( ) [static]

Returns description of upload returns

Deprecated:
since Moodle 2.2 please use core_files_external::upload_returns instead
Returns:
external_multiple_structure

Definition at line 372 of file externallib.php.


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