ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilSCUtils Class Reference

Utilities for system check. More...

+ Collaboration diagram for ilSCUtils:

Static Public Member Functions

static taskStatus2Text (int $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 24 of file class.ilSCUtils.php.

Member Function Documentation

◆ taskStatus2Text()

static ilSCUtils::taskStatus2Text ( int  $a_status)
static

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

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

Referenced by ilSCTaskTableGUI\fillRow().

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

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