ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilSCUtils.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once './Services/SystemCheck/classes/class.ilSCTask.php';
6 
12 class ilSCUtils
13 {
14  public static function taskStatus2Text($a_status)
15  {
16  global $DIC;
17 
18  $lng = $DIC['lng'];
19 
20  switch ($a_status) {
22  return $lng->txt('sysc_status_na');
23 
25  return $lng->txt('sysc_status_running');
26 
28  return $lng->txt('sysc_status_failed');
29 
31  return $lng->txt('sysc_status_completed');
32 
33  }
34  }
35 }
Utilities for system check.
const STATUS_FAILED
$lng
const STATUS_IN_PROGRESS
const STATUS_COMPLETED
$DIC
Definition: xapitoken.php:46
static taskStatus2Text($a_status)
const STATUS_NOT_ATTEMPTED