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

Go to the source code of this file.

Data Structures

class  repository_type
class  repository
class  repository_exception
class  repository_instance_form
class  repository_type_form

Namespaces

namespace  core
namespace  moodlecore

Enumerations

enum  FILE_EXTERNAL
enum  FILE_INTERNAL
enum  RENAME_SUFFIX

Functions

 initialise_filepicker ($args)
 repository_attach_id (&$value, $key, $id)

Enumeration Type Documentation

Definition at line 34 of file lib.php.

Definition at line 35 of file lib.php.

Definition at line 36 of file lib.php.


Function Documentation

initialise_filepicker ( args)

Generate all options needed by filepicker

Parameters:
array$args,includingfollowing keys context accepted_types return_types
Returns:
array the list of repository instances, including meta infomation, containing the following keys externallink repositories accepted_types

Definition at line 2094 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

repository_attach_id ( &$  value,
key,
id 
)

Small function to walk an array to attach repository ID

Parameters:
array$value
string$key
int$id

Definition at line 2170 of file lib.php.

 All Data Structures Namespaces Files Functions Variables Enumerations