Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/portfolio/constants.php
Go to the documentation of this file.
00001 <?php
00029 defined('MOODLE_INTERNAL') || die();
00030 
00031 // ************************************************** //
00032 // EXPORT STAGE CONSTANTS
00033 // ************************************************** //
00034 
00040 define('PORTFOLIO_STAGE_CONFIG', 1);
00041 
00047 define('PORTFOLIO_STAGE_CONFIRM', 2);
00048 
00054 define('PORTFOLIO_STAGE_QUEUEORWAIT', 3);
00055 
00061 define('PORTFOLIO_STAGE_PACKAGE', 4);
00062 
00063 /*
00064 * the portfolio plugin must send the file
00065 */
00066 define('PORTFOLIO_STAGE_SEND', 5);
00067 
00071 define('PORTFOLIO_STAGE_CLEANUP', 6);
00072 
00076 define('PORTFOLIO_STAGE_FINISHED', 7);
00077 
00078 
00079 
00080 // ************************************************** //
00081 // EXPORT FORMAT CONSTANTS
00082 // these should always correspond to a string
00083 // in the portfolio module, called format_{$value}
00084 // ************************************************** //
00085 
00086 
00092 define('PORTFOLIO_FORMAT_FILE', 'file');
00093 
00099 define('PORTFOLIO_FORMAT_MBKP', 'mbkp');
00100 
00104 define('PORTFOLIO_FORMAT_RICHHTML', 'richhtml');
00105 
00106 
00110 define('PORTFOLIO_FORMAT_PLAINHTML', 'plainhtml');
00111 
00115 define('PORTFOLIO_FORMAT_IMAGE', 'image');
00116 
00120 define('PORTFOLIO_FORMAT_VIDEO', 'video');
00121 
00125 define('PORTFOLIO_FORMAT_TEXT', 'text');
00126 
00130 define('PORTFOLIO_FORMAT_PDF', 'pdf');
00131 
00135 define('PORTFOLIO_FORMAT_DOCUMENT', 'document');
00136 
00140 define('PORTFOLIO_FORMAT_SPREADSHEET', 'spreadsheet');
00141 
00145 define('PORTFOLIO_FORMAT_PRESENTATION', 'presentation');
00146 
00150 define('PORTFOLIO_FORMAT_RICH', 'rich');
00151 
00156 define('PORTFOLIO_FORMAT_LEAP2A', 'leap2a');
00157 
00158 // ************************************************** //
00159 //  EXPORT TIME LEVELS
00160 // these should correspond to a string
00161 // in the portfolio module, called time_{$value}
00162 // ************************************************** //
00163 
00164 
00169 define('PORTFOLIO_TIME_LOW', 'low');
00170 
00175 define('PORTFOLIO_TIME_MODERATE', 'moderate');
00176 
00181 define('PORTFOLIO_TIME_HIGH', 'high');
00182 
00186 define('PORTFOLIO_TIME_FORCEQUEUE', 'queue');
00187 
00188 // ************************************************** //
00189 // BUTTON FORMATS
00190 // available ways to add the portfolio export to a page
00191 // ************************************************** //
00192 
00197 define('PORTFOLIO_ADD_FULL_FORM', 1);
00198 
00199 
00204 define('PORTFOLIO_ADD_ICON_FORM', 2);
00205 
00210 define('PORTFOLIO_ADD_ICON_LINK', 3);
00211 
00216 define('PORTFOLIO_ADD_TEXT_LINK', 4);
00217 
00222 define('PORTFOLIO_ADD_FAKE_URL', 5);
 All Data Structures Namespaces Files Functions Variables Enumerations