2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
2014-12-26 04:27:54 +01:00
|
|
|
|
2012-06-04 16:58:40 +02:00
|
|
|
//application details
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['name'] = "App Manager";
|
|
|
|
|
$apps[$x]['uuid'] = "d8704214-75a0-e52f-1336-f0780e29fef8";
|
|
|
|
|
$apps[$x]['category'] = "";
|
|
|
|
|
$apps[$x]['subcategory'] = "";
|
2017-06-03 17:01:10 +02:00
|
|
|
$apps[$x]['version'] = "1.0";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
|
|
|
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
2017-06-03 17:01:10 +02:00
|
|
|
$apps[$x]['description']['en-us'] = "Manage Applications";
|
|
|
|
|
$apps[$x]['description']['ar-eg'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "Applikationen Verwalten";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
2017-04-27 07:41:55 +02:00
|
|
|
$apps[$x]['description']['de-de'] = "Applikationen Verwalten";
|
2017-06-03 17:01:10 +02:00
|
|
|
$apps[$x]['description']['es-cl'] = "";
|
|
|
|
|
$apps[$x]['description']['es-mx'] = "";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
2017-06-03 17:01:10 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = "";
|
|
|
|
|
$apps[$x]['description']['he-il'] = "";
|
|
|
|
|
$apps[$x]['description']['it-it'] = "";
|
|
|
|
|
$apps[$x]['description']['nl-nl'] = "";
|
|
|
|
|
$apps[$x]['description']['pl-pl'] = "";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
2017-06-03 17:01:10 +02:00
|
|
|
$apps[$x]['description']['pt-pt'] = "";
|
|
|
|
|
$apps[$x]['description']['ro-ro'] = "";
|
|
|
|
|
$apps[$x]['description']['ru-ru'] = "";
|
|
|
|
|
$apps[$x]['description']['sv-se'] = "";
|
|
|
|
|
$apps[$x]['description']['uk-ua'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2017-02-16 05:10:35 +01:00
|
|
|
$y=0;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "app_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "ef00f229-7890-00c2-bf23-fed5b8fa9fe7";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "app_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "app_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "app_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//schema details
|
2017-02-16 05:10:35 +01:00
|
|
|
$y=0;
|
|
|
|
|
$apps[$x]['db'][$y]['table']['name'] = "v_apps";
|
|
|
|
|
$apps[$x]['db'][$y]['table']['parent'] = "";
|
|
|
|
|
$z=0;
|
2013-10-18 00:06:53 +02:00
|
|
|
$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)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_category";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 20:34:19 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2013-09-13 09:52:25 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_version";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 20:34:19 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2013-09-13 09:52:25 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_enabled";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
2017-06-03 20:34:19 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2017-06-03 17:01:10 +02:00
|
|
|
?>
|