ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
5include_once './Services/SystemCheck/classes/class.ilSCTask.php';
6
13{
14 public static function taskStatus2Text($a_status)
15 {
16 global $lng;
17
18 switch($a_status)
19 {
21 return $lng->txt('sysc_status_na');
22
24 return $lng->txt('sysc_status_running');
25
27 return $lng->txt('sysc_status_failed');
28
30 return $lng->txt('sysc_status_completed');
31
32 }
33 }
34}
35?>
An exception for terminatinating execution or to throw for unit testing.
const STATUS_COMPLETED
const STATUS_FAILED
const STATUS_IN_PROGRESS
const STATUS_NOT_ATTEMPTED
Utilities for system check.
static taskStatus2Text($a_status)
global $lng
Definition: privfeed.php:17