Moodle  2.2.1
http://www.collinsharper.com
forum_portfolio_caller Class Reference
Inheritance diagram for forum_portfolio_caller:
Collaboration diagram for forum_portfolio_caller:

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

Detailed Description

Definition at line 30 of file locallib.php.


Constructor & Destructor Documentation

__construct ( callbackargs)
Parameters:
array$callbackargs

Reimplemented from portfolio_caller_base.

Definition at line 55 of file locallib.php.


Member Function Documentation

static base_supported_formats ( ) [static]

Reimplemented from portfolio_caller_base.

Definition at line 390 of file locallib.php.

CONTEXT_MODULE

Returns:
bool

Reimplemented from portfolio_caller_base.

Definition at line 374 of file locallib.php.

Here is the call graph for this function:

static display_name ( ) [static]
Returns:
string

Reimplemented from portfolio_caller_base.

Definition at line 386 of file locallib.php.

static expected_callbackargs ( ) [static]
Returns:
array

Reimplemented from portfolio_caller_base.

Definition at line 45 of file locallib.php.

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 )

Returns:
string (see PORTFOLIO_TIME_* constants)

Reimplemented from portfolio_caller_base.

Definition at line 360 of file locallib.php.

Here is the call graph for this function:

object

Returns:
array

Reimplemented from portfolio_module_caller_base.

Definition at line 151 of file locallib.php.

Here is the call graph for this function:

object

Returns:
string

Reimplemented from portfolio_module_caller_base.

Definition at line 143 of file locallib.php.

get_sha1 ( )
Returns:
string

Reimplemented from portfolio_caller_base.

Definition at line 343 of file locallib.php.

Here is the call graph for this function:

load_data ( )

object

Reimplemented from portfolio_caller_base.

Definition at line 64 of file locallib.php.

Here is the call graph for this function:

either a whole discussion a single post, with or without attachment or just an attachment with no post

object object PORTFOLIO_FORMAT_RICH

Returns:
mixed

Reimplemented from portfolio_caller_base.

Definition at line 172 of file locallib.php.


Field Documentation

$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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations