mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-12-27 09:56:09 +01:00
72 lines
2.4 KiB
PHP
72 lines
2.4 KiB
PHP
|
<?php
|
||
|
return [
|
||
|
'ctrl' => [
|
||
|
'label' => 'url',
|
||
|
'label_alt' => 'crdate',
|
||
|
'label_alt_force' => true,
|
||
|
'sortby' => 'crdate',
|
||
|
'tstamp' => 'tstamp',
|
||
|
'crdate' => 'crdate',
|
||
|
'cruser_id' => 'cruser_id',
|
||
|
'languageField' => 'sys_language_uid',
|
||
|
'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview',
|
||
|
'searchFields' => 'uid, url'
|
||
|
],
|
||
|
'interface' => [
|
||
|
'always_description' => 0,
|
||
|
'showRecordFieldList' => 'url, type, sys_language_uid, crdate, tstamp, crdate, cruser_id'
|
||
|
],
|
||
|
'types' => [
|
||
|
'0' => [
|
||
|
'showitem' => 'sys_language_uid, pid, url, type, crdate',
|
||
|
],
|
||
|
],
|
||
|
'columns' => [
|
||
|
'pid' => [
|
||
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.pid',
|
||
|
'config' => [
|
||
|
'type' => 'select',
|
||
|
'readOnly' => true,
|
||
|
'renderType' => 'selectSingle',
|
||
|
'foreign_table' => 'pages',
|
||
|
],
|
||
|
],
|
||
|
'crdate' => [
|
||
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.crdate',
|
||
|
'config' => [
|
||
|
'type' => 'input',
|
||
|
'eval' => 'datetime',
|
||
|
],
|
||
|
],
|
||
|
'sys_language_uid' => [
|
||
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.sys_language',
|
||
|
'config' => [
|
||
|
'type' => 'select',
|
||
|
'renderType' => 'selectSingle',
|
||
|
'foreign_table' => 'sys_language',
|
||
|
'items' => [
|
||
|
['LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.sys_language.0', 0],
|
||
|
],
|
||
|
'readOnly' => true,
|
||
|
]
|
||
|
],
|
||
|
'type' => [
|
||
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.type',
|
||
|
'config' => [
|
||
|
'type' => 'input',
|
||
|
'readOnly' => true,
|
||
|
'eval' => 'int',
|
||
|
],
|
||
|
],
|
||
|
'url' => [
|
||
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.url',
|
||
|
'config' => [
|
||
|
'readOnly' => true,
|
||
|
'type' => 'input',
|
||
|
'size' => 50,
|
||
|
'max' => 255,
|
||
|
],
|
||
|
],
|
||
|
],
|
||
|
];
|