MODPATH/database/classes/kohana/database/mysql.php [ 194 ]
189 {
190 // This benchmark is worthless
191 Profiler::delete($benchmark);
192 }
193
194 throw new Database_Exception(':error [ :query ]',
195 array(':error' => mysql_error($this->_connection), ':query' => $sql),
196 mysql_errno($this->_connection));
197 }
198
199 if (isset($benchmark))
-
MODPATH/database/classes/kohana/database/query.php [ 251 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(307) "select type,amount from sline_coupon WHERE kindid=1 and isopen=1 and isdel=0 and (typeid=0 or (find_in_set(5,modules) and typeid …"
2
bool FALSE
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 247 } 248 } 249 250 // Execute the query 251 $result = $db->query($this->_type, $sql, $as_object, $object_params); 252 253 if (isset($cache_key) AND $this->_lifetime > 0) 254 { 255 // Cache the result array 256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
DOCROOT/plugins/coupon/classes/model/coupon.php [ 567 ] » Kohana_Database_Query->execute()
562 { 563 $info = array(); 564 $time = time(); 565 $sql = "select type,amount from sline_coupon WHERE kindid=1 and isopen=1 and isdel=0 and (typeid=0 or (find_in_set($typeid,modules) and typeid=1) or (typeid=9999 and id in 566 (select cid from sline_coupon_pro WHERE typeid=$typeid and proid=$productid))) and (isnever=0 or (starttime<$time and endtime>$time)) order by displayorder"; 567 $result = DB::query(1,$sql)->execute()->as_array(); 568 $totalnum = count($result); 569 foreach($result as $key=>$r) 570 { 571 if($key<3) 572 {
-
DOCROOT/data/cache/v5/tplcache/default/spot/show.php [ 3 ] » Model_Coupon::get_mobile_coupon_info(arguments)
0
integer 5
1
NULL
1 <!DOCTYPE html> <html> <head font_size=RjGe6k > <meta charset="UTF-8"> <title><?php echo $seoinfo['seotitle'];?>-<?php echo $GLOBALS['cfg_webname'];?></title> <?php if($seoinfo['keyword']) { ?> <meta name="keywords" content="<?php echo $seoinfo['keyword'];?>" /> <?php } ?> <?php if($seoinfo['description']) { ?> <meta name="description" content="<?php echo $seoinfo['description'];?>" /> <?php } ?> <?php echo Stourweb_View::template("pub/varname"); ?> <?php echo Common::css('base.css,extend.css,jquery.fancybox.css');?> <?php echo Common::js('jquery.min.js,base.js,common.js,delayLoading.min.js,jquery.fancybox.js,layer/layer.js',false);?> <!-- 头部底部 --> <?php echo Common::css_plugin('spot_detail.css','spot');?> <?php echo Common::js_plugin('swiper/swiper2.min.js,laypage/laypage.js','spot',false);?> <?php echo Common::css_plugin('../js/swiper/swiper2.css,../js/font/iconfont.css,../js/laypage/skin/laypage.css','spot',false);?> <link type="text/css" rel="stylesheet" href="http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.css"> </head> <body> <?php echo Request::factory("pub/header")->execute()->body(); ?> <div class="fl100"> <!-- 面包屑导航 --> <div class="subnav"> <div class="wm-1200"> <?php $n=1; if(is_array($crumbs)) { foreach($crumbs as $crumb_key => $crumb) { ?> <?php if(!empty($crumb['href'])) { ?> <a href="<?php echo $crumb['href'];?>"><?php echo $crumb['name'];?></a> <span class="symbol">></span> <?php } else { ?> <span class="present"><?php echo $crumb['name'];?></span> <?php } ?> <?php $n++;}unset($n); } ?> </div> </div> <!-- 产品信息 --> <div class="ticket-info"> <div class="wm-1200 clearfix"> <div class="ticket-info-left"> <div class="pc-slide"> <div class="view"> <div class="swiper-container"> <div class="number">产品编号:<?php echo $info['series'];?></div> <div class="swiper-wrapper"> <?php $n=1; if(is_array($info['piclist'])) { foreach($info['piclist'] as $pic_key => $pic) { ?> <div class="swiper-slide"><img src="<?php echo Common::img($pic['0'],550,293);?>" alt=""></div> <?php $n++;}unset($n); } ?> </div> </div> </div> <div class="preview"> <a class="arrow-left" href="javascript:;"><span class="ticket-icon"></span></a> <a class="arrow-right" href="javascript:;"><span class="ticket-icon"></span></a> <div class="swiper-container"> <div class="swiper-wrapper"> <?php $n=1; if(is_array($info['piclist'])) { foreach($info['piclist'] as $pic_key => $pic) { ?> <div class="swiper-slide"><div class="img-div"><img src="<?php echo Common::img($pic['0'],120,64);?>" alt=""></div></div> <?php $n++;}unset($n); } ?> </div> </div> </div> </div> <!-- 分享 --> <div class="share-bar-box clearfix"> <div class="bdsharebuttonbox share-item bdshare-button-style0-16" data-bd-bind="1562046571199"> <a href="javascript:;" class="bds_more share-more" data-cmd="more"><i class="icon"></i>分享</a> </div> <div class="code-item"> <a href="javascript:;" class="name"><i class="icon"></i>二维码分享</a> <?php 2 $url = Common::get_web_url($info['webid']).'/spots/show_'.$info['aid'].'.html'; 3 ?> <div class="con-box"><img src="/res/vendor/qrcode/make.php?param=<?php echo $url;?>" alt=""></div> </div> </div> </div> <div class="ticket-info-right"> <div class="price"> <?php if(!empty($info['price'])) { ?> <span class="f"><?php echo Currency_Tool::symbol();?></span><span class="n"><?php echo $info['price'];?></span><span class="q">起</span> <?php } else { ?> <span class="n">电询</span> <?php } ?> </div> <h1 class="show-title"><?php echo $info['title'];?></h1> <div class="info-item clearfix"> <span class="label">景点地址:</span> <div class="text"><span class="t"><?php echo $info['address'];?></span> <?php if(!empty($info['lng']) && !empty($info['lat'])) { ?><a class="maps" data-href="md-jtdt" href="javascript:;"><span class="ticket-icon"></span>地图</a><?php } ?> </div> </div> <div class="info-item clearfix"> <span class="label">开放时间:</span> <div class="text"><?php echo $info['open_time_des'];?></div> </div> <div class="info-item clearfix"> <span class="label">积分促销:</span> <div class="text"><?php echo implode('、',$info['jifen_des_arr']);?></div> </div> <?php if(St_Functions::is_normal_app_install('coupon') && ($coupon=Model_Coupon::get_mobile_coupon_info($typeid,$info['id'])) && $coupon['totalnum']>0 ) { ?> <div class="info-item clearfix"> <span class="label">优惠券:</span> <div class="text clearfix"> <?php $n=1; if(is_array($coupon['price'])) { foreach($coupon['price'] as $coupon_price) { ?> <p class="yhq"><?php echo $coupon_price;?>优惠券</p> <?php $n++;}unset($n); } ?> <a class="more" href="<?php echo $cmsurl;?>coupon-5-<?php echo $info['id'];?>">更多></a></div> </div> <?php } ?> <div class="intro"> <div class="text"><?php echo $info['sellpoint'];?></div> <div class="unfold"><?php echo $info['sellpoint'];?></div> </div> <div class="sfrm clearfix"> <p class="satisficing"><span class="n"><?php echo str_replace('%','',$info['satisfyscore']);?></span>% 满意</p> <a class="remark" data-href="md-sppl" href="javascript:;">查看<span class="n"><?php echo $info['commentnum'];?></span>条点评</a> </div> <?php if(St_Functions::is_normal_app_install('supplier_shop') && $info['supplierlist'] && Model_Supplier::display_is_open()) { ?> <?php $shop_url=Model_Supplier_Shop::get_pc_shop_link($info['supplierlist'],1,false); ?> <?php if(!empty($shop_url)) { ?> <div class="supplier"><span class="ticket-icon"></span>供应商:<a class="gys" href="<?php echo Model_Supplier_Shop::get_pc_shop_link($info['supplierlist'],1,false);?>"><?php echo $info['suppliername'];?></a></div> <?php } else { ?> <div class="supplier"><span class="ticket-icon"></span>供应商:<a class="gys" href="javascript:;"><?php echo $info['suppliername'];?></a></div> <?php } ?> <?php } ?> </div> </div> </div> <!-- 内容菜单 --> <div class="mainnav"> <div class="mainnav-fixed"> <div class="prev btn op5"><span></span></div> <div class="next btn"><span></span></div> <div class="goreserve"><a class="reserve-btn" href="javascript:;" data-href="md-mpyd">立即预订</a></div> <div class="wm-1200"> <div class="con clearfix"> <?php if($info['hasticket']) { ?> <a class="on" href="javascript:;" data-href="md-mpyd">门票预订</a> <?php } ?> <?php if(!empty($info['lng']) && !empty($info['lat'])) { ?> <a href="javascript:;" data-href="md-jtdt">交通地图</a> <?php } ?> <?php require_once ("/www/wwwroot/www.haihangleyouguolv.cn/taglib/detailcontent.php");$detailcontent_tag = new Taglib_Detailcontent();if (method_exists($detailcontent_tag, 'get_content')) {$spotcontent = $detailcontent_tag->get_content(array('action'=>'get_content','pc'=>'1','typeid'=>$typeid,'productinfo'=>$info,'return'=>'spotcontent',));}?> <?php $n=1; if(is_array($spotcontent)) { foreach($spotcontent as $row) { ?> <a href="javascript:;" data-href="md-<?php echo $row['columnname'];?>"><?php echo $row['chinesename'];?></a> <?php $n++;}unset($n); } ?> <a href="javascript:;" data-href="md-sppl">商品评论</a> <a href="javascript:;" data-href="md-wyzx">我要咨询</a> </div> </div> </div> </div> <!-- 产品详情 --> <div class="detail-main"> <div class="wm-1200 clearfix"> <!-- 菜单对应内容区 --> <!-- 产品预定 --> <div class="content-main-reserve" id="md-mpyd"> <table class="table"> <thead> <tr> <th colspan="2">产品</th> <th>提前预定时间</th> <th>取消政策</th> <th>原价</th> <th>优惠价</th> <th></th> </tr> </thead> <tbody> <?php $spot_tag = new Taglib_Spot();if (method_exists($spot_tag, 'suit_type')) {$typelist = $spot_tag->suit_type(array('action'=>'suit_type','row'=>'8','productid'=>$info['id'],'return'=>'typelist',));}?> <?php $n=1; if(is_array($typelist)) { foreach($typelist as $type) { ?> <?php $spot_tag = new Taglib_Spot();if (method_exists($spot_tag, 'suit_by_type')) {$suitlist = $spot_tag->suit_by_type(array('action'=>'suit_by_type','row'=>'10','productid'=>$info['id'],'suittypeid'=>$type['id'],'return'=>'suitlist',));}?> <?php if(!empty($suitlist)) { ?> <tr> <td rowspan="<?php echo count($suitlist);?>" class="va-top" id="sub_<?php echo $type['id'];?>"><?php echo $type['title'];?></td> <td><a class="reserve-name" name="sub_<?php echo $type['id'];?>" href="javascript:;"><span class="text"><?php echo $suitlist['0']['title'];?></span><span class="ticket-icon"></span></a></td> <td><div class="c-666"><?php if(!empty($suitlist['0']['day_before_des'])) { ?><?php echo $suitlist['0']['day_before_des'];?><?php } else { ?>当天24:00前<?php } ?> </div></td> <td><div class="c-666"> <?php if($suitlist['0']['refund_restriction']==0) { ?>无条件退 4 <?php } else if($suitlist['0']['refund_restriction']==1) { ?>不可退改 5 <?php } else if($suitlist['0']['refund_restriction']==2) { ?>有条件退 6 <?php } ?> </div></td> <td><p class="c-c4c4c4"><?php if(!empty($suitlist['0']['sellprice'])) { ?><?php echo Currency_Tool::symbol();?><?php echo $suitlist['0']['sellprice'];?><?php } ?> </p></td> <td><div class="price"> <?php if(!empty($suitlist['0']['ourprice'])) { ?> <?php echo Currency_Tool::symbol();?><span class="n"><?php echo $suitlist['0']['ourprice'];?></span> <?php } else { ?> <span class="n">电询</span> <?php } ?> </div></td> <td> <?php if($suitlist['0']['price_status']==1) { ?> <?php if(!empty($suitlist['0']['ourprice'])) { ?> <a class="reserve-btn" href="javascript:;" data-suitid="<?php echo $suitlist['0']['id'];?>">立即预订</a> <?php } else { ?> <a class="reserve-btn disabled" href="javascript:;">售罄</a> <?php } ?> <?php } else if($suitlist['0']['price_status']==3) { ?> <a class="reserve-btn disabled" href="javascript:;">售罄</a> <?php } else if($suitlist['0']['price_status']==2) { ?> <a class="reserve-btn disabled" href="javascript:;">售罄</a> <?php } ?> </td> </tr> <tr class="unfold"> <td colspan="6"> <div class="detail-con"> <h3 class="title"><?php echo $suitlist['0']['title'];?></h3> <ul> <li class="clearfix"> <span class="label">有效期限:</span> <div class="con">游客指定入园日期后<?php echo $suitlist['0']['effective_days'];?>天内有效</div> </li> <li class="clearfix"> <span class="label">取票方式:</span> <div class="con"><?php echo $suitlist['0']['get_ticket_way'];?></div> </li> <li class="clearfix"> <span class="label">退改方式:</span> <div class="con"> <?php if($suitlist['0']['refund_restriction']==0) { ?>无条件退 7 <?php } else if($suitlist['0']['refund_restriction']==1) { ?>不可退改 8 <?php } else if($suitlist['0']['refund_restriction']==2) { ?>有条件退
-
APPPATH/classes/stourweb/view.php [ 84 ] » include(arguments)
0
string(82) "/www/wwwroot/www.haihangleyouguolv.cn/data/cache/v5/tplcache/default/spot/show.php"
79 $file_content = self::get_file($kohana_view_filename); 80 $new_content = self::compile_template($file_content, $this->_data); 81 $new_content = self::compress_html($new_content); 82 self::write_file($to, $new_content);//写缓存文件. 83 } 84 include($to); 85 } 86 else if ($this->_innertext !== NULL) 87 { 88 $to = CACHE_DIR.'v5/tplcache/' . $this->_innertex_name . '.php'; 89 $new_content = self::compile_template($this->_innertext, $this->_data);
-
APPPATH/classes/stourweb/view.php [ 428 ] » Stourweb_View->capture(arguments)
0
string(78) "/www/wwwroot/www.haihangleyouguolv.cn/plugins/spot/views/default/spot/show.php"
1
array(12) ( "cmsurl" => string(1) "/" "webname" => string(0) "" "typeid" => integer 5 "channelname" => string(6) "景点" "crumbs" => array(3) ( 0 => array(2) ( "name" => string(12) "全域旅游" "href" => string(1) "/" ) 1 => array(2) ( "name" => string(6) "景点" "href" => string(7) "/spots/" ) 2 => array(1) ( "name" => NULL ) ) "seoinfo" => array(3) ( "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" ) "info" => array(14) ( "piclist" => NULL "attrlist" => NULL "price" => integer 0 "sellprice" => integer 0 "commentnum" => integer 0 "sellnum" => integer 17555 "series" => string(2) "15" "iconlist" => array(0) "score" => string(4) "100%" "hasticket" => bool FALSE "jifentprice_info" => bool FALSE "jifenbook_info" => bool FALSE "jifencomment_info" => bool FALSE "jifen_des_arr" => array(0) ) "paytypeArr" => array(6) ( 0 => string(1) "8" 1 => string(1) "1" 2 => string(2) "11" 3 => string(2) "12" 4 => string(2) "13" 5 => string(2) "14" ) "extendinfo" => array(0) "destid" => NULL "tagword" => NULL "templetdata" => array(11) ( "cmsurl" => string(1) "/" "webname" => string(0) "" "typeid" => integer 5 "channelname" => string(6) "景点" "crumbs" => array(3) ( 0 => array(2) ( "name" => string(12) "全域旅游" "href" => string(1) "/" ) 1 => array(2) ( "name" => string(6) "景点" "href" => string(7) "/spots/" ) 2 => array(1) ( "name" => NULL ) ) "seoinfo" => array(3) ( "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" ) "info" => array(14) ( "piclist" => NULL "attrlist" => NULL "price" => integer 0 "sellprice" => integer 0 "commentnum" => integer 0 "sellnum" => integer 17555 "series" => string(2) "15" "iconlist" => array(0) "score" => string(4) "100%" "hasticket" => bool FALSE "jifentprice_info" => bool FALSE "jifenbook_info" => bool FALSE "jifencomment_info" => bool FALSE "jifen_des_arr" => array(0) ) "paytypeArr" => array(6) ( 0 => string(1) "8" 1 => string(1) "1" 2 => string(2) "11" 3 => string(2) "12" 4 => string(2) "13" 5 => string(2) "14" ) "extendinfo" => array(0) "destid" => NULL "tagword" => NULL ) )
423 { 424 throw new View_Exception('You must set the file or innertext to use within your view before rendering'); 425 } 426 427 // Combine local and global data and capture the output 428 return Stourweb_View::capture($this->_file, $this->_data); 429 } 430 431 432 /** 433 *@模板编译
-
APPPATH/classes/stourweb/controller.php [ 113 ] » Stourweb_View->render()
108 $view->set($key, $value); 109 $view->set_global($key, $value); 110 } 111 112 113 $this->response->body($view->render()); 114 115 116 } 117 118 /*
-
DOCROOT/plugins/spot/classes/controller/pc/spot.php [ 538 ] » Stourweb_Controller->display(arguments)
0
string(9) "spot/show"
533 $this->assign('tagword', $info['tagword']); 534 535 $templet = Model_Spot::get_product_template($info); 536 $templet= $templet? $templet : Product::get_use_templet('spot_show'); 537 $templet = $templet ? $templet : 'spot/show'; 538 $this->display($templet); 539 540 Product::update_click_rate($info['aid'], $this->_typeid); 541 //缓存内容 542 $content = $this->response->body(); 543 Common::cache('set', $this->_cache_key, $content);
-
{PHP internal call} » Controller_Pc_Spot->action_show()
-
SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Pc_Spot(7)
{ private _typeid => integer 5 private _cache_key => string(51) "http://www.haihangleyouguolv.cn/spots/show_104.html" public _data => array(12) ( "cmsurl" => string(1) "/" "webname" => string(0) "" "typeid" => integer 5 "channelname" => string(6) "景点" "crumbs" => array(3) ( 0 => array(2) ( "name" => string(12) "全域旅游" "href" => string(1) "/" ) 1 => array(2) ( "name" => string(6) "景点" "href" => string(7) "/spots/" ) 2 => array(1) ( "name" => NULL ) ) "seoinfo" => array(3) ( "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" ) "info" => array(14) ( "piclist" => NULL "attrlist" => NULL "price" => integer 0 "sellprice" => integer 0 "commentnum" => integer 0 "sellnum" => integer 17555 "series" => string(2) "15" "iconlist" => array(0) "score" => string(4) "100%" "hasticket" => bool FALSE "jifentprice_info" => bool FALSE "jifenbook_info" => bool FALSE "jifencomment_info" => bool FALSE "jifen_des_arr" => array(0) ) "paytypeArr" => array(6) ( 0 => string(1) "8" 1 => string(1) "1" 2 => string(2) "11" 3 => string(2) "12" 4 => string(2) "13" 5 => string(2) "14" ) "extendinfo" => array(0) "destid" => NULL "tagword" => NULL "templetdata" => array(11) ( "cmsurl" => string(1) "/" "webname" => string(0) "" "typeid" => integer 5 "channelname" => string(6) "景点" "crumbs" => array(3) ( 0 => array(2) ( "name" => string(12) "全域旅游" "href" => string(1) "/" ) 1 => array(2) ( "name" => string(6) "景点" "href" => string(7) "/spots/" ) 2 => array(1) ( "name" => NULL ) ) "seoinfo" => array(3) ( "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" ) "info" => array(14) ( "piclist" => NULL "attrlist" => NULL "price" => integer 0 "sellprice" => integer 0 "commentnum" => integer 0 "sellnum" => integer 17555 "series" => string(2) "15" "iconlist" => array(0) "score" => string(4) "100%" "hasticket" => bool FALSE "jifentprice_info" => bool FALSE "jifenbook_info" => bool FALSE "jifencomment_info" => bool FALSE "jifen_des_arr" => array(0) ) "paytypeArr" => array(6) ( 0 => string(1) "8" 1 => string(1) "1" 2 => string(2) "11" 3 => string(2) "12" 4 => string(2) "13" 5 => string(2) "14" ) "extendinfo" => array(0) "destid" => NULL "tagword" => NULL ) ) 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(27) "spots(/<action>_<aid>.html)" protected _regex => array(2) ( "aid" => string(3) "\d+" "action" => string(4) "show" ) protected _defaults => array(3) ( "action" => string(5) "index" "controller" => string(4) "spot" "directory" => string(2) "pc" ) protected _route_regex => string(52) "#^spots(?:/(?P<action>show)_(?P<aid>\d+)\.html)?$#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(4) "spot" protected _action => string(4) "show" protected _uri => string(19) "spots/show_104.html" protected _external => bool FALSE protected _params => array(1) ( "aid" => string(3) "104" ) 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(27) "spots(/<action>_<aid>.html)" protected _regex => array(2) ( "aid" => string(3) "\d+" "action" => string(4) "show" ) protected _defaults => array(3) ( "action" => string(5) "index" "controller" => string(4) "spot" "directory" => string(2) "pc" ) protected _route_regex => string(52) "#^spots(?:/(?P<action>show)_(?P<aid>\d+)\.html)?$#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(4) "spot" protected _action => string(4) "show" protected _uri => string(19) "spots/show_104.html" protected _external => bool FALSE protected _params => array(1) ( "aid" => string(3) "104" ) 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(27) "spots(/<action>_<aid>.html)" protected _regex => array(2) ( "aid" => string(3) "\d+" "action" => string(4) "show" ) protected _defaults => array(3) ( "action" => string(5) "index" "controller" => string(4) "spot" "directory" => string(2) "pc" ) protected _route_regex => string(52) "#^spots(?:/(?P<action>show)_(?P<aid>\d+)\.html)?$#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(4) "spot" protected _action => string(4) "show" protected _uri => string(19) "spots/show_104.html" protected _external => bool FALSE protected _params => array(1) ( "aid" => string(3) "104" ) 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 [ 141 ] » Kohana_Request->execute()
136 /** 137 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 138 * If no source is specified, the URI will be automatically detected. 139 */ 140 echo Request::factory() 141 ->execute() 142 ->send_headers(TRUE) 143 ->body(); 144 145 }