mirror of https://github.com/MISP/MISP
new: [indexTable] added 3 new simple elements
- custom_element -> loop the data through an element set via element_path - model -> for the various log indeces, format the log entry's model entry as MODEL #MODEL_ID - time -> loop the data through the time helper's time() functionpull/8963/head
parent
6703d82ad0
commit
f551639a96
|
@ -0,0 +1 @@
|
|||
<?= $this->element($field['element_path'], ['item' => $row]) ?>
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
$data = Hash::extract($row, $field['data_path']);
|
||||
echo h($data['model']) . ' #' . intval($data['model_id']);
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
$time = Hash::extract($row, $field['data_path'])[0];
|
||||
echo $this->Time->time($time);
|
Loading…
Reference in New Issue