ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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)
19
{
20
case
ilSCTask::STATUS_NOT_ATTEMPTED
:
21
return
$lng->txt(
'sysc_status_na'
);
22
23
case
ilSCTask::STATUS_IN_PROGRESS
:
24
return
$lng->txt(
'sysc_status_running'
);
25
26
case
ilSCTask::STATUS_FAILED
:
27
return
$lng->txt(
'sysc_status_failed'
);
28
29
case
ilSCTask::STATUS_COMPLETED
:
30
return
$lng->txt(
'sysc_status_completed'
);
31
32
}
33
}
34
}
35
?>
ilSCUtils
Utilities for system check.
Definition:
class.ilSCUtils.php:12
ilSCTask\STATUS_FAILED
const STATUS_FAILED
Definition:
class.ilSCTask.php:17
ilSCTask\STATUS_IN_PROGRESS
const STATUS_IN_PROGRESS
Definition:
class.ilSCTask.php:15
ilSCTask\STATUS_COMPLETED
const STATUS_COMPLETED
Definition:
class.ilSCTask.php:16
$lng
global $lng
Definition:
privfeed.php:17
ilSCUtils\taskStatus2Text
static taskStatus2Text($a_status)
Definition:
class.ilSCUtils.php:14
ilSCTask\STATUS_NOT_ATTEMPTED
const STATUS_NOT_ATTEMPTED
Definition:
class.ilSCTask.php:14
php
Services
SystemCheck
classes
class.ilSCUtils.php
Generated on Fri Jan 17 2025 19:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)