|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| expected_time ($callertime) | |
| prepare_package () | |
| send_package () | |
| get_interactive_continue_url () | |
Static Public Member Functions | |
| static | get_name () |
Definition at line 42 of file portfolio_testclass.php.
| 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
| string | $callertime | - what the caller thinks the portfolio plugin instance is given the final say because it might be (for example) download. |
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
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')
Reimplemented from portfolio_plugin_base.
Definition at line 59 of file portfolio_testclass.php.
| prepare_package | ( | ) |
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. {
Reimplemented from portfolio_plugin_base.
Definition at line 47 of file portfolio_testclass.php.
| send_package | ( | ) |
this is the function that is responsible for sending the package to the remote system, or whatever request is necessary to initiate the transfer.
Reimplemented from portfolio_plugin_base.
Definition at line 51 of file portfolio_testclass.php.