ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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) {
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  }
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: