/data/webapp/service_jc/Cola/Com/WebServices/Yar.php[ 34 ]
29 }
30 }
31
32 public function __call($name, $arguments)
33 {
34 return $this->yarClient->call($name, $arguments);
35 }
36
37 /**
38 * yar
39 *
-
/data/webapp/service_jc/index.php [ 38 ] » Cola->dispatch ( )
33 //isset($_SESSION) || session_start(); 34 session_start(); 35 //Cola_Response::charset(); 36 37 try { 38 $cola->dispatch(); 39 //性能收集 40 if (XHPROF) { 41 42 $info = $cola->getDispatchInfo(); 43 $controllerName = $info['controller'];
-
/data/webapp/service_jc/Cola/Cola.php [ 364 ] » call_user_func ( arguments )
function_name
array(2) { [0]=> object(Modules_Sm_Controllers_Study)#5 (22) { ["layout"]=> string(33) "Modules/Sm/Views/Layout/index.htm" ["_site":protected]=> string(18) "教材支撑平台" ["study_config":protected]=> object(Models_StudyResource_StudyRecordConfig)#7 (11) { ["_video":protected]=> int(5) ["_e_textbook":protected]=> int(9) ["circle"]=> object(Cola_Com_WebServices_Rest)#8 (5) { ["_url":"Cola_Com_WebServices_Rest":private]=> string(38) "http://172.16.0.183:8080/Circle/Circle" ["_workConfig":"Cola_Com_WebServices_Rest":private]=> array(5) { ["host"]=> string(19) "http://172.16.0.183" ["port"]=> int(8080) ["name"]=> string(6) "circle" ["services"]=> string(14) "/Circle/Circle" ["options"]=> array(1) { ["timeout"]=> int(15) } } ["_http":"Cola_Com_WebServices_Rest":private]=> object(Cola_Com_Http)#9 (0) { } ["_params":protected]=> array(2) { ["adapter"]=> string(4) "Rest" ["servers"]=> array(1) { ["default"]=> array(5) { ["host"]=> string(19) "http://172.16.0.183" ["port"]=> int(8080) ["name"]=> string(6) "circle" ["services"]=> string(14) "/Circle/Circle" ["options"]=> array(1) { ["timeout"]=> int(15) } } } } ["_name":protected]=> string(19) "_defaultWebServices" } ["_db":protected]=> string(3) "_db" ["_table":protected]=> NULL ["_pk":protected]=> string(2) "id" ["_cacheKey":protected]=> string(6) "_cache" ["_cache":protected]=> NULL ["_ttl":protected]=> int(60) ["_validate":protected]=> array(0) { } ["error"]=> array(0) { } } ["_study_record":protected]=> object(Models_StudyResource_StudyRecord)#10 (10) { ["_db":protected]=> string(3) "_db" ["_table":protected]=> string(12) "study_record" ["_pk":protected]=> string(15) "study_record_id" ["_study_record_config":protected]=> array(2) { [1]=> string(9) "未学完" [2]=> string(9) "学习完" } ["_study_pic_number":protected]=> int(5) ["_cacheKey":protected]=> string(6) "_cache" ["_cache":protected]=> NULL ["_ttl":protected]=> int(60) ["_validate":protected]=> array(0) { } ["error"]=> array(0) { } } ["_resource":protected]=> object(Models_StudyResource_StudyResource)#11 (8) { ["_table":protected]=> string(22) "study_resource_package" ["_pk":protected]=> string(2) "id" ["_db":protected]=> string(3) "_db" ["_cacheKey":protected]=> string(6) "_cache" ["_cache":protected]=> NULL ["_ttl":protected]=> int(60) ["_validate":protected]=> array(0) { } ["error"]=> array(0) { } } ["_grade":protected]=> NULL ["_c":protected]=> array(4) { [0]=> string(7) "Modules" [1]=> string(2) "Sm" [2]=> string(11) "Controllers" [3]=> string(5) "Study" } ["_qustion_type":protected]=> string(10) "sm_node_id" ["_answer_type":protected]=> string(10) "sm_node_id" ["_config":protected]=> array(14) { ["xd"]=> array(3) { ["xd001"]=> string(6) "小学" ["xd002"]=> string(6) "初中" ["xd003"]=> string(6) "高中" } ["xd_code"]=> array(3) { [1]=> string(5) "xd001" [2]=> string(5) "xd002" [3]=> string(5) "xd003" } ["xk"]=> array(2) { ["GS024"]=> string(15) "生命与安全" ["GS025"]=> string(12) "心理健康" } ["xk_code"]=> array(2) { ["GS024"]=> string(2) "xl" ["GS025"]=> string(2) "sm" } ["bb"]=> array(3) { ["v11"]=> string(9) "鄂科版" ["v01"]=> string(9) "人教版" ["v02"]=> string(9) "鄂教版" } ["nj"]=> array(3) { ["xd001"]=> array(6) { ["GO003"]=> string(9) "一年级" ["GO004"]=> string(9) "二年级" ["GO005"]=> string(9) "三年级" ["GO006"]=> string(9) "四年级" ["GO007"]=> string(9) "五年级" ["GO008"]=> string(9) "六年级" } ["xd002"]=> array(3) { ["GO009"]=> string(15) "初中一年级" ["GO0010"]=> string(15) "初中二年级" ["GO0011"]=> string(15) "初中三年级" } ["xd003"]=> array(3) { ["GO0012"]=> string(15) "高中一年级" ["GO0013"]=> string(15) "高中二年级" ["GO0014"]=> string(15) "高中三年级" } } ["nj_code"]=> array(12) { ["一年级"]=> string(5) "GO003" ["二年级"]=> string(5) "GO004" ["三年级"]=> string(5) "GO005" ["四年级"]=> string(5) "GO006" ["五年级"]=> string(5) "GO007" ["六年级"]=> string(5) "GO008" ["初中一年级"]=> string(5) "GO009" ["初中二年级"]=> string(6) "GO0010" ["初中三年级"]=> string(6) "GO0011" ["高中一年级"]=> string(6) "GO0012" ["高中二年级"]=> string(6) "GO0013" ["高中三年级"]=> string(6) "GO0014" } ["_resourceTypeCode"]=> array(1) { [100]=> string(13) "evaluate_task" } ["_evaluate_type"]=> array(2) { ["study_evaluate"]=> int(1) ["evaluate"]=> int(2) } ["_evaluate_classify"]=> array(3) { ["com"]=> int(1) ["unit"]=> int(2) ["interest"]=> int(3) } ["_evaluate_status"]=> array(4) { ["not_do"]=> int(0) ["do"]=> int(1) ["finish"]=> int(2) ["end"]=> int(3) } ["_apply_type"]=> array(2) { [1]=> string(6) "内部" [2]=> string(9) "第三方" } ["_study_big_type"]=> array(2) { [1]=> string(12) "学习资源" [2]=> string(6) "测评" } ["_study_evaluate"]=> array(1) { [100]=> string(12) "测评作业" } } ["_defalut_xd":protected]=> string(5) "xd001" ["c"]=> string(28) "Modules_Sm_Controllers_Study" ["a"]=> string(17) "studyDetailAction" ["xk"]=> string(2) "sm" ["user_info"]=> array(0) { } ["_modelsHome":protected]=> NULL ["_viewsHome":protected]=> NULL ["_tplExt":protected]=> string(4) ".php" ["_keys":protected]=> array(0) { } ["_error":protected]=> NULL ["view"]=> object(Cola_View)#6 (14) { ["_basePath":protected]=> string(0) "" ["_widgetsHome":protected]=> string(0) "" ["_cacheConfig":protected]=> string(6) "_cache" ["_cache":protected]=> NULL ["_layout":protected]=> string(33) "Modules/Sm/Views/Layout/index.htm" ["user_info"]=> array(0) { } ["xk"]=> string(2) "sm" ["ucxk"]=> string(2) "Sm" ["xk_code"]=> string(5) "GS024" ["xk_name"]=> string(12) "生命安全" ["bb_list"]=> array(2) { [0]=> array(12) { ["id"]=> string(2) "96" ["pid"]=> string(1) "8" ["code"]=> string(3) "v11" ["is_ok"]=> string(1) "1" ["node_order"]=> string(0) "" ["is_gd"]=> string(0) "" ["name"]=> string(9) "鄂科版" ["pid_path"]=> string(8) "0,1,8,96" ["history_year"]=> string(1) "0" ["history_time"]=> string(1) "0" ["extends_id"]=> string(1) "0" ["extends_status"]=> string(1) "0" } [1]=> array(12) { ["id"]=> string(4) "1455" ["pid"]=> string(1) "8" ["code"]=> string(5) "GC057" ["is_ok"]=> string(1) "1" ["node_order"]=> string(2) "10" ["is_gd"]=> string(0) "" ["name"]=> string(12) "其他版本" ["pid_path"]=> string(10) "0,1,8,1455" ["history_year"]=> string(1) "0" ["history_time"]=> string(1) "0" ["extends_id"]=> string(1) "0" ["extends_status"]=> string(1) "0" } } ["bb"]=> string(0) "" ["page_title"]=> string(12) "学习教材" ["js"]=> array(2) { [0]=> string(19) "xuexi/stu_detail.js" [1]=> string(20) "evaluate/eva_list.js" } } ["request"]=> object(Cola_Request)#12 (0) { } } [1]=> string(17) "studyDetailAction" }
359 if (isset($this->dispatchInfo['action'])) { 360 $func = isset($controller) ? array($controller, $this->dispatchInfo['action']) : $this->dispatchInfo['action']; 361 if (!is_callable($func, TRUE)) { 362 throw new Cola_Exception_Dispatch("Can't dispatch action:{$this->dispatchInfo['action']}"); 363 } 364 call_user_func($func); 365 } 366 } 367 368 }
-
PHP internal call » Modules_Sm_Controllers_Study->studyDetailAction ( )
-
/data/webapp/service_jc/Modules/Sm/Controllers/Study.php [ 87 ] » Modules_Sm_Controllers_Study->getEditionNode ( arguments )
0
string(5) "xd001"
1
string(5) "GS026"
82 83 // 添加学科选项相关逻辑 84 $stage = $this->getVar('stage', 'xd001'); 85 $subject = $this->getVar('subject', 'GS001'); 86 87 $edition_node = $this->getEditionNode($stage, $subject); 88 if ($edition_node['code'] == 1000) { 89 $edition = $edition_node['data'][0]['code']; 90 $edition_node = $edition_node['data']; 91 } else { 92 $edition_node = [];
-
/data/webapp/service_jc/Modules/Sm/Controllers/Study.php [ 130 ] » Cola_Com_WebServices_Yar->getEditionListByParam ( arguments )
0
string(5) "xd001"
1
string(5) "GS026"
125 { 126 if (empty($stage) || empty($subject)) { 127 return ['code' => 1001, 'msg' => '参数错误']; 128 } 129 $resource_yar = new Cola_Com_WebServices_Yar(Cola::getConfig('_yarzy'), 'Interface_Node'); 130 $rs = $resource_yar->getEditionListByParam($stage, $subject); 131 if ($rs['code'] == 1000) { 132 //echo json_encode($rs['data']);exit; 133 foreach ($rs['data'] as $key => $val) { 134 if (!in_array($val['name'], ['鄂教版','鄂人民版(朝读经典)'])) { 135 unset($rs['data'][$key]);
-
/data/webapp/service_jc/Modules/Sm/Controllers/Study.php [ 130 ] » Cola_Com_WebServices_Yar->__call ( arguments )
0
string(21) "getEditionListByParam"
1
array(2) { [0]=> string(5) "xd001" [1]=> string(5) "GS026" }
125 { 126 if (empty($stage) || empty($subject)) { 127 return ['code' => 1001, 'msg' => '参数错误']; 128 } 129 $resource_yar = new Cola_Com_WebServices_Yar(Cola::getConfig('_yarzy'), 'Interface_Node'); 130 $rs = $resource_yar->getEditionListByParam($stage, $subject); 131 if ($rs['code'] == 1000) { 132 //echo json_encode($rs['data']);exit; 133 foreach ($rs['data'] as $key => $val) { 134 if (!in_array($val['name'], ['鄂教版','鄂人民版(朝读经典)'])) { 135 unset($rs['data'][$key]);
-
/data/webapp/service_jc/Cola/Com/WebServices/Yar.php [ 34 ] » Yar_Client->call ( arguments )
0
string(21) "getEditionListByParam"
1
array(2) { [0]=> string(5) "xd001" [1]=> string(5) "GS026" }
29 } 30 } 31 32 public function __call($name, $arguments) 33 { 34 return $this->yarClient->call($name, $arguments); 35 } 36 37 /** 38 * yar 39 *