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

Public Member Functions

 load_data ()
 expected_time ()
 check_permissions ()
 prepare_package ()
 get_sha1 ()

Static Public Member Functions

static expected_callbackargs ()
static display_name ()
static base_supported_formats ()
static entry_content ($course, $cm, $glossary, $entry, $aliases, $format)

Protected Attributes

 $entryid

Detailed Description

Definition at line 217 of file locallib.php.


Member Function Documentation

static base_supported_formats ( ) [static]

what formats this function *generally* supports

Returns:
array

Reimplemented from portfolio_caller_base.

Definition at line 370 of file locallib.php.

make sure that the current user is allowed to do this

Returns:
boolean

Reimplemented from portfolio_caller_base.

Definition at line 284 of file locallib.php.

Here is the call graph for this function:

static display_name ( ) [static]

return a nice name to be displayed about this export location

Returns:
string

Reimplemented from portfolio_caller_base.

Definition at line 295 of file locallib.php.

static entry_content ( course,
cm,
glossary,
entry,
aliases,
format 
) [static]

helper function to get the html content of an entry for both this class and the full glossary exporter this is a very simplified version of the dictionary format output, but with its 500 levels of indirection removed and file rewriting handled by the portfolio export format.

Parameters:
stdclass$course
stdclass$cm
stdclass$glossary
stdclass$entry
Returns:
string

Definition at line 388 of file locallib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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, )

Returns:
array

Reimplemented from portfolio_caller_base.

Definition at line 225 of file locallib.php.

how long might we expect this export to take

Returns:
constant one of PORTFOLIO_TIME_XX

Reimplemented from portfolio_caller_base.

Definition at line 275 of file locallib.php.

get_sha1 ( )

return the sha1 of this content

Returns:
string

Reimplemented from portfolio_caller_base.

Definition at line 358 of file locallib.php.

Here is the call graph for this function:

load_data ( )

load up all data required for this export.

Returns:
void

Reimplemented from portfolio_caller_base.

Definition at line 237 of file locallib.php.

Here is the call graph for this function:

prepare the package ready to be passed off to the portfolio plugin

Returns:
void

Reimplemented from portfolio_caller_base.

Definition at line 304 of file locallib.php.

Here is the call graph for this function:


Field Documentation

$entryid [protected]

Definition at line 221 of file locallib.php.


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