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

Public Member Functions

 __construct ($repositoryid, $context=SYSCONTEXTID, $options=array())
 check_login ()
 logout ()
 set_option ($options=array())
 get_option ($config= '')
 search ($search_text)
 get_listing ($path= '/', $page= '')
 print_login ()
 callback ()
 type_config_form ($mform)
 supported_returntypes ()

Static Public Member Functions

static get_type_option_names ()

Detailed Description

Definition at line 31 of file lib.php.


Constructor & Destructor Documentation

__construct ( repositoryid,
context = SYSCONTEXTID,
options = array() 
)

Constructor

Parameters:
int$repositoryid
object$context
array$options

Definition at line 40 of file lib.php.

Here is the call graph for this function:


Member Function Documentation

callback ( )

Store the auth token returned by box.net

Reimplemented from repository.

Definition at line 200 of file lib.php.

Here is the call graph for this function:

check if user logged

Returns:
boolean

Reimplemented from repository.

Definition at line 64 of file lib.php.

get_listing ( path = '/',
page = '' 
)

Get file listing

Parameters:
string$path
Returns:
mixed

Reimplemented from repository.

Definition at line 149 of file lib.php.

Here is the call graph for this function:

get_option ( config = '')

Get settings

Parameters:
string$config
Returns:
mixed

Reimplemented from repository.

Definition at line 100 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_type_option_names ( ) [static]

Names of the plugin settings

Returns:
array

Reimplemented from repository.

Definition at line 193 of file lib.php.

logout ( )

reset auth token

Returns:
string

Reimplemented from repository.

Definition at line 73 of file lib.php.

Here is the call graph for this function:

Return login form

Returns:
array

Reimplemented from repository.

Definition at line 167 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

search ( search_text)

Search files from box.net

object $OUTPUT

Parameters:
string$search_text
Returns:
mixed

Reimplemented from repository.

Definition at line 117 of file lib.php.

Here is the call graph for this function:

set_option ( options = array())

Save settings

Parameters:
array$options
Returns:
mixed

Reimplemented from repository.

Definition at line 85 of file lib.php.

Here is the call graph for this function:

Box.net supports file linking and copying

Returns:
string

Reimplemented from repository.

Definition at line 242 of file lib.php.

type_config_form ( mform)

Add Plugin settings input to Moodle form

Parameters:
object$mform

Definition at line 209 of file lib.php.

Here is the call graph for this function:


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