Alinea sol报告模块使用哪种格式在sugarcrm中存储报告字段?

时间:2015-11-12 10:19:53

标签: sugarcrm

我们使用alinea sol插件在我们的糖块中生成报告。在数据库,report_fields列中的asol_reports表中,alinea sol存储报告字段定义为base64编码的文本。所以,我解码了,我得到了这个结果

"a:2:{s:6:"tables";a:1:{i:0;a:2:{s:4:"data";a:3:{i:0;a:17:{s:5:"field";s:10:"account_id";s:5:"alias";s:12:"Account Name";s:14:"fieldReference";s:10:"account_id";s:7:"visible";s:3:"yes";s:13:"sortDirection";s:1:"0";s:9:"sortOrder";s:0:"";s:8:"function";s:1:"0";s:3:"sql";s:0:"";s:6:"format";a:1:{s:4:"type";s:0:"";}s:8:"grouping";s:7:"Grouped";s:13:"groupingOrder";s:0:"";s:4:"type";s:6:"relate";s:3:"key";s:0:"";s:9:"isRelated";b:0;s:5:"index";s:3:"0_1";s:12:"enumOperator";s:0:"";s:13:"enumReference";s:0:"";}i:1;a:17:{s:5:"field";s:11:"case_number";s:5:"alias";s:6:"Number";s:14:"fieldReference";s:11:"case_number";s:7:"visible";s:3:"yes";s:13:"sortDirection";s:1:"0";s:9:"sortOrder";s:0:"";s:8:"function";s:1:"0";s:3:"sql";s:0:"";s:6:"format";a:1:{s:4:"type";s:0:"";}s:8:"grouping";s:1:"0";s:13:"groupingOrder";s:0:"";s:4:"type";s:3:"int";s:3:"key";s:0:"";s:9:"isRelated";b:0;s:5:"index";s:3:"1_1";s:12:"enumOperator";s:0:"";s:13:"enumReference";s:0:"";}i:2;a:17:{s:5:"field";s:11:"description";s:5:"alias";s:11:"Description";s:14:"fieldReference";s:11:"description";s:7:"visible";s:3:"yes";s:13:"sortDirection";s:1:"0";s:9:"sortOrder";s:0:"";s:8:"function";s:1:"0";s:3:"sql";s:0:"";s:6:"format";a:1:{s:4:"type";s:0:"";}s:8:"grouping";s:1:"0";s:13:"groupingOrder";s:0:"";s:4:"type";s:4:"text";s:3:"key";s:0:"";s:9:"isRelated";b:0;s:5:"index";s:3:"2_1";s:12:"enumOperator";s:0:"";s:13:"enumReference";s:0:"";}}s:6:"config";a:10:{s:7:"visible";b:1;s:10:"multiQuery";b:0;s:12:"deletedUsage";b:0;s:15:"paginationUsage";b:0;s:17:"paginationEntries";s:0:"";s:6:"titles";a:1:{s:7:"visible";b:1;}s:7:"headers";a:1:{s:7:"visible";b:1;}s:9:"subtotals";a:1:{s:7:"visible";b:1;}s:6:"totals";a:1:{s:7:"visible";b:1;}s:10:"pagination";a:1:{s:7:"visible";s:3:"all";}}}}s:7:"version";s:5:"5.0.2";}"

起初,我认为这是JSON。但后来,我得知它不是JSON。所以,请帮助我知道asol在asol_reports表中存储字段定义的格式。另外,如果可能,请指导我以编程方式阅读此内容我可以从此结果中获取字段名称。提前谢谢

0 个答案:

没有答案