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


Public Member Functions | |
| get_navigation () | |
| get_return_url () | |
| get ($key) | |
| heading_summary () | |
| set_context ($PAGE) | |
Protected Attributes | |
| $cm | |
| $id | |
| $course | |
base class for module callers this just implements a few of the abstract functions from portfolio_caller_base so that caller authors don't need to.
See http://docs.moodle.org/dev/Adding_a_Portfolio_Button_to_a_page {
Definition at line 504 of file caller.php.
| get | ( | $ | key | ) |
override the parent get function to make sure when we're asked for a course we retrieve the object from the database as needed
Reimplemented from portfolio_caller_base.
Definition at line 548 of file caller.php.
| get_navigation | ( | ) |
navigation passed to print_header override this to do something more specific than the module view page
Reimplemented from portfolio_caller_base.
Reimplemented in forum_portfolio_caller.
Definition at line 528 of file caller.php.
| get_return_url | ( | ) |
the url to return to after export or on cancel defaults to the module 'view' page override this if it's deeper inside the module
Reimplemented from portfolio_caller_base.
Reimplemented in chat_portfolio_caller, and forum_portfolio_caller.
Definition at line 538 of file caller.php.

| heading_summary | ( | ) |
return a string to put at the header summarising this export by default, just the display name and the module instance name override this to do something more specific
Reimplemented from portfolio_caller_base.
Definition at line 564 of file caller.php.

| set_context | ( | $ | PAGE | ) |
overridden to return the course module context
Reimplemented from portfolio_caller_base.
Definition at line 571 of file caller.php.
$cm [protected] |
coursemodule object set this in the constructor like $this->cm = get_coursemodule_from_instance('forum', $this->forum->id);
Definition at line 511 of file caller.php.
$course [protected] |
stdclass course object
Reimplemented from portfolio_caller_base.
Definition at line 522 of file caller.php.
$id [protected] |
int cmid
Definition at line 517 of file caller.php.