MODPATH/pld.main/classes/Model/Pld/Main/Weather/GetApiData.php [ 57 ]
52
53
54 private static function format_api_data($api_data)
55 {
56
57 if (!$api_data->query->results)
58 return false;
59
60
61 $forecast = $api_data->query->results->channel->item->forecast;
62 $res = [];
-
MODPATH/pld.main/classes/Model/Pld/Main/Weather/GetApiData.php [ 57 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(36) "Trying to get property of non-object"
2
string(98) "/var/www/html/domx/dom.dreamext.com/modules/pld.main/classes/Model/Pld/Main/Weather/GetApiData.php"
3
integer 57
4
array(1) ( "api_data" => NULL )
52 53 54 private static function format_api_data($api_data) 55 { 56 57 if (!$api_data->query->results) 58 return false; 59 60 61 $forecast = $api_data->query->results->channel->item->forecast; 62 $res = [];
-
MODPATH/pld.main/classes/Model/Pld/Main/Weather/GetApiData.php [ 49 ] » Model_Pld_Main_Weather_GetApiData::format_api_data(arguments)
0
NULL
44 // Make call with cURL 45 $session = curl_init($yql_query_url); 46 curl_setopt($session, CURLOPT_RETURNTRANSFER, true); 47 $json = curl_exec($session); 48 // Convert JSON to PHP object 49 return self::format_api_data(json_decode($json)); 50 51 } 52 53 54 private static function format_api_data($api_data)
-
MODPATH/pld.main/classes/Model/Pld/Main/Weather/GetApiData.php [ 34 ] » Model_Pld_Main_Weather_GetApiData::get_weather_api(arguments)
0
string(27) "Круиз + Хургада"
29 $city_name = self::get_city_name_by_city_id($city_id); 30 31 if (!$city_name) 32 return false; 33 34 return self::get_weather_api($city_name); 35 36 } 37 38 private static function get_weather_api($value) 39 {
-
MODPATH/pld.main/classes/Model/Pld/Main/Weather/GetApiData.php [ 7 ] » Model_Pld_Main_Weather_GetApiData::get_weather_by_city_id(arguments)
0
string(3) "939"
2 3 class Model_Pld_Main_Weather_GetApiData{ 4 5 static function index($id){ 6 7 $weather = self::get_weather_by_city_id($id); 8 9 if ($weather){ 10 11 return [ 12 'status' => 'success',
-
MODPATH/pld.main/classes/Controller/Pld/Main/Widget/Weather.php [ 69 ] » Model_Pld_Main_Weather_GetApiData::index(arguments)
0
string(3) "939"
64 65 $weather = json_decode($select_info['res_api'],true); 66 67 } else { 68 69 $api_data = Model_Pld_Main_Weather_GetApiData::index($this->id); 70 71 if ($api_data['status'] == 'empty') 72 return; 73 74 $weather = $api_data['data'];
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Pld_Main_Widget_Weather->action_main()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Pld_Main_Widget_Weather(10)
{ public mode => string(4) "city" public id => string(3) "939" public locale_id => integer 1 public locale_url => string(2) "ru" public city_id => string(2) "30" public city_orig_ids => array(1) ( 0 => string(2) "30" ) public currency_id => string(1) "1" public currency_name => string(3) "USD" public request => object Request(19)
{ 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(6){ protected _filters => array(0) protected _uri => string(0) "" protected _regex => array(0) protected _defaults => array(5) ( "controller" => string(7) "Weather" "directory" => string(15) "Pld/Main/Widget" "action" => string(4) "main" "mode" => string(4) "city" "id" => string(3) "939" ) protected _route_regex => string(6) "#^$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(0) "" protected _regex => array(0) protected _defaults => array(5) ( "controller" => string(7) "Weather" "directory" => string(15) "Pld/Main/Widget" "action" => string(4) "main" "mode" => string(4) "city" "id" => string(3) "939" ) protected _route_regex => string(6) "#^$#uD" }
) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(15) "Pld/Main/Widget" protected _controller => string(7) "Weather" protected _action => string(4) "main" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(2) ( "mode" => string(4) "city" "id" => string(3) "939" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ private _force_download => 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" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ 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 _filters => array(0) protected _uri => string(0) "" protected _regex => array(0) protected _defaults => array(5) ( "controller" => string(7) "Weather" "directory" => string(15) "Pld/Main/Widget" "action" => string(4) "main" "mode" => string(4) "city" "id" => string(3) "939" ) protected _route_regex => string(6) "#^$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(0) "" protected _regex => array(0) protected _defaults => array(5) ( "controller" => string(7) "Weather" "directory" => string(15) "Pld/Main/Widget" "action" => string(4) "main" "mode" => string(4) "city" "id" => string(3) "939" ) protected _route_regex => string(6) "#^$#uD" }
) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(15) "Pld/Main/Widget" protected _controller => string(7) "Weather" protected _action => string(4) "main" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(2) ( "mode" => string(4) "city" "id" => string(3) "939" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(6)
{ private _force_download => 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" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ 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 _filters => array(0) protected _uri => string(0) "" protected _regex => array(0) protected _defaults => array(5) ( "controller" => string(7) "Weather" "directory" => string(15) "Pld/Main/Widget" "action" => string(4) "main" "mode" => string(4) "city" "id" => string(3) "939" ) protected _route_regex => string(6) "#^$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(0) "" protected _regex => array(0) protected _defaults => array(5) ( "controller" => string(7) "Weather" "directory" => string(15) "Pld/Main/Widget" "action" => string(4) "main" "mode" => string(4) "city" "id" => string(3) "939" ) protected _route_regex => string(6) "#^$#uD" }
) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(15) "Pld/Main/Widget" protected _controller => string(7) "Weather" protected _action => string(4) "main" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(2) ( "mode" => string(4) "city" "id" => string(3) "939" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
MODPATH/pld.router.city/classes/Extension/Page/Init/City.php [ 143 ] » Kohana_Request->execute()
138 'action' => 'main', 139 'mode' => 'city', 140 'id' => $this->city_id 141 )); 142 143 $this->page->content->widget_weather = Request::factory('', array(), false, array($route))->execute()->body(); 144 145 146 $route = new Route('', null); 147 $route->defaults(array( 148 'controller' => 'Childs',
-
{PHP internal call} » Extension_Page_Init_City->init_main()
-
MODPATH/lnk.router-extension.page/classes/Extension/Page/Init.php [ 30 ] » call_user_func(arguments)
function_name
array(2) ( 0 => object Extension_Page_Init_City(4)
{ protected page => object Controller_Module_City(11)
1 => string(9) "init_main" ){ public template => object View(2)
private city_id => string(3) "939" private error_code => NULL private error_code_values => array(1) ( "e1" => string(38) "City not found in city_instance by URL" ) }{ protected _file => string(84) "/var/www/html/domx/dom.dreamext.com/modules/pld.main/views/pld/main/typical-page.php" protected _data => array(0) }
public content => object View(2){ protected _file => string(88) "/var/www/html/domx/dom.dreamext.com/modules/pld.router.city/views/pld/city/page/main.php" protected _data => array(6) ( "widget_slider" => string(2436) "<div class="mainCarousel"> <div id="mainCarousel" class="carousel slide carousel-mode-tours" data-ride="carousel" data-inter …" "widget_search" => string(295210) "<div class="mainFilterHolder"> <div class="mainContainer" id="search_section"> <div class="mainFilter clearfix"> …" "widget_about" => string(44) " <!-- TODO "Про країну" - view --> " "widget_attractions" => string(0) "" "widget_tophotel" => string(2) " " "widget_list" => string(6531) "<div class="greyContainer"> <div class="mainContainer"> <h2 style="margin-bottom: 30px">ПОПУЛЯРНЫЕ ТУРЫ НА КУРОРТ Круиз …" ) }
public html => object Extension_Page(4){ public layout => object View(2)
public locale_id => integer 1 public locale_url => string(2) "ru" public city_id => string(2) "30" public city_orig_ids => array(1) ( 0 => string(2) "30" ) public currency_id => string(1) "1" public currency_name => string(3) "USD" public request => object Request(19){ protected _file => string(99) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout.php" protected _data => array(3) ( "lang" => NULL "head" => object Extension_Page_Head(6)
public lang => NULL public head => object Extension_Page_Head(6){ public layout => object View(2)
"body" => object Extension_Page_Body(5){ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/head.php" protected _data => array(5) ( "title" => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" "description" => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" "keywords" => NULL "assets" => object Assets(3)
protected title => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" protected keywords => NULL protected description => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" public meta => object Extension_Page_Head_Meta(1){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
"meta" => object Extension_Page_Head_Meta(1){ protected meta => array(0) }
) }{ protected meta => array(0) }
public assets => object Assets(3){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
}{ public layout => object View(2)
) }{ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/body.php" protected _data => array(4) ( "bodyAttrs" => string(0) "" "assets" => object Assets(3)
public bodyAttrString => string(0) "" public content => NULL public assets => object Assets(3){ protected data => array(2) ( ... ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
"content" => NULL "doc_end" => array(0) ) }{ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
public doc_end => array(0) }{ public layout => object View(2)
public body => object Extension_Page_Body(5){ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/head.php" protected _data => array(5) ( "title" => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" "description" => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" "keywords" => NULL "assets" => object Assets(3)
protected title => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" protected keywords => NULL protected description => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" public meta => object Extension_Page_Head_Meta(1){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
"meta" => object Extension_Page_Head_Meta(1){ protected meta => array(0) }
) }{ protected meta => array(0) }
public assets => object Assets(3){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
}{ public layout => object View(2)
}{ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/body.php" protected _data => array(4) ( "bodyAttrs" => string(0) "" "assets" => object Assets(3)
public bodyAttrString => string(0) "" public content => NULL public assets => object Assets(3){ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
"content" => NULL "doc_end" => array(0) ) }{ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
public doc_end => array(0) }{ 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(6){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(6) "Module" protected _controller => string(4) "City" protected _action => string(8) "category" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(2) ( "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ private _force_download => 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" }25 26 if(empty($args)){ 27 28 call_user_func( 29 array($object, 'init_' . $func ) 30 ); 31 32 }else{ 33 34 call_user_func_array( 35 array($object, 'init_' . $func ),
-
MODPATH/pld.router.city/classes/Controller/Module/City.php [ 44 ] » Extension_Page_Init::factory(arguments)
0
string(4) "City"
1
object Controller_Module_City(11)
{ public template => object View(2)
{ protected _file => string(84) "/var/www/html/domx/dom.dreamext.com/modules/pld.main/views/pld/main/typical-page.php" protected _data => array(0) }
public content => object View(2){ protected _file => string(88) "/var/www/html/domx/dom.dreamext.com/modules/pld.router.city/views/pld/city/page/main.php" protected _data => array(6) ( "widget_slider" => string(2436) "<div class="mainCarousel"> <div id="mainCarousel" class="carousel slide carousel-mode-tours" data-ride="carousel" data-inter …" "widget_search" => string(295210) "<div class="mainFilterHolder"> <div class="mainContainer" id="search_section"> <div class="mainFilter clearfix"> …" "widget_about" => string(44) " <!-- TODO "Про країну" - view --> " "widget_attractions" => string(0) "" "widget_tophotel" => string(2) " " "widget_list" => string(6531) "<div class="greyContainer"> <div class="mainContainer"> <h2 style="margin-bottom: 30px">ПОПУЛЯРНЫЕ ТУРЫ НА КУРОРТ Круиз …" ) }
public html => object Extension_Page(4){ public layout => object View(2)
public locale_id => integer 1 public locale_url => string(2) "ru" public city_id => string(2) "30" public city_orig_ids => array(1) ( 0 => string(2) "30" ) public currency_id => string(1) "1" public currency_name => string(3) "USD" public request => object Request(19){ protected _file => string(99) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout.php" protected _data => array(3) ( "lang" => NULL "head" => object Extension_Page_Head(6)
public lang => NULL public head => object Extension_Page_Head(6){ public layout => object View(2)
"body" => object Extension_Page_Body(5){ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/head.php" protected _data => array(5) ( "title" => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" "description" => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" "keywords" => NULL "assets" => object Assets(3)
protected title => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" protected keywords => NULL protected description => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" public meta => object Extension_Page_Head_Meta(1){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
"meta" => object Extension_Page_Head_Meta(1){ protected meta => array(0) }
) }{ protected meta => array(0) }
public assets => object Assets(3){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
}{ public layout => object View(2)
) }{ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/body.php" protected _data => array(4) ( "bodyAttrs" => string(0) "" "assets" => object Assets(3)
public bodyAttrString => string(0) "" public content => NULL public assets => object Assets(3){ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
"content" => NULL "doc_end" => array(0) ) }{ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
public doc_end => array(0) }{ public layout => object View(2)
public body => object Extension_Page_Body(5){ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/head.php" protected _data => array(5) ( "title" => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" "description" => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" "keywords" => NULL "assets" => object Assets(3)
protected title => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" protected keywords => NULL protected description => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" public meta => object Extension_Page_Head_Meta(1){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
"meta" => object Extension_Page_Head_Meta(1){ protected meta => array(0) }
) }{ protected meta => array(0) }
public assets => object Assets(3){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
}{ public layout => object View(2)
}{ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/body.php" protected _data => array(4) ( "bodyAttrs" => string(0) "" "assets" => object Assets(3)
public bodyAttrString => string(0) "" public content => NULL public assets => object Assets(3){ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
"content" => NULL "doc_end" => array(0) ) }{ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
public doc_end => array(0) }{ 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(6){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(6) "Module" protected _controller => string(4) "City" protected _action => string(8) "category" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(2) ( "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ private _force_download => 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" }2
array(3) ( 0 => string(4) "main" 1 => string(6) "header" 2 => string(6) "footer" )
39 40 } else { 41 $init_array = array('not_found','header','footer'); 42 } 43 44 Extension_Page_Init::factory( 'City', $this ,$init_array); 45 } 46 47 public function action_page(){ 48 49
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Module_City->action_category()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Module_City(11)
{ public template => object View(2)
{ protected _file => string(84) "/var/www/html/domx/dom.dreamext.com/modules/pld.main/views/pld/main/typical-page.php" protected _data => array(0) }
public content => object View(2){ protected _file => string(88) "/var/www/html/domx/dom.dreamext.com/modules/pld.router.city/views/pld/city/page/main.php" protected _data => array(6) ( "widget_slider" => string(2436) "<div class="mainCarousel"> <div id="mainCarousel" class="carousel slide carousel-mode-tours" data-ride="carousel" data-inter …" "widget_search" => string(295210) "<div class="mainFilterHolder"> <div class="mainContainer" id="search_section"> <div class="mainFilter clearfix"> …" "widget_about" => string(44) " <!-- TODO "Про країну" - view --> " "widget_attractions" => string(0) "" "widget_tophotel" => string(2) " " "widget_list" => string(6531) "<div class="greyContainer"> <div class="mainContainer"> <h2 style="margin-bottom: 30px">ПОПУЛЯРНЫЕ ТУРЫ НА КУРОРТ Круиз …" ) }
public html => object Extension_Page(4){ public layout => object View(2)
public locale_id => integer 1 public locale_url => string(2) "ru" public city_id => string(2) "30" public city_orig_ids => array(1) ( 0 => string(2) "30" ) public currency_id => string(1) "1" public currency_name => string(3) "USD" public request => object Request(19){ protected _file => string(99) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout.php" protected _data => array(3) ( "lang" => NULL "head" => object Extension_Page_Head(6)
public lang => NULL public head => object Extension_Page_Head(6){ public layout => object View(2)
"body" => object Extension_Page_Body(5){ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/head.php" protected _data => array(5) ( "title" => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" "description" => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" "keywords" => NULL "assets" => object Assets(3)
protected title => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" protected keywords => NULL protected description => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" public meta => object Extension_Page_Head_Meta(1){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
"meta" => object Extension_Page_Head_Meta(1){ protected meta => array(0) }
) }{ protected meta => array(0) }
public assets => object Assets(3){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
}{ public layout => object View(2)
) }{ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/body.php" protected _data => array(4) ( "bodyAttrs" => string(0) "" "assets" => object Assets(3)
public bodyAttrString => string(0) "" public content => NULL public assets => object Assets(3){ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
"content" => NULL "doc_end" => array(0) ) }{ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
public doc_end => array(0) }{ public layout => object View(2)
public body => object Extension_Page_Body(5){ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/head.php" protected _data => array(5) ( "title" => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" "description" => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" "keywords" => NULL "assets" => object Assets(3)
protected title => string(113) "Туры в Круиз + Хургаду, Египет с Гарантией Лучшей цены от MAKiNTOUR" protected keywords => NULL protected description => string(195) "Поиск туров вКруиз + Хургаду - Горящие туры, раннее бронирование, туры на любую дату по самым выгодным ценам" public meta => object Extension_Page_Head_Meta(1){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
"meta" => object Extension_Page_Head_Meta(1){ protected meta => array(0) }
) }{ protected meta => array(0) }
public assets => object Assets(3){ protected data => array(0) protected data_ie_comment => array(0) protected i18n => bool FALSE }
}{ public layout => object View(2)
}{ protected _file => string(104) "/var/www/html/domx/dom.dreamext.com/modules/lnk.router-extension.page/views/lnk/ext/page/layout/body.php" protected _data => array(4) ( "bodyAttrs" => string(0) "" "assets" => object Assets(3)
public bodyAttrString => string(0) "" public content => NULL public assets => object Assets(3){ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
"content" => NULL "doc_end" => array(0) ) }{ protected data => array(2) ( "js" => array(2) ( 0 => string(23) "/ru/assets/js/konjax.js" 1 => string(20) "/ru/assets/js/app.js" ) "css" => array(1) ( 0 => string(25) "/ru/assets/css/konjax.css" ) ) protected data_ie_comment => array(0) protected i18n => string(2) "ru" }
public doc_end => array(0) }{ 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(6){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(6) "Module" protected _controller => string(4) "City" protected _action => string(8) "category" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(2) ( "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ private _force_download => 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" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ 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 _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(6) "Module" protected _controller => string(4) "City" protected _action => string(8) "category" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(2) ( "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(6)
{ private _force_download => 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" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ 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 _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(6) "Module" protected _controller => string(4) "City" protected _action => string(8) "category" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(2) ( "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
MODPATH/lnk.router[subdomain,module,locale,category,page,extra]/classes/Controller/Module.php [ 203 ] » Kohana_Request->execute()
198 return Request::factory($this->request->url(),array(), false, $routes) 199 ->query( $this->request->query() ) 200 ->post( $this->request->post() ) 201 ->headers( $this->request->headers() ) 202 203 ->execute(); 204 205 } 206 207 208
-
MODPATH/lnk.router[subdomain,module,locale,category,page,extra]/classes/Controller/Module.php [ 160 ] » Controller_Module->_request_execute(arguments)
0
array(1) ( 0 => object Route(5)
{ protected _filters => array(0) protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(28) "#^ru/city/kryiz__hyrgada$#uD" }
)155 'lang' => $this->request->param('lang'), 156 'action' => 'category', 157 158 ))); 159 160 return $this->_request_execute(array($route)); 161 162 163 } 164 165 protected function _call_extra(){
-
MODPATH/lnk.router[subdomain,module,locale,category,page,extra]/classes/Controller/Module.php [ 111 ] » Controller_Module->_call_category()
106 107 } 108 109 }else{ #4 у 99% випадках 110 111 $this->response = $this->_call_category(); 112 113 if( 404 == $this->response->status() ){ #6 у 1%, але перевірити треба 114 115 $extra = $this->_call_extra(); 116
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Module->action_index()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Module(5)
{ protected defaults => array(3) ( "directory" => string(6) "Module" "controller" => string(4) "City" "category" => string(14) "kryiz__hyrgada" ) protected page => NULL protected extra => string(22) "ru/city/kryiz__hyrgada" public request => object Request(19)
{ 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(6){ protected _filters => array(0) protected _uri => string(51) "(<lang>(/<module>(/<category>(/<page>)))(/<extra>))" protected _regex => array(3) ( "module" => string(118) "home|faq|page|admin|assets|hotel|country|city|ajax|ajaxdt|tours|tour|countries|pages|about|test|menu|news|ajaxlnd|user" "lang" => string(8) "ru|ua|en" "extra" => string(2) ".*" ) protected _defaults => array(5) ( "controller" => string(6) "Module" "action" => string(5) "index" "module" => string(4) "home" "lang" => string(2) "ru" "category" => string(0) "" ) protected _route_regex => string(244) "#^(?:(?P<lang>ru|ua|en)(?:/(?P<module>home|faq|page|admin|assets|hotel|country|city|ajax|ajaxdt|tours|tour|countries|pages|about …" }
protected _routes => array(0) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Module" protected _action => string(5) "index" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "module" => string(4) "city" "category" => string(14) "kryiz__hyrgada" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ private _force_download => 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" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ 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 _filters => array(0) protected _uri => string(51) "(<lang>(/<module>(/<category>(/<page>)))(/<extra>))" protected _regex => array(3) ( "module" => string(118) "home|faq|page|admin|assets|hotel|country|city|ajax|ajaxdt|tours|tour|countries|pages|about|test|menu|news|ajaxlnd|user" "lang" => string(8) "ru|ua|en" "extra" => string(2) ".*" ) protected _defaults => array(5) ( "controller" => string(6) "Module" "action" => string(5) "index" "module" => string(4) "home" "lang" => string(2) "ru" "category" => string(0) "" ) protected _route_regex => string(244) "#^(?:(?P<lang>ru|ua|en)(?:/(?P<module>home|faq|page|admin|assets|hotel|country|city|ajax|ajaxdt|tours|tour|countries|pages|about …" }
protected _routes => array(0) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Module" protected _action => string(5) "index" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "module" => string(4) "city" "category" => string(14) "kryiz__hyrgada" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(6)
{ private _force_download => 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" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ 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 _filters => array(0) protected _uri => string(51) "(<lang>(/<module>(/<category>(/<page>)))(/<extra>))" protected _regex => array(3) ( "module" => string(118) "home|faq|page|admin|assets|hotel|country|city|ajax|ajaxdt|tours|tour|countries|pages|about|test|menu|news|ajaxlnd|user" "lang" => string(8) "ru|ua|en" "extra" => string(2) ".*" ) protected _defaults => array(5) ( "controller" => string(6) "Module" "action" => string(5) "index" "module" => string(4) "home" "lang" => string(2) "ru" "category" => string(0) "" ) protected _route_regex => string(244) "#^(?:(?P<lang>ru|ua|en)(?:/(?P<module>home|faq|page|admin|assets|hotel|country|city|ajax|ajaxdt|tours|tour|countries|pages|about …" }
protected _routes => array(0) protected _header => object HTTP_Header(4){ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(12) "62.149.16.77" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Module" protected _action => string(5) "index" protected _uri => string(22) "ru/city/kryiz__hyrgada" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "module" => string(4) "city" "category" => string(14) "kryiz__hyrgada" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }