2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
|
|
|
|
//application details
|
|
|
|
|
$apps[$x]['name'] = 'App Manager';
|
|
|
|
|
$apps[$x]['uuid'] = 'd8704214-75a0-e52f-1336-f0780e29fef8';
|
|
|
|
|
$apps[$x]['category'] = '';
|
|
|
|
|
$apps[$x]['subcategory'] = '';
|
|
|
|
|
$apps[$x]['version'] = '';
|
|
|
|
|
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
|
|
|
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['en-us'] = '';
|
2012-10-11 03:28:18 +02:00
|
|
|
$apps[$x]['description']['es-mx'] = '';
|
2013-09-30 17:22:35 +02:00
|
|
|
$apps[$x]['description']['de-de'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['de-at'] = '';
|
2013-09-17 22:02:19 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = '';
|
|
|
|
|
$apps[$x]['description']['pt-br'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//menu details
|
2012-10-11 03:28:18 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'App Manager';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = '';
|
2013-09-30 17:22:35 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['de-de'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['fr-fr'] = 'Gestion App';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = 'Gestor de Aplicações';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['menu'][0]['uuid'] = 'ef00f229-7890-00c2-bf23-fed5b8fa9fe7';
|
|
|
|
|
$apps[$x]['menu'][0]['parent_uuid'] = '594d99c5-6128-9c88-ca35-4b33392cec0f';
|
|
|
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
|
|
|
$apps[$x]['menu'][0]['path'] = '/core/apps/apps.php';
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
|
|
|
|
|
|
//permission details
|
|
|
|
|
$y = 0;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'app_view';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'app_add';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'app_edit';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'app_delete';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
|
|
|
|
|
//schema details
|
|
|
|
|
$y = 0; //table array index
|
|
|
|
|
$z = 0; //field array index
|
|
|
|
|
$apps[$x]['db'][$y]['table'] = 'v_apps';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'app_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)';
|
2013-09-11 01:06:41 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-09-13 09:52:25 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'app_category';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'app_version';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'app_enabled';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
|
|
|
$z++;
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2013-09-30 15:19:40 +02:00
|
|
|
?>
|