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


Public Member Functions | |
| __construct ($content) | |
| expected_time () | |
| get_navigation () | |
| get_sha1 () | |
| prepare_package () | |
| get_return_url () | |
| check_permissions () | |
| load_data () | |
| set_context ($PAGE) | |
Static Public Member Functions | |
| static | display_name () |
| static | expected_callbackargs () |
| static | base_supported_formats () |
Definition at line 64 of file portfolio_testclass.php.
| __construct | ( | $ | content | ) |
Reimplemented from portfolio_caller_base.
Definition at line 67 of file portfolio_testclass.php.
| static base_supported_formats | ( | ) | [static] |
Reimplemented from portfolio_caller_base.
Definition at line 107 of file portfolio_testclass.php.
callback to do whatever capability checks required in the caller (called during the export process
Reimplemented from portfolio_caller_base.
Definition at line 92 of file portfolio_testclass.php.
| static display_name | ( | ) | [static] |
nice name to display to the user about this caller location
Reimplemented from portfolio_caller_base.
Definition at line 96 of file portfolio_testclass.php.
| static expected_callbackargs | ( | ) | [static] |
array of arguments the caller expects to be passed through to it this must be keyed on the argument name, and the array value is a boolean, whether it is required, or just optional eg array( id => true, somethingelse => false, )
Reimplemented from portfolio_caller_base.
Definition at line 104 of file portfolio_testclass.php.
| expected_time | ( | ) |
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 the portfolio plugin can override this. (so for example even if a huge file is being sent, the download portfolio plugin doesn't care )
Reimplemented from portfolio_caller_base.
Definition at line 71 of file portfolio_testclass.php.
| get_navigation | ( | ) |
used for displaying the navigation during the export screens.
this function must be implemented, but can really return anything. an Exporting.. string will be added on the end.
to pass to build_navigation
Reimplemented from portfolio_caller_base.
Definition at line 75 of file portfolio_testclass.php.

| get_return_url | ( | ) |
this is the "return to where you were" url
Reimplemented from portfolio_caller_base.
Definition at line 88 of file portfolio_testclass.php.

| get_sha1 | ( | ) |
Reimplemented from portfolio_caller_base.
Definition at line 80 of file portfolio_testclass.php.
| load_data | ( | ) |
Reimplemented from portfolio_caller_base.
Definition at line 100 of file portfolio_testclass.php.
| prepare_package | ( | ) |
called before the portfolio plugin gets control this function should copy all the files it wants to the temporary directory, using {
Reimplemented from portfolio_caller_base.
Definition at line 84 of file portfolio_testclass.php.
| set_context | ( | $ | PAGE | ) |
return the context for this export. used for $PAGE->set_context
Reimplemented from portfolio_caller_base.
Definition at line 110 of file portfolio_testclass.php.
