ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSCUtils Class Reference

Utilities for system check. More...

+ Collaboration diagram for ilSCUtils:

Static Public Member Functions

static taskStatus2Text ($a_status)
 

Detailed Description

Utilities for system check.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 12 of file class.ilSCUtils.php.

Member Function Documentation

◆ taskStatus2Text()

static ilSCUtils::taskStatus2Text (   $a_status)
static

Definition at line 14 of file class.ilSCUtils.php.

References $lng, ilSCTask\STATUS_COMPLETED, ilSCTask\STATUS_FAILED, ilSCTask\STATUS_IN_PROGRESS, and ilSCTask\STATUS_NOT_ATTEMPTED.

Referenced by ilSCTaskTableGUI\fillRow().

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  }
const STATUS_FAILED
const STATUS_IN_PROGRESS
const STATUS_COMPLETED
global $lng
Definition: privfeed.php:17
const STATUS_NOT_ATTEMPTED
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: