123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?php
- //application details
- $apps[$x]['name'] = 'Servers';
- $apps[$x]['guid'] = '0f390134-071e-83d7-a79a-ebb7ae139d71';
- $apps[$x]['category'] = 'Core';
- $apps[$x]['subcategory'] = '';
- $apps[$x]['version'] = '';
- $apps[$x]['license'] = 'Mozilla Public License 1.1';
- $apps[$x]['url'] = 'http://www.fusionpbx.com';
- $apps[$x]['description']['en-us'] = '';
- //permission details
- $y = 0;
- $apps[$x]['permissions'][$y]['name'] = 'server_view';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'server_add';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'server_edit';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'server_delete';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'server_setting_view';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'server_setting_add';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'server_setting_edit';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'server_setting_delete';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- //schema details
- $y = 0; //table array index
- $z = 0; //field array index
- $apps[$x]['db'][$y]['table'] = 'v_servers';
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_uuid';
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_name';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the name.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_description';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description.';
- $z++;
- $y = 1; //table array index
- $z = 0; //field array index
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_setting_uuid';
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_uuid';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_setting_category';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the category.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_setting_name';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the name.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_setting_value';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the value.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_setting_enabled';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_setting_description';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
- ?>
|