1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- //application details
- $apps[$x]['name'] = "FlashPhoner";
- $apps[$x]['uuid'] = 'fe45c76c-1a6e-0f0e-73dd-5b542aed2dd5';
- $apps[$x]['category'] = '';
- $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'] = 'Allow User to Open a Flash Phone for his Extension.';
- //menu details
- $apps[$x]['menu'][0]['title']['en'] = 'FlashPhoner';
- $apps[$x]['menu'][0]['uuid'] = '55e19438-63b9-da36-415b-b0219f304426';
- $apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
- $apps[$x]['menu'][0]['category'] = 'internal';
- $apps[$x]['menu'][0]['path'] = '/app/flashphoner/flashphoner.php';
- //permission details
- $apps[$x]['permissions'][0]['name'] = 'flashphoner_view';
- $apps[$x]['permissions'][0]['groups'][] = 'user';
- $apps[$x]['permissions'][0]['groups'][] = 'admin';
- $apps[$x]['permissions'][0]['groups'][] = 'superadmin';
- //schema details
- $y = 0; //table array index
- $z = 0; //field array index
- $apps[$x]['db'][$y]['table'] = 'v_flashphone_auth';
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'auth_serial';
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
- $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'auth_key';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'hostaddr';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'createtime';
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
- $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'username';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
- ?>
|