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


Public Member Functions | |
| __construct ($callbackargs) | |
| load_data () | |
| get_return_url () | |
| get_navigation () | |
| prepare_package () | |
| get_sha1 () | |
| expected_time () | |
| check_permissions () | |
Static Public Member Functions | |
| static | expected_callbackargs () |
| static | display_name () |
| static | base_supported_formats () |
Protected Attributes | |
| $postid | |
| $discussionid | |
| $attachment | |
Definition at line 30 of file locallib.php.
| __construct | ( | $ | callbackargs | ) |
| array | $callbackargs |
Reimplemented from portfolio_caller_base.
Definition at line 55 of file locallib.php.
| static base_supported_formats | ( | ) | [static] |
Reimplemented from portfolio_caller_base.
Definition at line 390 of file locallib.php.
CONTEXT_MODULE
Reimplemented from portfolio_caller_base.
Definition at line 374 of file locallib.php.

| static display_name | ( | ) | [static] |
Reimplemented from portfolio_caller_base.
Definition at line 386 of file locallib.php.
| static expected_callbackargs | ( | ) | [static] |
| 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 360 of file locallib.php.

| get_navigation | ( | ) |
object
Reimplemented from portfolio_module_caller_base.
Definition at line 151 of file locallib.php.

| get_return_url | ( | ) |
object
Reimplemented from portfolio_module_caller_base.
Definition at line 143 of file locallib.php.
| get_sha1 | ( | ) |
Reimplemented from portfolio_caller_base.
Definition at line 343 of file locallib.php.

| load_data | ( | ) |
object
Reimplemented from portfolio_caller_base.
Definition at line 64 of file locallib.php.

| prepare_package | ( | ) |
either a whole discussion a single post, with or without attachment or just an attachment with no post
object object PORTFOLIO_FORMAT_RICH
Reimplemented from portfolio_caller_base.
Definition at line 172 of file locallib.php.
$attachment [protected] |
Definition at line 34 of file locallib.php.
$discussionid [protected] |
Definition at line 33 of file locallib.php.
$postid [protected] |
Definition at line 32 of file locallib.php.