Go to the source code of this file.
Enumerations | |
| enum | DISP_RESULT |
| enum | DISP_NOT_ALLOWED |
Variables | |
| $is_allowedToCheckProblems = claro_is_platform_admin() | |
| $cache_options | |
| if(!file_exists($cache_options['cacheDir'])) | $Cache_Lite = new Cache_Lite($cache_options) |
| $tbl_mdb_names = claro_sql_get_main_tbl() | |
| $tbl_cdb_names = claro_sql_get_course_tbl() | |
| $tbl_course = $tbl_mdb_names['course'] | |
| $tbl_rel_course_user = $tbl_mdb_names['rel_course_user'] | |
| $tbl_user = $tbl_mdb_names['user'] | |
| $tbl_tracking_event = $tbl_mdb_names['tracking_event'] | |
| $tbl_document = $tbl_cdb_names['document'] | |
| $toolNameList = claro_get_tool_name_list() | |
| $limitBeforeUnused = "INTERVAL 6 MONTH" | |
| $nameTools = get_lang('Scan technical fault') | |
| $htmlHeadXtra [] | |
| $display = ( $is_allowedToCheckProblems) ? DISP_RESULT : DISP_NOT_ALLOWED | |
| $out = '' | |
| enum DISP_NOT_ALLOWED |
Definition at line 30 of file campusProblem.php.
| enum DISP_RESULT |
CLAROLINE This tool run some check to detect abnormal situation
2001-2007 Universite catholique de Louvain (UCL) http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE
Theses tests check if data are logical.
This script use Cache_lite
TODO : separate checking and output.
TODO : protect "showall" when there is nothing in cache.
Definition at line 29 of file campusProblem.php.
| if (!file_exists($cache_options['cacheDir'])) $Cache_Lite = new Cache_Lite($cache_options) |
Definition at line 61 of file campusProblem.php.
| $cache_options |
array( 'cacheDir' => get_path('rootSys') . 'tmp/cache/campusProblem/', 'lifeTime' => get_conf('cache_lifeTime', 10), 'automaticCleaningFactor' =>get_conf('cache_automaticCleaningFactor', 50), )
Definition at line 48 of file campusProblem.php.
| $display = ( $is_allowedToCheckProblems) ? DISP_RESULT : DISP_NOT_ALLOWED |
Definition at line 91 of file campusProblem.php.
| $htmlHeadXtra[] |
" <style media='print' type='text/css'> <!-- TD {border-bottom: thin dashed Gray;} --> </style>"
Definition at line 84 of file campusProblem.php.
| $is_allowedToCheckProblems = claro_is_platform_admin() |
Definition at line 44 of file campusProblem.php.
| $limitBeforeUnused = "INTERVAL 6 MONTH" |
Definition at line 78 of file campusProblem.php.
| $nameTools = get_lang('Scan technical fault') |
Definition at line 82 of file campusProblem.php.
| $out = '' |
Definition at line 94 of file campusProblem.php.
| $tbl_cdb_names = claro_sql_get_course_tbl() |
Definition at line 68 of file campusProblem.php.
| $tbl_course = $tbl_mdb_names['course'] |
Definition at line 69 of file campusProblem.php.
| $tbl_document = $tbl_cdb_names['document'] |
Definition at line 73 of file campusProblem.php.
| $tbl_mdb_names = claro_sql_get_main_tbl() |
DB tables definition
Definition at line 67 of file campusProblem.php.
| $tbl_rel_course_user = $tbl_mdb_names['rel_course_user'] |
Definition at line 70 of file campusProblem.php.
| $tbl_tracking_event = $tbl_mdb_names['tracking_event'] |
Definition at line 72 of file campusProblem.php.
| $tbl_user = $tbl_mdb_names['user'] |
Definition at line 71 of file campusProblem.php.
| $toolNameList = claro_get_tool_name_list() |
Definition at line 74 of file campusProblem.php.
1.6.3