APPPATH/classes/stourweb/view.php [ 335 ]
330 $path = BASEPATH . $file . '.php';
331
332 }
333 else
334 {
335 throw new View_Exception('The requested view :file could not be found', array(
336 ':file' => $file,
337 ));
338 }
339
340 }
-
APPPATH/classes/stourweb/view.php [ 198 ] » Stourweb_View->set_filename(arguments)
0
string(18) "default/null/index"
193 */ 194 public function __construct($file = NULL, array $data = NULL, $innertext = NULL, $innertextname) 195 { 196 if ($file !== NULL) 197 { 198 $this->set_filename($file); 199 } 200 201 if ($data !== NULL) 202 { 203 // Add the values to the current data
-
APPPATH/classes/stourweb/view.php [ 32 ] » Stourweb_View->__construct(arguments)
0
string(18) "default/null/index"
1
NULL
2
NULL
3
NULL
27 * @param array $data array of values 28 * @return View 29 */ 30 public static function factory($file = NULL, array $data = NULL, $innertext = NULL, $innertextname) 31 { 32 return new Stourweb_View($file, $data, $innertext, $innertextname); 33 } 34 35 /** 36 * Captures the output that is generated when a view is included. 37 * The view data will be extracted to make local variables. This method
-
APPPATH/classes/stourweb/controller.php [ 102 ] » Stourweb_View::factory(arguments)
0
string(18) "default/null/index"
97 $tpl_info = explode('/',$tpl); 98 $user_tpl = $tpl_info[1] ? $tpl_info[1] : ''; 99 $this->assign('user_tpl',$user_tpl); 100 101 } 102 $view = Stourweb_View::factory($file); 103 //模板数据 104 $this->assign("templetdata", $this->_data); 105 106 foreach ($this->_data as $key => $value) 107 {
-
DOCROOT/plugins/destination/classes/controller/pc/destination.php [ 85 ] » Stourweb_Controller->display(arguments)
0
string(10) "null/index"
80 } 81 else 82 { 83 $templet = 'destination/main'; 84 } 85 $this->display($templet); 86 //缓存内容 87 $content = $this->response->body(); 88 Common::cache('set', $this->_cache_key, $content); 89 } 90
-
{PHP internal call} » Controller_Pc_Destination->action_main()
-
SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Pc_Destination(7)
{ private typeid => integer 12 private _cache_key => string(23) "http://bbkgo.com/sansha" public _data => array(7) ( "cmsurl" => string(1) "/" "webname" => string(54) "三亚青旅假期旅行社(三亚纯玩旅游网)" "typeid" => integer 12 "channelname" => string(15) "旅游目的地" "channel" => array(15) ( "line" => array(2) ( "isopen" => string(1) "0" "channelname" => string(9) "跟团游" ) "hotel" => array(2) ( "isopen" => string(1) "0" "channelname" => string(12) "酒店预订" ) "car" => array(2) ( "isopen" => string(1) "0" "channelname" => string(18) "三亚包车旅游" ) "spot" => array(2) ( "isopen" => string(1) "0" "channelname" => string(18) "景区门票预订" ) "article" => array(2) ( "isopen" => string(1) "0" "channelname" => string(12) "旅游攻略" ) "photo" => array(2) ( "isopen" => string(1) "0" "channelname" => string(18) "海南风景图片" ) "visa" => array(2) ( "isopen" => string(1) "0" "channelname" => string(6) "签证" ) "" => array(2) ( "isopen" => string(1) "1" "channelname" => string(15) "三亚跟团游" ) "tuan" => array(2) ( "isopen" => string(1) "0" "channelname" => string(6) "团购" ) "customize" => array(2) ( "isopen" => string(1) "1" "channelname" => string(23) "独立成团·定制游" ) "jieban" => array(2) ( "isopen" => string(1) "0" "channelname" => string(6) "结伴" ) "wenda" => array(2) ( "isopen" => string(1) "1" "channelname" => string(12) "在线问答" ) "huiyi" => array(2) ( "isopen" => string(1) "1" "channelname" => string(18) "三亚会议会展" ) "notes" => array(2) ( "isopen" => string(1) "0" "channelname" => string(6) "游记" ) "youting" => array(2) ( "isopen" => string(1) "1" "channelname" => string(18) "豪华游艇租赁" ) ) "seoinfo" => array(3) ( "seotitle" => string(62) "三沙旅游费用_海南三沙旅游攻略_三沙旅游线路" "keyword" => string(62) "三沙旅游费用,海南三沙旅游攻略,三沙旅游线路" "description" => string(132) "海南纯玩旅游网为您提供最全面的三沙旅游攻略,多条三沙旅游线路,三沙旅游费用欢迎来电咨询!" ) "info" => array(25) ( "id" => string(2) "35" "kindname" => string(6) "三沙" "pid" => string(1) "1" "seotitle" => string(62) "三沙旅游费用_海南三沙旅游攻略_三沙旅游线路" "keyword" => string(62) "三沙旅游费用,海南三沙旅游攻略,三沙旅游线路" "description" => string(132) "海南纯玩旅游网为您提供最全面的三沙旅游攻略,多条三沙旅游线路,三沙旅游费用欢迎来电咨询!" "tagword" => string(12) "三沙旅游" "jieshao" => string(46) "<p>三沙市是中国最南端的城市。</p>" "kindtype" => NULL "isopen" => string(1) "1" "isfinishseo" => string(1) "0" "displayorder" => string(1) "3" "isnav" => string(1) "1" "templetpath" => string(0) "" "ishot" => string(1) "0" "litpic" => string(0) "" "piclist" => string(0) "" "istopnav" => string(1) "0" "pinyin" => string(6) "sansha" "templet" => string(4) "null" "iswebsite" => string(1) "0" "weburl" => NULL "webroot" => NULL "webprefix" => NULL "opentypeids" => string(4) "4,12" ) ) public params => array(1) ( "" => string(1) "0" ) protected cmsurl => string(1) "/" public request => object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(8) "<pinyin>" protected _regex => array(1) ( "pinyin" => string(12) "[a-zA-Z0-9]+" ) protected _defaults => array(3) ( "action" => string(4) "main" "directory" => string(2) "pc" "controller" => string(11) "destination" ) protected _route_regex => string(30) "#^(?P<pinyin>[a-zA-Z0-9]+)$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(2) "pc" protected _controller => string(11) "destination" protected _action => string(4) "main" protected _uri => string(6) "sansha" protected _external => bool FALSE protected _params => array(1) ( "pinyin" => string(6) "sansha" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }111 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 112 array(':uri' => $request->uri())); 113 } 114 115 $method = $class->getMethod('action_'.$action); 116 $method->invoke($controller); 117 118 // Execute the "after action" method 119 $class->getMethod('after')->invoke($controller); 120 } 121 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(8) "<pinyin>" protected _regex => array(1) ( "pinyin" => string(12) "[a-zA-Z0-9]+" ) protected _defaults => array(3) ( "action" => string(4) "main" "directory" => string(2) "pc" "controller" => string(11) "destination" ) protected _route_regex => string(30) "#^(?P<pinyin>[a-zA-Z0-9]+)$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(2) "pc" protected _controller => string(11) "destination" protected _action => string(4) "main" protected _uri => string(6) "sansha" protected _external => bool FALSE protected _params => array(1) ( "pinyin" => string(6) "sansha" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1160 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(8) "<pinyin>" protected _regex => array(1) ( "pinyin" => string(12) "[a-zA-Z0-9]+" ) protected _defaults => array(3) ( "action" => string(4) "main" "directory" => string(2) "pc" "controller" => string(11) "destination" ) protected _route_regex => string(30) "#^(?P<pinyin>[a-zA-Z0-9]+)$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(2) "pc" protected _controller => string(11) "destination" protected _action => string(4) "main" protected _uri => string(6) "sansha" protected _external => bool FALSE protected _params => array(1) ( "pinyin" => string(6) "sansha" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}1155 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1156 ':uri' => $this->_uri, 1157 )); 1158 } 1159 1160 return $this->_client->execute($this); 1161 } 1162 1163 /** 1164 * Returns whether this request is the initial request Kohana received. 1165 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 134 ] » Kohana_Request->execute()
129 /** 130 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 131 * If no source is specified, the URI will be automatically detected. 132 */ 133 echo Request::factory() 134 ->execute() 135 ->send_headers(TRUE) 136 ->body(); 137 138 }