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(14) "Хургада"
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) "218"
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) "218"
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(5) "hotel" public id => string(3) "218" 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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(5) "hotel" "id" => string(4) "3692" ) 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.hotel/classes/Extension/Page/Init/Hotel.php [ 174 ] » Kohana_Request->execute()
169 'action' => 'main', 170 'mode' => 'hotel', 171 'id' => $this->hotel_id 172 )); 173 174 $this->page->content->widget_weather = Request::factory('', array(), false, array($route))->execute()->body(); 175 176 $route = new Route('', null); 177 $route->defaults(array( 178 'controller' => 'Comments', 179 'directory' => 'Pld/Main/Widget',
-
{PHP internal call} » Extension_Page_Init_Hotel->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_Hotel(6)
{ protected page => object Controller_Module_Hotel(15)
1 => string(9) "init_main" ){ public template => object View(2)
private hotel_id => string(4) "3692" private hotel_url => string(21) "elysees-hurgada-hotel" private t_hotel_instance => string(14) "hotel_instance" private error_code => NULL private error_code_values => array(1) ( "e1" => string(40) "Hotel not found in hotel_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(90) "/var/www/html/domx/dom.dreamext.com/modules/pld.router.hotel/views/pld/hotel/page/main.php" protected _data => array(4) ( "widget_head" => string(2232) "<!-- head on booking pages --> <section class="booking-header"> <div class="mainContainer"> <div class="description …" "widget_tab" => string(838) "<nav class="booking-menu"> <div class="mainContainer"> <ul class="booking-ul"> <li class="active"> …" "widget_gallery" => string(30180) "<section class="booking-carousel"> <div class="owl-carousel magnificPopupTopGallery" id="owl-carousel-top"> …" "widget_search" => string(263435) "<div class="goods-section"> <div class="mainContainer"> <div class="row"> <div class="co …" ) }
public hotel_id => NULL private t_hotel_instance => string(14) "hotel_instance" private error_code => NULL private error_code_values => array(1) ( "e1" => string(40) "Hotel not found in hotel_instance by URL" ) 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(14) "Hotel/category" "description" => NULL "keywords" => NULL "assets" => object Assets(3)
protected title => string(14) "Hotel/category" protected keywords => NULL protected description => NULL 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(14) "Hotel/category" "description" => NULL "keywords" => NULL "assets" => object Assets(3)
protected title => string(14) "Hotel/category" protected keywords => NULL protected description => NULL 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(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#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(5) "Hotel" protected _action => string(8) "category" protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(2) ( "category" => string(21) "elysees-hurgada-hotel" "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.hotel/classes/Controller/Module/Hotel.php [ 79 ] » Extension_Page_Init::factory(arguments)
0
string(5) "Hotel"
1
object Controller_Module_Hotel(15)
{ 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(90) "/var/www/html/domx/dom.dreamext.com/modules/pld.router.hotel/views/pld/hotel/page/main.php" protected _data => array(4) ( "widget_head" => string(2232) "<!-- head on booking pages --> <section class="booking-header"> <div class="mainContainer"> <div class="description …" "widget_tab" => string(838) "<nav class="booking-menu"> <div class="mainContainer"> <ul class="booking-ul"> <li class="active"> …" "widget_gallery" => string(30180) "<section class="booking-carousel"> <div class="owl-carousel magnificPopupTopGallery" id="owl-carousel-top"> …" "widget_search" => string(263435) "<div class="goods-section"> <div class="mainContainer"> <div class="row"> <div class="co …" ) }
public hotel_id => NULL private t_hotel_instance => string(14) "hotel_instance" private error_code => NULL private error_code_values => array(1) ( "e1" => string(40) "Hotel not found in hotel_instance by URL" ) 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(14) "Hotel/category" "description" => NULL "keywords" => NULL "assets" => object Assets(3)
protected title => string(14) "Hotel/category" protected keywords => NULL protected description => NULL 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(14) "Hotel/category" "description" => NULL "keywords" => NULL "assets" => object Assets(3)
protected title => string(14) "Hotel/category" protected keywords => NULL protected description => NULL 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(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#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(5) "Hotel" protected _action => string(8) "category" protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(2) ( "category" => string(21) "elysees-hurgada-hotel" "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" )
74 if ($action == 'photos') 75 $init_array = array('photos', 'header', 'footer'); 76 77 if ($action == 'comments') 78 $init_array = array('comments', 'header', 'footer'); 79 Extension_Page_Init::factory('Hotel', $this, $init_array); 80 81 } else if ($check_published_country) { 82 83 $init_array = array('main', 'header', 'footer'); 84 Extension_Page_Init::factory('Country', $this, $init_array);
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Module_Hotel->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_Hotel(15)
{ 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(90) "/var/www/html/domx/dom.dreamext.com/modules/pld.router.hotel/views/pld/hotel/page/main.php" protected _data => array(4) ( "widget_head" => string(2232) "<!-- head on booking pages --> <section class="booking-header"> <div class="mainContainer"> <div class="description …" "widget_tab" => string(838) "<nav class="booking-menu"> <div class="mainContainer"> <ul class="booking-ul"> <li class="active"> …" "widget_gallery" => string(30180) "<section class="booking-carousel"> <div class="owl-carousel magnificPopupTopGallery" id="owl-carousel-top"> …" "widget_search" => string(263435) "<div class="goods-section"> <div class="mainContainer"> <div class="row"> <div class="co …" ) }
public hotel_id => NULL private t_hotel_instance => string(14) "hotel_instance" private error_code => NULL private error_code_values => array(1) ( "e1" => string(40) "Hotel not found in hotel_instance by URL" ) 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(14) "Hotel/category" "description" => NULL "keywords" => NULL "assets" => object Assets(3)
protected title => string(14) "Hotel/category" protected keywords => NULL protected description => NULL 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(14) "Hotel/category" "description" => NULL "keywords" => NULL "assets" => object Assets(3)
protected title => string(14) "Hotel/category" protected keywords => NULL protected description => NULL 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(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#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(5) "Hotel" protected _action => string(8) "category" protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(2) ( "category" => string(21) "elysees-hurgada-hotel" "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(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#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(5) "Hotel" protected _action => string(8) "category" protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(2) ( "category" => string(21) "elysees-hurgada-hotel" "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(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#uD" }
protected _routes => array(1) ( 0 => object Route(5){ protected _filters => array(0) protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#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(5) "Hotel" protected _action => string(8) "category" protected _uri => string(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(2) ( "category" => string(21) "elysees-hurgada-hotel" "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(30) "ru/hotel/elysees-hurgada-hotel" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Module" "controller" => string(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" "lang" => string(2) "ru" "action" => string(8) "category" ) protected _route_regex => string(36) "#^ru/hotel/elysees-hurgada-hotel$#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(5) "Hotel" "category" => string(21) "elysees-hurgada-hotel" ) protected page => NULL protected extra => string(30) "ru/hotel/elysees-hurgada-hotel" 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(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "module" => string(5) "hotel" "category" => string(21) "elysees-hurgada-hotel" ) 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(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "module" => string(5) "hotel" "category" => string(21) "elysees-hurgada-hotel" ) 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(30) "ru/hotel/elysees-hurgada-hotel" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "module" => string(5) "hotel" "category" => string(21) "elysees-hurgada-hotel" ) 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 }