APPPATH/classes/Model/Gis/Query.php [ 81 ]
76 ), 'request');77 }78 79 if (empty($data))80 {81 throw new HTTP_Exception_503(curl_error($c));82 }83 84 curl_close($c);85 86 return $data;87
-
APPPATH/classes/Widget/Gis/Categories.php [ 13 ] » Model_Gis_Query->execute ( )
8 { 9 $view = new View;10 $this->config['city'] = $view->city;11 }12 13 $categories = Gis::category()->where($this->config['city']->name)->parent_id($this->config['parent_id'])->execute();14 15 if (isset($categories->result))16 {17 return View::factory($this->template, array('categories' => (array) $categories->result, 'city' => $this->config['city'], 'column' => $this->config['column']));18 }19
-
MODPATH/widget/classes/Widget.php [ 62 ] » Widget_Gis_Categories->render ( )
57 if (Kohana::$profiling)58 {59 $benchmark = Profiler::start('widget', $name);60 }61 62 $result = $widget->render();63 64 if (isset($benchmark))65 {66 Profiler::stop($benchmark);67 }68
-
APPPATH/views/page/city.php [ 13 ] » Widget::show ( arguments )
0 gis_categories 1 array(1) { ["column"] => int(2) }
8 </div> 9 10 <div class="row">11 <div class="col-sm-8">12 13 <? if ($city->project_id AND $categories = Widget::show('gis_categories', ['column' => 2])): ?>14 <div class="categories block wrap-small">15 <strong class="red">Справочник организаций:</strong>16 <?=$categories?>17 </div>18 <? endif ?>19
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )
0 /var/home/adminpublic_html/application/views/page/city.php 56 ob_start();57 58 try59 {60 // Load the view within the current scope61 include $kohana_view_filename;62 }63 catch (Exception $e)64 {65 // Delete the output buffer66 ob_end_clean();67
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )
0 /var/home/adminpublic_html/application/views/page/city.php 1 array(0) { }
343 {344 throw new View_Exception('You must set the file to use within your view before rendering');345 }346 347 // Combine local and global data and capture the output348 return View::capture($this->_file, $this->_data);349 }350 351 } // End View352
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render ( )
223 */224 public function __toString()225 {226 try227 {228 return $this->render();229 }230 catch (Exception $e)231 {232 /**233 * Display the exception message.234
-
APPPATH/views/layout.php [ 107 ] » Kohana_View->__toString ( )
102 <script>103 (adsbygoogle = window.adsbygoogle || []).push({});104 </script>105 </div>106 <? endif ?>107 <?=$content?>108 </div>109 </div>110 111 <div class="container hidden-xs">112 <footer class="clearfix">113
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )
0 /var/home/adminpublic_html/application/views/layout.php 56 ob_start();57 58 try59 {60 // Load the view within the current scope61 include $kohana_view_filename;62 }63 catch (Exception $e)64 {65 // Delete the output buffer66 ob_end_clean();67
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )
0 /var/home/adminpublic_html/application/views/layout.php 1 array(4) { ["head_include"] => string(500) "<link type="application/rss+xml" href="/moscow/reviews/rss" rel="alternate" title="Последние отзывы к организациям в Москве — ГИСВИД" /><link type="application/rss+xml" href="/moscow/classifieds/rss" rel="alternate" title="Последние объявления в Москве — ГИСВИД" /><link type="application/rss+xml" href="/moscow/vacancy/rss" rel="alternate" title="Работа, вакансии, поиск работы в Москве" />" ["title"] => string(50) "ГИСВИД — Справочник Москвы" ["description"] => string(246) "ГИСВИД Москва — Справочник организаций, поиск работы, отзывы об организациях, последние новости, бесплатные объявления, карта города." ["content"] => object(View)#78 (2) { ["_file":protected] => string(73) "/var/home/adminpublic_html/application/views/page/city.php" ["_data":protected] => array(0) { } } }
343 {344 throw new View_Exception('You must set the file to use within your view before rendering');345 }346 347 // Combine local and global data and capture the output348 return View::capture($this->_file, $this->_data);349 }350 351 } // End View352
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render ( )
39 */40 public function after()41 {42 if ($this->auto_render === TRUE)43 {44 $this->response->body($this->template->render());45 }46 47 parent::after();48 }49 50
-
APPPATH/classes/Controller/City.php [ 88 ] » Kohana_Controller_Template->after ( )
83 }84 else85 {86 try87 {88 parent::after();89 }90 catch (ErrorException $e)91 {92 throw new HTTP_Exception_500($e->getMessage());93 }94
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_City->after ( )
82 83 // Execute the action itself84 $this->{$action}();85 86 // Execute the "after action" method87 $this->after();88 89 // Return the response90 return $this->response;91 }92 93
-
{PHP internal call} » Kohana_Controller->execute ( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke ( arguments )
0 object(Controller_Gis)#59 (6) { ["template"] => object(View)#76 (2) { ["_file":protected] => string(70) "/var/home/adminpublic_html/application/views/layout.php" ["_data":protected] => array(4) { ["head_include"] => string(500) "<link type="application/rss+xml" href="/moscow/reviews/rss" rel="alternate" title="Последние отзывы к организациям в Москве — ГИСВИД" /><link type="application/rss+xml" href="/moscow/classifieds/rss" rel="alternate" title="Последние объявления в Москве — ГИСВИД" /><link type="application/rss+xml" href="/moscow/vacancy/rss" rel="alternate" title="Работа, вакансии, поиск работы в Москве" />" ["title"] => string(50) "ГИСВИД — Справочник Москвы" ["description"] => string(246) "ГИСВИД Москва — Справочник организаций, поиск работы, отзывы об организациях, последние новости, бесплатные объявления, карта города." ["content"] => object(View)#78 (2) { ["_file":protected] => string(73) "/var/home/adminpublic_html/application/views/page/city.php" ["_data":protected] => array(0) { } } } } ["city"] => object(Model_City)#66 (36) { ["_table_name":protected] => string(13) "gisvid_cities" ["_primary_key":protected] => string(4) "code" ["_serialize_columns":protected] => array(1) { [0] => string(17) "grammatical_cases" } ["gis":protected] => bool(false) ["job":protected] => bool(false) ["_belongs_to":protected] => array(1) { ["parent"] => array(2) { ["foreign_key"] => string(11) "parent_code" ["model"] => string(4) "City" } } ["_has_one":protected] => array(0) { } ["_has_many":protected] => array(0) { } ["_load_with":protected] => array(0) { } ["_validation":protected] => NULL ["_object":protected] => array(14) { ["code"] => string(6) "moscow" ["name"] => string(12) "Москва" ["country"] => string(12) "Россия" ["region"] => string(35) "Московская область" ["timezone"] => string(13) "Europe/Moscow" ["lon"] => string(11) "37.62039300" ["lat"] => string(11) "55.75396000" ["project_id"] => string(2) "32" ["parent_code"] => NULL ["population"] => string(8) "11514330" ["firms_count"] => string(6) "208051" ["district"] => string(22) "Центральный" ["grammatical_cases"] => string(106) "{"genitive":"\u041c\u043e\u0441\u043a\u0432\u044b","prepositional":"\u041c\u043e\u0441\u043a\u0432\u0435"}" ["gis_code"] => string(6) "moscow" } ["_changed":protected] => array(0) { } ["_original_values":protected] => array(14) { ["code"] => string(6) "moscow" ["name"] => string(12) "Москва" ["country"] => string(12) "Россия" ["region"] => string(35) "Московская область" ["timezone"] => string(13) "Europe/Moscow" ["lon"] => string(11) "37.62039300" ["lat"] => string(11) "55.75396000" ["project_id"] => string(2) "32" ["parent_code"] => NULL ["population"] => string(8) "11514330" ["firms_count"] => string(6) "208051" ["district"] => string(22) "Центральный" ["grammatical_cases"] => string(106) "{"genitive":"\u041c\u043e\u0441\u043a\u0432\u044b","prepositional":"\u041c\u043e\u0441\u043a\u0432\u0435"}" ["gis_code"] => string(6) "moscow" } ["_related":protected] => array(0) { } ["_valid":protected] => bool(true) ["_loaded":protected] => bool(true) ["_saved":protected] => bool(false) ["_sorting":protected] => NULL ["_foreign_key_suffix":protected] => string(3) "_id" ["_object_name":protected] => string(4) "city" ["_object_plural":protected] => string(6) "cities" ["_table_columns":protected] => array(14) { ["code"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(4) "code" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(1) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "PRI" ["privileges"] => string(31) "select,insert,update,references" } ["name"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(4) "name" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(2) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["country"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(7) "country" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(3) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["region"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(6) "region" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(4) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["timezone"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(8) "timezone" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(5) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["lon"] => array(13) { ["type"] => string(5) "float" ["exact"] => bool(true) ["column_name"] => string(3) "lon" ["column_default"] => NULL ["data_type"] => string(7) "decimal" ["is_nullable"] => bool(false) ["ordinal_position"] => int(6) ["numeric_scale"] => string(1) "8" ["numeric_precision"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["lat"] => array(13) { ["type"] => string(5) "float" ["exact"] => bool(true) ["column_name"] => string(3) "lat" ["column_default"] => NULL ["data_type"] => string(7) "decimal" ["is_nullable"] => bool(false) ["ordinal_position"] => int(7) ["numeric_scale"] => string(1) "8" ["numeric_precision"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["project_id"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(10) "project_id" ["column_default"] => NULL ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(8) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["parent_code"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(11) "parent_code" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(true) ["ordinal_position"] => int(9) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["population"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(10) "population" ["column_default"] => NULL ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(10) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["firms_count"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(11) "firms_count" ["column_default"] => NULL ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(11) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["district"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(8) "district" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(12) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["grammatical_cases"] => array(12) { ["type"] => string(6) "string" ["character_maximum_length"] => string(5) "65535" ["column_name"] => string(17) "grammatical_cases" ["column_default"] => NULL ["data_type"] => string(4) "text" ["is_nullable"] => bool(false) ["ordinal_position"] => int(13) ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["gis_code"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(8) "gis_code" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(true) ["ordinal_position"] => int(14) ["character_maximum_length"] => string(3) "127" ["collation_name"] => string(15) "utf8_unicode_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } } ["_updated_column":protected] => NULL ["_created_column":protected] => NULL ["_primary_key_value":protected] => string(6) "moscow" ["_table_names_plural":protected] => bool(true) ["_reload_on_wakeup":protected] => bool(true) ["_db":protected] => object(Database_MySQLi)#69 (6) { ["_connection_id":protected] => string(40) "40f9201434a4ec7ea0e0343411e075e828d47f95" ["_identifier":protected] => string(1) "`" ["last_query"] => string(565) "SELECT `city`.`code` AS `code`, `city`.`name` AS `name`, `city`.`country` AS `country`, `city`.`region` AS `region`, `city`.`timezone` AS `timezone`, `city`.`lon` AS `lon`, `city`.`lat` AS `lat`, `city`.`project_id` AS `project_id`, `city`.`parent_code` AS `parent_code`, `city`.`population` AS `population`, `city`.`firms_count` AS `firms_count`, `city`.`district` AS `district`, `city`.`grammatical_cases` AS `grammatical_cases`, `city`.`gis_code` AS `gis_code` FROM `gisvid_cities` AS `city` WHERE `parent_code` IS NULL AND `gis_code` IS NOT NULL ORDER BY `name`" ["_instance":protected] => string(7) "default" ["_connection":protected] => object(mysqli)#73 (19) { ["affected_rows"] => int(100) ["client_info"] => string(79) "mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $" ["client_version"] => int(50011) ["connect_errno"] => int(0) ["connect_error"] => NULL ["errno"] => int(0) ["error"] => string(0) "" ["error_list"] => array(0) { } ["field_count"] => int(14) ["host_info"] => string(25) "Localhost via UNIX socket" ["info"] => NULL ["insert_id"] => int(0) ["server_info"] => string(10) "5.5.44-log" ["server_version"] => int(50544) ["stat"] => string(151) "Uptime: 1782959 Threads: 19 Questions: 852044192 Slow queries: 904 Opens: 5044 Flush tables: 1 Open tables: 1361 Queries per second avg: 477.882" ["sqlstate"] => string(5) "00000" ["protocol_version"] => int(10) ["thread_id"] => int(57067866) ["warning_count"] => int(0) } ["_config":protected] => array(6) { ["type"] => string(6) "MySQLi" ["connection"] => array(5) { ["hostname"] => string(9) "localhost" ["database"] => string(10) "admin_2gis" ["username"] => string(10) "admin_2gis" ["password"] => string(12) "KvXVTmjH783d" ["persistent"] => bool(false) } ["table_prefix"] => string(0) "" ["charset"] => string(4) "utf8" ["caching"] => bool(false) ["profiling"] => bool(true) } } ["_db_group":protected] => NULL ["_db_applied":protected] => array(0) { } ["_db_pending":protected] => array(0) { } ["_db_reset":protected] => bool(true) ["_db_builder":protected] => NULL ["_with_applied":protected] => array(0) { } ["_cast_data":protected] => array(0) { } ["_errors_filename":protected] => string(4) "city" } ["auto_render"] => bool(true) ["_devel_auth":protected] => object(Auth_File)#72 (3) { ["_users":protected] => array(1) { ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096" } ["_session":protected] => object(Session_Cookie)#65 (5) { ["_name":protected] => string(7) "session" ["_lifetime":protected] => int(0) ["_encrypted":protected] => bool(false) ["_data":protected] => array(1) { ["last_active"] => int(1460681612) } ["_destroyed":protected] => bool(false) } ["_config":protected] => array(7) { ["driver"] => string(4) "file" ["hash_method"] => string(6) "sha256" ["hash_key"] => string(10) "eqi87mup9q" ["lifetime"] => int(3600) ["session_type"] => string(6) "cookie" ["session_key"] => string(10) "auth_devel" ["users"] => array(1) { ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096" } } } ["request"] => object(Request)#53 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#50 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(24) "<city>(/<action>(/<id>))" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(3) "gis" ["action"] => string(5) "index" } ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#54 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(3) "Gis" ["_action":protected] => string(5) "index" ["_uri":protected] => string(6) "moscow" ["_external":protected] => bool(false) ["_params":protected] => array(1) { ["city"] => string(6) "moscow" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(2) { ["city"] => string(6) "harkov" ["session"] => string(52) "YToxOntzOjExOiJsYXN0X2FjdGl2ZSI7aToxNDYwNjgxNjEyO30=" } ["_client":protected] => object(Request_Client_Internal)#55 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } } ["response"] => object(Response)#56 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#57 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => NULL } }
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');103
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request ( arguments )
0 object(Request)#53 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#50 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(24) "<city>(/<action>(/<id>))" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(3) "gis" ["action"] => string(5) "index" } ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#54 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(3) "Gis" ["_action":protected] => string(5) "index" ["_uri":protected] => string(6) "moscow" ["_external":protected] => bool(false) ["_params":protected] => array(1) { ["city"] => string(6) "moscow" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(2) { ["city"] => string(6) "harkov" ["session"] => string(52) "YToxOntzOjExOiJsYXN0X2FjdGl2ZSI7aToxNDYwNjgxNjEyO30=" } ["_client":protected] => object(Request_Client_Internal)#55 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } }
1 object(Response)#56 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#57 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => NULL }
109 $orig_response = $response = Response::factory();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 callbacks117 foreach ($this->header_callbacks() as $header => $callback)118 {119 if ($response->headers($header))120
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute ( arguments )
0 object(Request)#53 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#50 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(24) "<city>(/<action>(/<id>))" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(3) "gis" ["action"] => string(5) "index" } ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#54 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(3) "Gis" ["_action":protected] => string(5) "index" ["_uri":protected] => string(6) "moscow" ["_external":protected] => bool(false) ["_params":protected] => array(1) { ["city"] => string(6) "moscow" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(2) { ["city"] => string(6) "harkov" ["session"] => string(52) "YToxOntzOjExOiJsYXN0X2FjdGl2ZSI7aToxNDYwNjgxNjEyO30=" } ["_client":protected] => object(Request_Client_Internal)#55 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } }
985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(986 ':uri' => $this->_uri,987 ));988 }989 990 return $this->_client->execute($this);991 }992 993 /**994 * Returns whether this request is the initial request Kohana received.995 * Can be used to test for sub requests.996
-
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 }122