ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSCUtils.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
25{
26 public static function taskStatus2Text(int $a_status): string
27 {
28 global $DIC;
29
30 $lng = $DIC->language();
31
32 switch ($a_status) {
34 return $lng->txt('sysc_status_na');
35
37 return $lng->txt('sysc_status_running');
38
40 return $lng->txt('sysc_status_failed');
41
43 return $lng->txt('sysc_status_completed');
44 }
45 return '';
46 }
47}
const STATUS_COMPLETED
const STATUS_FAILED
const STATUS_IN_PROGRESS
const STATUS_NOT_ATTEMPTED
Utilities for system check.
static taskStatus2Text(int $a_status)
global $lng
Definition: privfeed.php:31
global $DIC
Definition: shib_login.php:26