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
|
|
|
|
|
$apps[$x]['name'] = "Variables";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['uuid'] = "54e08402-c1b8-0a9d-a30a-f569fc174dd8";
|
|
|
|
|
$apps[$x]['category'] = "Switch";;
|
|
|
|
|
$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'] = "Define variables that are used by the switch, provisioning, and more.";
|
2014-02-13 21:15:59 +01:00
|
|
|
$apps[$x]['description']['es-cl'] = "Define variables usadas por el switch, provisionamiento y más";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['es-mx'] = "";
|
|
|
|
|
$apps[$x]['description']['de-de'] = "";
|
|
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "";
|
2013-09-17 22:02:19 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = "Définr les variables utilisées par le switch, le provisioning et plus.";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = "";
|
2014-02-25 23:49:35 +01:00
|
|
|
$apps[$x]['description']['pt-pt'] = "Definir variáveis que são utilizadas pelo softswitch, aprovisionamento, e outros.";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2013-09-30 18:21:08 +02:00
|
|
|
$y = 0;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "var_view";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "7a4e9ec5-24b9-7200-89b8-d70bf8afdd8f";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "var_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "var_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "var_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//schema details
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_vars";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "var_id";
|
|
|
|
|
$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']['en-us'] = "";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "var_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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
//$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_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'] = "foreign";
|
|
|
|
|
//$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
|
|
//$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
|
|
|
|
//$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
//$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "var_name";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2015-03-25 21:30:17 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "var_value";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
2015-03-25 19:30:18 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "var_hostname";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(255)";
|
|
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "var_cat";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "var_enabled";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "var_order";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "var_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "var_desc";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2014-12-26 04:27:54 +01:00
|
|
|
?>
|