5include_once 
'./Services/Table/classes/class.ilTable2GUI.php';
 
   22    public function __construct($a_group_id, $a_parent_obj, $a_parent_cmd = 
"")
 
   24        $this->group_id = $a_group_id;
 
   25        $this->
setId(
'sc_groups');
 
   27        parent::__construct($a_parent_obj, $a_parent_cmd);
 
   50        $lng->loadLanguageModule(
'sysc');
 
   51        $this->
addColumn($this->lng->txt(
'title'), 
'title', 
'60%');
 
   52        $this->
addColumn($this->lng->txt(
'last_update'), 
'last_update_sort', 
'20%');
 
   53        $this->
addColumn($this->lng->txt(
'status'), 
'status', 
'10%');
 
   54        $this->
addColumn($this->lng->txt(
'actions'), 
'', 
'10%');
 
   56        $this->
setTitle($this->lng->txt(
'sysc_task_overview'));
 
   58        $this->
setRowTemplate(
'tpl.syscheck_tasks_row.html', 
'Services/SystemCheck');
 
   68        $this->tpl->setVariable(
'VAL_TITLE', 
$row[
'title']);
 
   69        $this->tpl->setVariable(
'VAL_DESC', 
$row[
'description']);
 
   71        include_once 
'./Services/SystemCheck/classes/class.ilSCUtils.php';
 
   73        switch (
$row[
'status']) {
 
   75                $this->tpl->setVariable(
'VAL_STATUS_SUCCESS', 
$text);
 
   79                $this->tpl->setCurrentBlock(
'warning');
 
   80                $this->tpl->setVariable(
'VAL_STATUS_WARNING', 
$text);
 
   81                $this->tpl->parseCurrentBlock();
 
   85                $this->tpl->setVariable(
'VAL_STATUS_STANDARD', 
$text);
 
   89        $this->tpl->setVariable(
'VAL_LAST_UPDATE', 
$row[
'last_update']);
 
   92        include_once 
'./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
 
   94        $list->setSelectionHeaderClass(
'small');
 
   95        $list->setItemLinkClass(
'small');
 
   97        $list->setListTitle($this->lng->txt(
'actions'));
 
   99        include_once 
'./Services/SystemCheck/classes/class.ilSCComponentTaskFactory.php';
 
  102        $GLOBALS[
'DIC'][
'ilCtrl']->setParameterByClass(get_class($task_handler), 
'task_id', 
$row[
'id']);
 
  103        foreach ((array) $task_handler->getActions() as $actions) {
 
  107                $GLOBALS[
'DIC'][
'ilCtrl']->getLinkTargetByClass(
 
  108                    get_class($task_handler),
 
  114        $this->tpl->setVariable(
'ACTIONS', 
$list->getHTML());
 
  124        include_once 
'./Services/SystemCheck/classes/class.ilSCTasks.php';
 
  126            include_once 
'./Services/SystemCheck/classes/class.ilSCComponentTaskFactory.php';
 
  129            if (!$task->isActive()) {
 
  134            $item[
'id'] = $task->getId();
 
  135            $item[
'title'] = $task_handler->getTitle();
 
  136            $item[
'description'] = $task_handler->getDescription();
 
  138            $item[
'last_update_sort'] = $task->getLastUpdate()->get(
IL_CAL_UNIX);
 
  139            $item[
'status'] = $task->getStatus();
 
An exception for terminatinating execution or to throw for unit testing.
User interface class for advanced drop-down selection lists.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date @access public.
static getComponentTask($a_task_id)
Table GUI for system check task overview.
parse()
Parse system check groups.
__construct($a_group_id, $a_parent_obj, $a_parent_cmd="")
Constructor.
getGroupId()
Get group id.
static getInstanceByGroupId($a_group_id)
Get singleton instance.
static taskStatus2Text($a_status)
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
if(isset($_REQUEST['delete'])) $list