get('proces_log_list_count'); $proces_log_list = $this->get('proces_log_list'); $procesLogDao = $this->get('procesLogDao'); $out = ''; if ($title_out = $this->get('title')) { $out .= '

' . $title_out . '

' . "\n"; } $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; if ($proces_log_list_count > 0) { if (!empty($proces_log_list)) { foreach ($proces_log_list as $modelLog) { $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; } } else { $out .= ''; } } else { $out .= ''; } $out .= ''; $out .= '
' . "ID" . '' . "TYPE" . '' . "PROCES INIT" . '' . "ID_STEP" . '' . "ID_STEP_WSKAZNIK" . '' . "ID_USER" . '' . "ID_STANOWISKA" . '' . "Akcje" . '
' . $modelLog->get('ID') . '' . $modelLog->get('TYPE') . '' . $modelLog->get('ID_PROCES_INIT') . '' . $modelLog->get('ID_STEP') . '' . $modelLog->get('ID_STEP_WSKAZNIK') . '' . $modelLog->get('ID_USER') . '' . $modelLog->get('ID_STANOWISKA') . ''; $actions = $procesLogDao->get_model_actions($modelLog); $actions_out = array(); foreach ($actions as $k_task => $v_task_label) { $task = ''; switch ($k_task) { case 'step': $task = 'PROCES_LOG'; break; case 'quit': $task = 'PROCES_LOG_QUIT'; break; case 'hist': $task = 'PROCES_LOG_HIST'; break; } if ($task) { $actions_out[] = App::link($v_task_label, array('task'=>$task, '_log_id'=>$modelLog->get('ID'))); } } $out .= implode(" ", $actions_out); $out .= '
' . "Brak danych" . '
' . "Brak danych" . '
'; return $out; } }