v_config.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "FlashPhoner";
  4. $apps[$x]['uuid'] = 'fe45c76c-1a6e-0f0e-73dd-5b542aed2dd5';
  5. $apps[$x]['category'] = '';
  6. $apps[$x]['subcategory'] = '';
  7. $apps[$x]['version'] = '';
  8. $apps[$x]['license'] = 'Mozilla Public License 1.1';
  9. $apps[$x]['url'] = 'http://www.fusionpbx.com';
  10. $apps[$x]['description']['en'] = 'Allow User to Open a Flash Phone for his Extension.';
  11. //menu details
  12. $apps[$x]['menu'][0]['title']['en'] = 'FlashPhoner';
  13. $apps[$x]['menu'][0]['uuid'] = '55e19438-63b9-da36-415b-b0219f304426';
  14. $apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
  15. $apps[$x]['menu'][0]['category'] = 'internal';
  16. $apps[$x]['menu'][0]['path'] = '/app/flashphoner/flashphoner.php';
  17. //permission details
  18. $apps[$x]['permissions'][0]['name'] = 'flashphoner_view';
  19. $apps[$x]['permissions'][0]['groups'][] = 'user';
  20. $apps[$x]['permissions'][0]['groups'][] = 'admin';
  21. $apps[$x]['permissions'][0]['groups'][] = 'superadmin';
  22. //schema details
  23. $y = 0; //table array index
  24. $z = 0; //field array index
  25. $apps[$x]['db'][$y]['table'] = 'v_flashphone_auth';
  26. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'auth_serial';
  27. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
  28. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
  29. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
  30. $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
  31. $z++;
  32. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'auth_key';
  33. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  34. $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
  35. $z++;
  36. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hostaddr';
  37. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  38. $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
  39. $z++;
  40. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'createtime';
  41. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp';
  42. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  43. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
  44. $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
  45. $z++;
  46. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'username';
  47. $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
  48. $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
  49. ?>