ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 $lng;
17 
18  switch ($a_status) {
20  return $lng->txt('sysc_status_na');
21 
23  return $lng->txt('sysc_status_running');
24 
26  return $lng->txt('sysc_status_failed');
27 
29  return $lng->txt('sysc_status_completed');
30 
31  }
32  }
33 }
Utilities for system check.
const STATUS_FAILED
const STATUS_IN_PROGRESS
const STATUS_COMPLETED
global $lng
Definition: privfeed.php:17
static taskStatus2Text($a_status)
const STATUS_NOT_ATTEMPTED