Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/portfolio/constants.php File Reference

Go to the source code of this file.

Namespaces

namespace  core

Enumerations

enum  PORTFOLIO_STAGE_CONFIG
enum  PORTFOLIO_STAGE_CONFIRM
enum  PORTFOLIO_STAGE_QUEUEORWAIT
enum  PORTFOLIO_STAGE_PACKAGE
enum  PORTFOLIO_STAGE_SEND
enum  PORTFOLIO_STAGE_CLEANUP
enum  PORTFOLIO_STAGE_FINISHED
enum  PORTFOLIO_FORMAT_FILE
enum  PORTFOLIO_FORMAT_MBKP
enum  PORTFOLIO_FORMAT_RICHHTML
enum  PORTFOLIO_FORMAT_PLAINHTML
enum  PORTFOLIO_FORMAT_IMAGE
enum  PORTFOLIO_FORMAT_VIDEO
enum  PORTFOLIO_FORMAT_TEXT
enum  PORTFOLIO_FORMAT_PDF
enum  PORTFOLIO_FORMAT_DOCUMENT
enum  PORTFOLIO_FORMAT_SPREADSHEET
enum  PORTFOLIO_FORMAT_PRESENTATION
enum  PORTFOLIO_FORMAT_RICH
enum  PORTFOLIO_FORMAT_LEAP2A
enum  PORTFOLIO_TIME_LOW
enum  PORTFOLIO_TIME_MODERATE
enum  PORTFOLIO_TIME_HIGH
enum  PORTFOLIO_TIME_FORCEQUEUE
enum  PORTFOLIO_ADD_FULL_FORM
enum  PORTFOLIO_ADD_ICON_FORM
enum  PORTFOLIO_ADD_ICON_LINK
enum  PORTFOLIO_ADD_TEXT_LINK
enum  PORTFOLIO_ADD_FAKE_URL

Enumeration Type Documentation

hacky way to turn the button class into a url to redirect to this replaces the old portfolio_fake_add_url function

Definition at line 222 of file constants.php.

a whole form, containing a drop down menu (where necessary) and a submit button

Definition at line 197 of file constants.php.

a whole form, containing a drop down menu (where necessary) but has an icon instead of a button to submit

Definition at line 204 of file constants.php.

just an icon with a link around it (yuk, as will result in a long url only use where necessary)

Definition at line 210 of file constants.php.

just some text with a link around it (yuk, as will result in a long url only use where necessary)

Definition at line 216 of file constants.php.

document - subtype of file

Definition at line 135 of file constants.php.

file - the most basic fallback format. this should always be supported in remote system.s

Definition at line 92 of file constants.php.

image - subtype of file

Definition at line 115 of file constants.php.

leap2a http://wiki.cetis.ac.uk/LEAP_2.0 supported by mahara and and others

Definition at line 156 of file constants.php.

moodle backup - the plugin needs to be able to write a complete backup the caller need to be able to export the particular XML bits to insert into moodle.xml (?and the file bits if necessary)

Definition at line 99 of file constants.php.

pdf - subtype of file

Definition at line 130 of file constants.php.

plainhtml - a single html representation - no attachments

Definition at line 110 of file constants.php.

document - subtype of file

Definition at line 145 of file constants.php.

abstract - just used to say, "we support all these"

Definition at line 150 of file constants.php.

richhtml - like html but with attachments.

Definition at line 104 of file constants.php.

document - subtype of file

Definition at line 140 of file constants.php.

text - subtype of file

Definition at line 125 of file constants.php.

video - subtype of file

Definition at line 120 of file constants.php.

cleanup the temporary area

Definition at line 71 of file constants.php.

display a form to the user this one might not be used if neither the plugin, or the caller has any config.

Definition at line 40 of file constants.php.

summarise the form and ask for confirmation if we skipped PORTFOLIO_STAGE_CONFIG, just confirm the send.

Definition at line 47 of file constants.php.

display the "finished notification"

Definition at line 76 of file constants.php.

package up the various bits during this stage both the caller and the plugin get their package methods called

Definition at line 61 of file constants.php.

either queue the event and skip to PORTFOLIO_STAGE_FINISHED or continue to PORTFOLIO_STAGE_PACKAGE

Definition at line 54 of file constants.php.

Definition at line 66 of file constants.php.

very slow, or immediate transfers not supported

Definition at line 186 of file constants.php.

slow. the user really should not be given the option to choose this.

Definition at line 181 of file constants.php.

no delay. don't even offer the user the option of not waiting for the transfer

Definition at line 169 of file constants.php.

a small delay. user can still easily opt to watch this transfer and wait.

Definition at line 175 of file constants.php.

 All Data Structures Namespaces Files Functions Variables Enumerations