| Total Complexity | 1 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class LogsForm |
||
| 6 | { |
||
| 7 | public static function makeForm() |
||
| 8 | { |
||
| 9 | $form = []; |
||
| 10 | $form[] = ['label' => 'Time Access', 'name' => 'created_at', 'readonly' => true]; |
||
| 11 | $form[] = ['label' => 'IP Address', 'name' => 'ipaddress', 'readonly' => true]; |
||
| 12 | $form[] = ['label' => 'User Agent', 'name' => 'useragent', 'readonly' => true]; |
||
| 13 | $form[] = ['label' => 'URL', 'name' => 'url', 'readonly' => true]; |
||
| 14 | $form[] = ['label' => 'User', 'name' => 'id_cms_users', 'type' => 'select', 'datatable' => 'cms_users,name', 'readonly' => true]; |
||
| 15 | $form[] = ['label' => 'Description', 'name' => 'description', 'readonly' => true]; |
||
| 16 | |||
| 17 | return $form; |
||
| 18 | } |
||
| 19 | } |