$json = $excellist['data'];
$excellist = $excellist['list'];
echo "[".join(',',$json)."]";
我想知道这几句什么意思~ 下面是全的代码
function tablelistconditionAction(){
try
{
$type = $this->_getParam("type","");
$name = $this->_getParam("name","");
$id = $this->space->userid;
$fields = array();
$condition = array();
$json = array();
$url = '/config/rrs/contract_field.xml';//XML文件路径
$def = "contract.contract_num|contract.contract_name|contract.service_begin_flag|contract.system_warranty_length|contract.terminal_warranty_length|contract.hardware_service_level|contract.TAT_length";
$excellist = $this->tablelist->findtablelist($type,$url,$name,$fields,$id,$def);
//$excellist = "";
$json = $excellist['data'];
$excellist = $excellist['list'];
echo "[".join(',',$json)."]";
exit;
}
catch (Exception $e)
{
Application_Modules_CaseHelper::log($e->getMessage());
}
}
I
$excellist = $excellist['list'];
echo "[".join(',',$json)."]";
我想知道这几句什么意思~ 下面是全的代码
function tablelistconditionAction(){
try
{
$type = $this->_getParam("type","");
$name = $this->_getParam("name","");
$id = $this->space->userid;
$fields = array();
$condition = array();
$json = array();
$url = '/config/rrs/contract_field.xml';//XML文件路径
$def = "contract.contract_num|contract.contract_name|contract.service_begin_flag|contract.system_warranty_length|contract.terminal_warranty_length|contract.hardware_service_level|contract.TAT_length";
$excellist = $this->tablelist->findtablelist($type,$url,$name,$fields,$id,$def);
//$excellist = "";
$json = $excellist['data'];
$excellist = $excellist['list'];
echo "[".join(',',$json)."]";
exit;
}
catch (Exception $e)
{
Application_Modules_CaseHelper::log($e->getMessage());
}
}
I
