tx_chatbotui_domain_model_url.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. return [
  3. 'ctrl' => [
  4. 'title' => 'LLL:EXT:chatbotui/Resources/Private/Language/locallang_db.xlf:tx_chatbotui_domain_model_url',
  5. 'label' => 'uid',
  6. 'tstamp' => 'tstamp',
  7. 'crdate' => 'crdate',
  8. 'cruser_id' => 'cruser_id',
  9. 'delete' => 'deleted',
  10. 'enablecolumns' => [
  11. 'disabled' => 'hidden',
  12. 'starttime' => 'starttime',
  13. 'endtime' => 'endtime',
  14. ],
  15. 'searchFields' => '',
  16. 'iconfile' => 'EXT:chatbotui/Resources/Public/Icons/tx_chatbotui_domain_model_url.gif'
  17. ],
  18. 'types' => [
  19. '1' => ['showitem' => 'hidden, , --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'],
  20. ],
  21. 'columns' => [
  22. 'hidden' => [
  23. 'exclude' => true,
  24. 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.visible',
  25. 'config' => [
  26. 'type' => 'check',
  27. 'renderType' => 'checkboxToggle',
  28. 'items' => [
  29. [
  30. 0 => '',
  31. 1 => '',
  32. 'invertStateDisplay' => true
  33. ]
  34. ],
  35. ],
  36. ],
  37. 'starttime' => [
  38. 'exclude' => true,
  39. 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
  40. 'config' => [
  41. 'type' => 'input',
  42. 'renderType' => 'inputDateTime',
  43. 'eval' => 'datetime,int',
  44. 'default' => 0,
  45. 'behaviour' => [
  46. 'allowLanguageSynchronization' => true
  47. ]
  48. ],
  49. ],
  50. 'endtime' => [
  51. 'exclude' => true,
  52. 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
  53. 'config' => [
  54. 'type' => 'input',
  55. 'renderType' => 'inputDateTime',
  56. 'eval' => 'datetime,int',
  57. 'default' => 0,
  58. 'range' => [
  59. 'upper' => mktime(0, 0, 0, 1, 1, 2038)
  60. ],
  61. 'behaviour' => [
  62. 'allowLanguageSynchronization' => true
  63. ]
  64. ],
  65. ],
  66. ],
  67. ];