app_config.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Mobile Twinning";
  4. $apps[$x]['uuid'] = "5aa03dfb-f261-4cb5-9693-899fa293c1ba";
  5. $apps[$x]['category'] = "Switch";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.0";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "A tool to twin an extension with a mobile.";
  11. $apps[$x]['description']['ar-eg'] = "";
  12. $apps[$x]['description']['de-at'] = "";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-de'] = "";
  15. $apps[$x]['description']['es-cl'] = "";
  16. $apps[$x]['description']['es-mx'] = "";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-fr'] = "";
  19. $apps[$x]['description']['he-il'] = "";
  20. $apps[$x]['description']['it-it'] = "";
  21. $apps[$x]['description']['nl-nl'] = "";
  22. $apps[$x]['description']['pl-pl'] = "";
  23. $apps[$x]['description']['pt-br'] = "";
  24. $apps[$x]['description']['pt-pt'] = "";
  25. $apps[$x]['description']['ro-ro'] = "";
  26. $apps[$x]['description']['ru-ru'] = "";
  27. $apps[$x]['description']['sv-se'] = "";
  28. $apps[$x]['description']['uk-ua'] = "";
  29. //permission details
  30. $y=0;
  31. $apps[$x]['permissions'][$y]['name'] = "mobile_twinning_view";
  32. $apps[$x]['permissions'][$y]['menu']['uuid'] = "b30f085f-3ec6-2819-7e62-5aa033fb-f261-43b5-9693-899fa29371ba";
  33. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  34. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  35. $y++;
  36. $apps[$x]['permissions'][$y]['name'] = "mobile_twinning_add";
  37. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  38. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  39. $y++;
  40. $apps[$x]['permissions'][$y]['name'] = "mobile_twinning_edit";
  41. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  42. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  43. $y++;
  44. $apps[$x]['permissions'][$y]['name'] = "mobile_twinning_delete";
  45. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  46. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  47. //schema details
  48. $y=0;
  49. $apps[$x]['db'][$y]['table']['name'] = "v_mobile_twinnings";
  50. $apps[$x]['db'][$y]['table']['parent'] = "";
  51. $z=0;
  52. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  53. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  54. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  55. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  56. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  57. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  58. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  59. $z++;
  60. $apps[$x]['db'][$y]['fields'][$z]['name'] = "mobile_twinning_uuid";
  61. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  62. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  63. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  64. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  65. $z++;
  66. $apps[$x]['db'][$y]['fields'][$z]['name'] = "extension_uuid";
  67. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  68. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  69. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  70. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  71. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_extensions";
  72. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "extension_uuid";
  73. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  74. $z++;
  75. $apps[$x]['db'][$y]['fields'][$z]['name'] = "mobile_twinning_number";
  76. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  77. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enable the mobile twinning number.";
  78. $z++;
  79. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  80. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  81. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  82. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  83. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  84. $z++;
  85. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  86. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  87. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  88. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  89. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  90. $z++;
  91. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  92. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  93. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  94. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  95. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  96. $z++;
  97. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  98. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  99. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  100. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  101. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  102. ?>