table.php 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. global $lang, $app;
  3. $config->reviewcl->dtable = new stdclass();
  4. $config->reviewcl->dtable->fieldList['id']['title'] = $lang->idAB;
  5. $config->reviewcl->dtable->fieldList['id']['type'] = 'id';
  6. $config->reviewcl->dtable->fieldList['id']['fixed'] = 'left';
  7. $config->reviewcl->dtable->fieldList['id']['sortType'] = true;
  8. $config->reviewcl->dtable->fieldList['id']['required'] = true;
  9. $config->reviewcl->dtable->fieldList['id']['group'] = 1;
  10. $config->reviewcl->dtable->fieldList['object']['name'] = 'object';
  11. $config->reviewcl->dtable->fieldList['object']['title'] = $lang->reviewcl->object;
  12. $config->reviewcl->dtable->fieldList['object']['fixed'] = 'left';
  13. $config->reviewcl->dtable->fieldList['object']['type'] = 'category';
  14. $config->reviewcl->dtable->fieldList['object']['show'] = true;
  15. $config->reviewcl->dtable->fieldList['object']['sortType'] = true;
  16. $config->reviewcl->dtable->fieldList['object']['width'] = 150;
  17. $config->reviewcl->dtable->fieldList['object']['group'] = 1;
  18. $config->reviewcl->dtable->fieldList['title']['title'] = $lang->reviewcl->title;
  19. $config->reviewcl->dtable->fieldList['title']['type'] = 'title';
  20. $config->reviewcl->dtable->fieldList['title']['fixed'] = 'left';
  21. $config->reviewcl->dtable->fieldList['title']['link'] = array('module' => 'reviewcl', 'method' => 'view', 'params' => "reviewclID={id}");
  22. $config->reviewcl->dtable->fieldList['title']['required'] = true;
  23. $config->reviewcl->dtable->fieldList['title']['sortType'] = true;
  24. $config->reviewcl->dtable->fieldList['title']['group'] = 1;
  25. $config->reviewcl->dtable->fieldList['category']['name'] = 'category';
  26. $config->reviewcl->dtable->fieldList['category']['title'] = $lang->reviewcl->category;
  27. $config->reviewcl->dtable->fieldList['category']['type'] = 'category';
  28. $config->reviewcl->dtable->fieldList['category']['show'] = true;
  29. $config->reviewcl->dtable->fieldList['category']['sortType'] = true;
  30. $config->reviewcl->dtable->fieldList['category']['required'] = false;
  31. $config->reviewcl->dtable->fieldList['category']['group'] = 2;
  32. $config->reviewcl->dtable->fieldList['createdBy']['name'] = 'createdBy';
  33. $config->reviewcl->dtable->fieldList['createdBy']['title'] = $lang->review->createdBy;
  34. $config->reviewcl->dtable->fieldList['createdBy']['width'] = '120';
  35. $config->reviewcl->dtable->fieldList['createdBy']['show'] = true;
  36. $config->reviewcl->dtable->fieldList['createdBy']['type'] = 'user';
  37. $config->reviewcl->dtable->fieldList['createdBy']['required'] = false;
  38. $config->reviewcl->dtable->fieldList['createdBy']['group'] = 3;
  39. $config->reviewcl->dtable->fieldList['createdDate']['name'] = 'createdDate';
  40. $config->reviewcl->dtable->fieldList['createdDate']['title'] = $lang->reviewcl->createdDate;
  41. $config->reviewcl->dtable->fieldList['createdDate']['width'] = '120';
  42. $config->reviewcl->dtable->fieldList['createdDate']['show'] = true;
  43. $config->reviewcl->dtable->fieldList['createdDate']['type'] = 'date';
  44. $config->reviewcl->dtable->fieldList['createdDate']['required'] = false;
  45. $config->reviewcl->dtable->fieldList['createdDate']['group'] = 3;
  46. $config->reviewcl->dtable->fieldList['actions']['title'] = $lang->actions;
  47. $config->reviewcl->dtable->fieldList['actions']['type'] = 'actions';
  48. $config->reviewcl->dtable->fieldList['actions']['fixed'] = 'right';
  49. $config->reviewcl->dtable->fieldList['actions']['sortType'] = false;
  50. $config->reviewcl->dtable->fieldList['actions']['show'] = true;
  51. $config->reviewcl->dtable->fieldList['actions']['width'] = 100;
  52. $config->reviewcl->dtable->fieldList['actions']['list'] = $config->reviewcl->actionList;
  53. $config->reviewcl->dtable->fieldList['actions']['menu'] = array('edit', 'delete');