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/mysql.php [ 359 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(45) "SHOW FULL COLUMNS FROM `sline_spot_pricelist`"
2
bool FALSE
354 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 355 } 356 else 357 { 358 // Find all column names 359 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 360 } 361 362 $count = 0; 363 $columns = array(); 364 foreach ($result as $row)
-
MODPATH/orm/classes/kohana/orm.php [ 1802 ] » Kohana_Database_MySQL->list_columns(arguments)
0
string(14) "spot_pricelist"
1797 * @return array 1798 */ 1799 public function list_columns() 1800 { 1801 // Proxy to database 1802 return $this->_db->list_columns($this->_table_name); 1803 } 1804 1805 /** 1806 * Returns an ORM model for the given one-one related alias 1807 *
-
MODPATH/orm/classes/kohana/orm.php [ 457 ] » Kohana_ORM->list_columns()
452 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 453 } 454 else 455 { 456 // Grab column information from database 457 $this->_table_columns = $this->list_columns(); 458 459 // Load column cache 460 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 461 } 462 }
-
MODPATH/orm/classes/kohana/orm.php [ 402 ] » Kohana_ORM->reload_columns()
397 { 398 $this->{$property} = $value; 399 } 400 401 // Load column information 402 $this->reload_columns(); 403 404 // Clear initial model state 405 $this->clear(); 406 } 407
-
MODPATH/orm/classes/kohana/orm.php [ 267 ] » Kohana_ORM->_initialize()
262 * 263 * @param mixed $id Parameter for find or object to load 264 */ 265 public function __construct($id = NULL) 266 { 267 $this->_initialize(); 268 269 if ($id !== NULL) 270 { 271 if (is_array($id)) 272 {
-
MODPATH/orm/classes/kohana/orm.php [ 48 ] » Kohana_ORM->__construct(arguments)
0
NULL
43 // Set class name 44 //echo "model=>".$model."<br>\r\n"; 45 //exit; 46 $model = 'Model_'.$model; 47 48 return new $model($id); 49 } 50 51 /** 52 * "Has one" relationships 53 * @var array
-
DOCROOT/taglib/spot.php [ 172 ] » Kohana_ORM::factory(arguments)
0
string(14) "spot_pricelist"
167 public static function price_list($params) 168 { 169 $default=array('row'=>'10'); 170 $params=array_merge($default,$params); 171 extract($params); 172 $arr = ORM::factory('spot_pricelist') 173 ->where("webid=0") 174 ->limit($row) 175 ->get_all(); 176 foreach($arr as &$row) 177 {
-
APPPATH/cache/tplcache/default/spot/list.php [ 73 ] » Taglib_Spot::price_list(arguments)
0
array(3) ( "action" => string(10) "price_list" "row" => string(2) "20" "return" => string(9) "pricelist" )
68 69 <dl class="type"> 70 <dt>价格区间:</dt> 71 <dd> 72 <p> 73 <?php require_once ("/usr/share/nginx/html/yun1/taglib/spot.php");$spot_tag = new Taglib_Spot();if (method_exists($spot_tag, 'price_list')) {$pricelist = $spot_tag->price_list(array('action'=>'price_list','row'=>'20','return'=>'pricelist',));}?> 74 <?php $n=1; if(is_array($pricelist)) { foreach($pricelist as $row) { ?> 75 <a <?php if($param['priceid']==$row['id']) { ?>class="on"<?php } ?> 76 href="<?php echo Model_Spot::get_search_url($row['id'],'priceid',$param);?>"><?php echo $row['title'];?></a> 77 <?php $n++;}unset($n); } ?> 78
-
APPPATH/classes/stourweb/view.php [ 74 ] » include(arguments)
0
string(66) "/usr/share/nginx/html/yun1/v5/cache/tplcache/default/spot/list.php"
69 { 70 $file_content = self::get_file($kohana_view_filename); 71 $new_content = self::compile_template($file_content,$this->_data); 72 self::write_file($to,$new_content);//写缓存文件. 73 } 74 include($to); 75 } 76 else if($this->_innertext !== NULL) 77 { 78 $to = APPPATH.'/cache/tplcache/'.$this->_innertex_name.'.php'; 79 $new_content = self::compile_template($this->_innertext,$this->_data);
-
APPPATH/classes/stourweb/view.php [ 418 ] » Stourweb_View->capture(arguments)
0
string(57) "/usr/share/nginx/html/yun1/v5/views/default/spot/list.php"
1
array(14) ( "cmsurl" => string(1) "/" "webname" => string(18) "易欢游旅行网" "typeid" => integer 5 "channelname" => string(6) "直播" "destid" => string(2) "36" "destinfo" => array(11) ( "seotitle" => string(85) "广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息" "description" => string(122) "<meta name="description" content="广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息"/>" "typename" => string(6) "广东" "dest_jieshao" => string(0) "" "dest_name" => string(6) "广东" "kindid" => string(2) "36" "dest_id" => string(2) "36" "dest_pinyin" => string(9) "guoneiyou" "tagword" => string(0) "" "keyword" => string(0) "" "pinyin" => string(9) "guoneiyou" ) "predest" => array(1) ( 0 => array(26) ( "id" => string(2) "36" "kindname" => string(6) "广东" "pid" => string(1) "0" "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" "tagword" => string(0) "" "jieshao" => string(25) "<p>广东旅游介绍</p>" "kindtype" => NULL "isopen" => string(1) "1" "isfinishseo" => string(1) "0" "displayorder" => string(1) "1" "isnav" => string(1) "1" "templetpath" => string(0) "" "ishot" => string(1) "1" "litpic" => string(0) "" "piclist" => string(0) "" "istopnav" => string(1) "1" "pinyin" => string(9) "guoneiyou" "templet" => NULL "iswebsite" => string(1) "0" "weburl" => NULL "webroot" => NULL "webprefix" => NULL "opentypeids" => string(12) "2,4,5,6,13,1" "is_shortrents" => string(1) "0" ) ) "list" => array(0) "chooseitem" => array(2) ( 0 => array(2) ( "url" => string(42) "http://yun1.easy-tour.cn/spots/all-0-0-1-1" "itemname" => string(6) "广东" ) 1 => array(2) ( "itemname" => NULL "url" => string(48) "http://yun1.easy-tour.cn/spots/guoneiyou-0-0-0-1" ) ) "searchtitle" => string(7) "广东_" "param" => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) "currentpage" => integer 3 "pageinfo" => object Pagination(15)
{ protected config => array(6) ( "current_page" => array(2) ( "source" => string(5) "route" "key" => string(1) "p" ) "view" => string(25) "default/pagination/search" "total_items" => string(2) "20" "items_per_page" => integer 10 "first_page_in_url" => bool FALSE "auto_hide" => bool TRUE ) protected current_page => integer 2 protected total_items => integer 20 protected items_per_page => integer 10 protected total_pages => integer 2 protected current_first_item => integer 11 protected current_last_item => integer 20 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 10 protected _request => object Request(20)
"templetdata" => array(13) ( "cmsurl" => string(1) "/" "webname" => string(18) "易欢游旅行网" "typeid" => integer 5 "channelname" => string(6) "直播" "destid" => string(2) "36" "destinfo" => array(11) ( "seotitle" => string(85) "广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息" "description" => string(122) "<meta name="description" content="广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息"/>" "typename" => string(6) "广东" "dest_jieshao" => string(0) "" "dest_name" => string(6) "广东" "kindid" => string(2) "36" "dest_id" => string(2) "36" "dest_pinyin" => string(9) "guoneiyou" "tagword" => string(0) "" "keyword" => string(0) "" "pinyin" => string(9) "guoneiyou" ) "predest" => array(1) ( 0 => array(26) ( "id" => string(2) "36" "kindname" => string(6) "广东" "pid" => string(1) "0" "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" "tagword" => string(0) "" "jieshao" => string(25) "<p>广东旅游介绍</p>" "kindtype" => NULL "isopen" => string(1) "1" "isfinishseo" => string(1) "0" "displayorder" => string(1) "1" "isnav" => string(1) "1" "templetpath" => string(0) "" "ishot" => string(1) "1" "litpic" => string(0) "" "piclist" => string(0) "" "istopnav" => string(1) "1" "pinyin" => string(9) "guoneiyou" "templet" => NULL "iswebsite" => string(1) "0" "weburl" => NULL "webroot" => NULL "webprefix" => NULL "opentypeids" => string(12) "2,4,5,6,13,1" "is_shortrents" => string(1) "0" ) ) "list" => array(0) "chooseitem" => array(2) ( 0 => array(2) ( "url" => string(42) "http://yun1.easy-tour.cn/spots/all-0-0-1-1" "itemname" => string(6) "广东" ) 1 => array(2) ( "itemname" => NULL "url" => string(48) "http://yun1.easy-tour.cn/spots/guoneiyou-0-0-0-1" ) ) "searchtitle" => string(7) "广东_" "param" => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) "currentpage" => integer 3 "pageinfo" => object Pagination(15){ 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 _route => object Route(5){ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
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(0) "" protected _controller => string(4) "spot" protected _action => string(4) "list" protected _uri => string(23) "spots/guoneiyou-0-0-1-3" protected _external => bool FALSE protected _params => array(6) ( "destpy" => string(9) "guoneiyou" "sign" => string(0) "" "priceid" => string(1) "0" "sorttype" => string(1) "0" "attrid" => string(1) "1" "p" => string(1) "3" ) protected _get => array(1) ( "s" => string(23) "spots/guoneiyou-0-0-1-3" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
protected _route_params => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) }{ protected config => array(6) ( "current_page" => array(2) ( "source" => string(5) "route" "key" => string(1) "p" ) "view" => string(25) "default/pagination/search" "total_items" => string(2) "20" "items_per_page" => integer 10 "first_page_in_url" => bool FALSE "auto_hide" => bool TRUE ) protected current_page => integer 2 protected total_items => integer 20 protected items_per_page => integer 10 protected total_pages => integer 2 protected current_first_item => integer 11 protected current_last_item => integer 20 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 10 protected _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)
protected _route => object Route(5){ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
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(0) "" protected _controller => string(4) "spot" protected _action => string(4) "list" protected _uri => string(23) "spots/guoneiyou-0-0-1-3" protected _external => bool FALSE protected _params => array(6) ( "destpy" => string(9) "guoneiyou" "sign" => string(0) "" "priceid" => string(1) "0" "sorttype" => string(1) "0" "attrid" => string(1) "1" "p" => string(1) "3" ) protected _get => array(1) ( "s" => string(23) "spots/guoneiyou-0-0-1-3" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
protected _route_params => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) }413 { 414 throw new View_Exception('You must set the file or innertext to use within your view before rendering'); 415 } 416 417 // Combine local and global data and capture the output 418 return Stourweb_View::capture($this->_file, $this->_data); 419 } 420 421 422 /** 423 *@模板编译
-
APPPATH/classes/stourweb/controller.php [ 65 ] » Stourweb_View->render()
60 $view->set($key, $value); 61 $view->set_global($key, $value); 62 } 63 64 65 $this->response->body($view->render()); 66 67 68 } 69 70 /*
-
APPPATH/classes/controller/spot.php [ 119 ] » Stourweb_Controller->display(arguments)
0
string(9) "spot/list"
114 $this->assign('param', $route_array); 115 $this->assign('currentpage', $p); 116 $this->assign('pageinfo', $pager); 117 $templet = Product::get_use_templet('spot_list'); 118 $templet = $templet ? $templet : 'spot/list'; 119 $this->display($templet); 120 121 //缓存内容 122 $content = $this->response->body(); 123 Common::cache('set', $this->_cache_key, $content); 124
-
{PHP internal call} » Controller_Spot->action_list()
-
SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Spot(7)
{ private typeid => integer 5 private _cache_key => string(48) "http://yun1.easy-tour.cn/spots/guoneiyou-0-0-1-3" public _data => array(14) ( "cmsurl" => string(1) "/" "webname" => string(18) "易欢游旅行网" "typeid" => integer 5 "channelname" => string(6) "直播" "destid" => string(2) "36" "destinfo" => array(11) ( "seotitle" => string(85) "广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息" "description" => string(122) "<meta name="description" content="广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息"/>" "typename" => string(6) "广东" "dest_jieshao" => string(0) "" "dest_name" => string(6) "广东" "kindid" => string(2) "36" "dest_id" => string(2) "36" "dest_pinyin" => string(9) "guoneiyou" "tagword" => string(0) "" "keyword" => string(0) "" "pinyin" => string(9) "guoneiyou" ) "predest" => array(1) ( 0 => array(26) ( "id" => string(2) "36" "kindname" => string(6) "广东" "pid" => string(1) "0" "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" "tagword" => string(0) "" "jieshao" => string(25) "<p>广东旅游介绍</p>" "kindtype" => NULL "isopen" => string(1) "1" "isfinishseo" => string(1) "0" "displayorder" => string(1) "1" "isnav" => string(1) "1" "templetpath" => string(0) "" "ishot" => string(1) "1" "litpic" => string(0) "" "piclist" => string(0) "" "istopnav" => string(1) "1" "pinyin" => string(9) "guoneiyou" "templet" => NULL "iswebsite" => string(1) "0" "weburl" => NULL "webroot" => NULL "webprefix" => NULL "opentypeids" => string(12) "2,4,5,6,13,1" "is_shortrents" => string(1) "0" ) ) "list" => array(0) "chooseitem" => array(2) ( 0 => array(2) ( "url" => string(42) "http://yun1.easy-tour.cn/spots/all-0-0-1-1" "itemname" => string(6) "广东" ) 1 => array(2) ( "itemname" => NULL "url" => string(48) "http://yun1.easy-tour.cn/spots/guoneiyou-0-0-0-1" ) ) "searchtitle" => string(7) "广东_" "param" => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) "currentpage" => integer 3 "pageinfo" => object Pagination(15)
{ protected config => array(6) ( "current_page" => array(2) ( "source" => string(5) "route" "key" => string(1) "p" ) "view" => string(25) "default/pagination/search" "total_items" => string(2) "20" "items_per_page" => integer 10 "first_page_in_url" => bool FALSE "auto_hide" => bool TRUE ) protected current_page => integer 2 protected total_items => integer 20 protected items_per_page => integer 10 protected total_pages => integer 2 protected current_first_item => integer 11 protected current_last_item => integer 20 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 10 protected _request => object Request(20)
"templetdata" => array(13) ( "cmsurl" => string(1) "/" "webname" => string(18) "易欢游旅行网" "typeid" => integer 5 "channelname" => string(6) "直播" "destid" => string(2) "36" "destinfo" => array(11) ( "seotitle" => string(85) "广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息" "description" => string(122) "<meta name="description" content="广东景点介绍与推荐_人文历史、景观建筑、风景图片等详细信息"/>" "typename" => string(6) "广东" "dest_jieshao" => string(0) "" "dest_name" => string(6) "广东" "kindid" => string(2) "36" "dest_id" => string(2) "36" "dest_pinyin" => string(9) "guoneiyou" "tagword" => string(0) "" "keyword" => string(0) "" "pinyin" => string(9) "guoneiyou" ) "predest" => array(1) ( 0 => array(26) ( "id" => string(2) "36" "kindname" => string(6) "广东" "pid" => string(1) "0" "seotitle" => string(0) "" "keyword" => string(0) "" "description" => string(0) "" "tagword" => string(0) "" "jieshao" => string(25) "<p>广东旅游介绍</p>" "kindtype" => NULL "isopen" => string(1) "1" "isfinishseo" => string(1) "0" "displayorder" => string(1) "1" "isnav" => string(1) "1" "templetpath" => string(0) "" "ishot" => string(1) "1" "litpic" => string(0) "" "piclist" => string(0) "" "istopnav" => string(1) "1" "pinyin" => string(9) "guoneiyou" "templet" => NULL "iswebsite" => string(1) "0" "weburl" => NULL "webroot" => NULL "webprefix" => NULL "opentypeids" => string(12) "2,4,5,6,13,1" "is_shortrents" => string(1) "0" ) ) "list" => array(0) "chooseitem" => array(2) ( 0 => array(2) ( "url" => string(42) "http://yun1.easy-tour.cn/spots/all-0-0-1-1" "itemname" => string(6) "广东" ) 1 => array(2) ( "itemname" => NULL "url" => string(48) "http://yun1.easy-tour.cn/spots/guoneiyou-0-0-0-1" ) ) "searchtitle" => string(7) "广东_" "param" => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) "currentpage" => integer 3 "pageinfo" => object Pagination(15){ 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 _route => object Route(5){ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
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(0) "" protected _controller => string(4) "spot" protected _action => string(4) "list" protected _uri => string(23) "spots/guoneiyou-0-0-1-3" protected _external => bool FALSE protected _params => array(6) ( "destpy" => string(9) "guoneiyou" "sign" => string(0) "" "priceid" => string(1) "0" "sorttype" => string(1) "0" "attrid" => string(1) "1" "p" => string(1) "3" ) protected _get => array(1) ( "s" => string(23) "spots/guoneiyou-0-0-1-3" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
protected _route_params => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) }{ protected config => array(6) ( "current_page" => array(2) ( "source" => string(5) "route" "key" => string(1) "p" ) "view" => string(25) "default/pagination/search" "total_items" => string(2) "20" "items_per_page" => integer 10 "first_page_in_url" => bool FALSE "auto_hide" => bool TRUE ) protected current_page => integer 2 protected total_items => integer 20 protected items_per_page => integer 10 protected total_pages => integer 2 protected current_first_item => integer 11 protected current_last_item => integer 20 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 10 protected _request => object Request(20)
) ) 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)
protected _route => object Route(5){ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
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(0) "" protected _controller => string(4) "spot" protected _action => string(4) "list" protected _uri => string(23) "spots/guoneiyou-0-0-1-3" protected _external => bool FALSE protected _params => array(6) ( "destpy" => string(9) "guoneiyou" "sign" => string(0) "" "priceid" => string(1) "0" "sorttype" => string(1) "0" "attrid" => string(1) "1" "p" => string(1) "3" ) protected _get => array(1) ( "s" => string(23) "spots/guoneiyou-0-0-1-3" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _callback => NULL protected _uri => string(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
protected _route_params => array(6) ( "controller" => string(4) "spot" "action" => string(4) "list" "destpy" => string(9) "guoneiyou" "priceid" => integer 0 "sorttype" => integer 0 "attrid" => string(1) "1" ) }{ 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(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
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(0) "" protected _controller => string(4) "spot" protected _action => string(4) "list" protected _uri => string(23) "spots/guoneiyou-0-0-1-3" protected _external => bool FALSE protected _params => array(6) ( "destpy" => string(9) "guoneiyou" "sign" => string(0) "" "priceid" => string(1) "0" "sorttype" => string(1) "0" "attrid" => string(1) "1" "p" => string(1) "3" ) protected _get => array(1) ( "s" => string(23) "spots/guoneiyou-0-0-1-3" ) 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(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
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(0) "" protected _controller => string(4) "spot" protected _action => string(4) "list" protected _uri => string(23) "spots/guoneiyou-0-0-1-3" protected _external => bool FALSE protected _params => array(6) ( "destpy" => string(9) "guoneiyou" "sign" => string(0) "" "priceid" => string(1) "0" "sorttype" => string(1) "0" "attrid" => string(1) "1" "p" => string(1) "3" ) protected _get => array(1) ( "s" => string(23) "spots/guoneiyou-0-0-1-3" ) 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(66) "spots/(<destpy>)(<sign>)(-<priceid>)(-<sorttype>)(-<attrid>)(-<p>)" protected _regex => array(6) ( "destpy" => string(12) "[0-9a-zA-Z]+" "sign" => string(3) "\/?" "priceid" => string(6) "[0-9]+" "sorttype" => string(6) "[0-9]+" "attrid" => string(7) "[0-9_]+" "p" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(4) "spot" "action" => string(4) "list" ) protected _route_regex => string(154) "#^spots/(?:(?P<destpy>[0-9a-zA-Z]+))?(?:(?P<sign>\/?))?(?:-(?P<priceid>[0-9]+))?(?:-(?P<sorttype>[0-9]+))?(?:-(?P<attrid>[0-9_]+ …" }
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(0) "" protected _controller => string(4) "spot" protected _action => string(4) "list" protected _uri => string(23) "spots/guoneiyou-0-0-1-3" protected _external => bool FALSE protected _params => array(6) ( "destpy" => string(9) "guoneiyou" "sign" => string(0) "" "priceid" => string(1) "0" "sorttype" => string(1) "0" "attrid" => string(1) "1" "p" => string(1) "3" ) protected _get => array(1) ( "s" => string(23) "spots/guoneiyou-0-0-1-3" ) 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 [ 145 ] » Kohana_Request->execute()
140 /** 141 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 142 * If no source is specified, the URI will be automatically detected. 143 */ 144 echo Request::factory() 145 ->execute() 146 ->send_headers(TRUE) 147 ->body(); 148 149 }