__construct |
( |
|
$callbackargs | ) |
|
The constructor.
- Parameters
-
static base_supported_formats |
( |
| ) |
|
|
static |
Return array of formats supported by this portfolio call back.
- Returns
- array
Checking the permissions.
- Returns
- bool
Display a module name.
- Returns
- string
static expected_callbackargs |
( |
| ) |
|
|
static |
Callback arg for a single file export.
Calculate the time to transfer either a single file or a list of files based on the data set by load_data.
- Returns
- int
Calculate a sha1 has of either a single file or a list of files based on the data set by load_data.
- Returns
- string
get_submission_plugin |
( |
| ) |
|
|
protected |
Fetch the plugin by its type.
- Returns
- assign_submission_plugin
Load data needed for the portfolio export.
If the assignment type implements portfolio_load_data(), the processing is delegated to it. Otherwise, the caller must provide either fileid (to export single file) or submissionid and filearea (to export all data attached to the given submission file area) via callback arguments.
- Exceptions
-
portfolio_caller_exception | |
Prepares the package up before control is passed to the portfolio plugin.
- Exceptions
-
portfolio_caller_exception | |
- Returns
- mixed
The documentation for this class was generated from the following file: