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

Public Member Functions

 expected_time ($callertime)
 prepare_package ()
 send_package ()
 get_interactive_continue_url ()

Static Public Member Functions

static get_name ()

Detailed Description

Definition at line 42 of file portfolio_testclass.php.


Member Function Documentation

expected_time ( callertime)

how long does this reasonably expect to take.. should we offer the user the option to wait.. this is deliberately nonstatic so it can take filesize into account

Parameters:
string$callertime- what the caller thinks the portfolio plugin instance is given the final say because it might be (for example) download.
Returns:
string (see PORTFOLIO_TIME_* constants)

Reimplemented from portfolio_plugin_base.

Definition at line 43 of file portfolio_testclass.php.

the url for the user to continue to their portfolio during the lifecycle of the request

Returns:
string url or false.

Reimplemented from portfolio_plugin_base.

Definition at line 55 of file portfolio_testclass.php.

static get_name ( ) [static]

returns the user-friendly name for this plugin usually just get_string('pluginname', 'portfolio_something')

Returns:
string

Reimplemented from portfolio_plugin_base.

Definition at line 59 of file portfolio_testclass.php.

called after the caller has finished having control of its prepare_package function. this function should read all the files from the portfolio working file area and zip them and send them or whatever it wants. {

See also:
get_tempfiles} to get the list of files.

Reimplemented from portfolio_plugin_base.

Definition at line 47 of file portfolio_testclass.php.

this is the function that is responsible for sending the package to the remote system, or whatever request is necessary to initiate the transfer.

Returns:
boolean success

Reimplemented from portfolio_plugin_base.

Definition at line 51 of file portfolio_testclass.php.


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