回复 5# xiaoxiaofeitu
我想account detailview 是怎样从[color=Red]数据读取到数据[/color] 并是怎么样 弄成[color=Red] 数组[/color](好像是4维数组)
我被它调用其他方法
其他方法在调用别的方法 弄糊涂了
或许是我的方法不对
可以指明个方法吗?
我首先说下 detailview.php 第63行这句是BLOCKS是包含客户的所有属性的一个数组(好像是4维 第一层array 是不同模块,就是循环出table;第二层array 是 2行的数组;第三层 就是属性)$smarty->assign("BLOCKS", getBlocks("Accounts","detail_view",'',$focus->column_fields));
\include\utils\CommonUtils.php
方法getBlocks返回值是$getBlockInfo
$result = $adb->pquery($sql, $params);
$getBlockInfo=getBlockInformation($module,$result,$col_fields,$tabid,$block_label,$mode);
return $getBlockInfo;
include\utils\EditViewUtils.php
方法getBlockInformation返回值是$returndata;
哎
我都不太理解了
帮下忙
帮我理清下思路 。。。。。。。。。。。。。。。。。。。。。。
[color=Red]很重要!!!
[/color]