APPPATH/classes/Myhelpers.php [ 46 ]
41
42 return $data;
43 }
44
45 public static function file_get_api_data($url) {
46 return json_decode(self::file_get_contents_curl($url))->data;
47 }
48
49 public static function slugify($text)
50 {
51 // replace non letter or digits by -
-
APPPATH/classes/Myhelpers.php [ 46 ] » Kohana_Core::error_handler(arguments)
0integer 8
1string(43) "Trying to get property 'data' of non-object"2string(73) "/home/y/yamashc9/rgo_portal/public_html/application/classes/Myhelpers.php"3integer 46
4array(1) ( "url" => string(50) "https://geoportal.rgo.life/api/portal/categories/2" )
41 42 return $data; 43 } 44 45 public static function file_get_api_data($url) { 46 return json_decode(self::file_get_contents_curl($url))->data; 47 } 48 49 public static function slugify($text) 50 { 51 // replace non letter or digits by - -
APPPATH/classes/Controller/Widget/Header.php [ 113 ] » Myhelpers::file_get_api_data(arguments)
0string(50) "https://geoportal.rgo.life/api/portal/categories/2"108 ]; 109 110 111 $portal_url = 'https://geoportal.rgo.life/api/portal/categories/2'; 112 113 $portal_sections = Myhelpers::file_get_api_data($portal_url); 114 115 116 $menu = [ 117 [ 118 'slug' => 'nature', -
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Widget_Header->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)
0object Controller_Widget_Header(4)
{ public template => object View(2){ protected _file => string(76) "/home/y/yamashc9/rgo_portal/public_html/application/views/widgets/header.php" protected _data => array(0) }public auto_render => bool TRUE 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(5){ protected _filters => array(0) protected _uri => string(31) "widget(/<controller>(/<param>))" protected _regex => array(1) ( "param" => string(2) ".+" ) protected _defaults => array(2) ( "directory" => string(6) "widget" "action" => string(5) "index" ) protected _route_regex => string(65) "#^widget(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<param>.+))?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(6) "Widget" protected _controller => string(6) "Header" protected _action => string(5) "index" protected _uri => string(13) "widget/Header" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "params" => array(2) ( "is_main" => bool TRUE "controller" => string(6) "Header" ) ) 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) }}{ 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)
0object 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(31) "widget(/<controller>(/<param>))" protected _regex => array(1) ( "param" => string(2) ".+" ) protected _defaults => array(2) ( "directory" => string(6) "widget" "action" => string(5) "index" ) protected _route_regex => string(65) "#^widget(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<param>.+))?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(6) "Widget" protected _controller => string(6) "Header" protected _action => string(5) "index" protected _uri => string(13) "widget/Header" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "params" => array(2) ( "is_main" => bool TRUE "controller" => string(6) "Header" ) ) 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) }}1object Response(5)
{ 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 [ 993 ] » Kohana_Request_Client->execute(arguments)
0object 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(31) "widget(/<controller>(/<param>))" protected _regex => array(1) ( "param" => string(2) ".+" ) protected _defaults => array(2) ( "directory" => string(6) "widget" "action" => string(5) "index" ) protected _route_regex => string(65) "#^widget(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<param>.+))?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(6) "Widget" protected _controller => string(6) "Header" protected _action => string(5) "index" protected _uri => string(13) "widget/Header" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "params" => array(2) ( "is_main" => bool TRUE "controller" => string(6) "Header" ) ) 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) }}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests. -
APPPATH/classes/Widget.php [ 23 ] » Kohana_Request->execute()
18 // return $widget->render(); 19 20 $params['controller'] = $widget_name; 21 $url = Route::get('widget')->uri(['controller' => $widget_name]); 22 23 return Request::factory($url)->query('params', $params)->execute(); 24 25 } 26 27 public function __construct($widget_name, array $params = NULL, $route_name = NULL) 28 { -
APPPATH/views/site/main.php [ 100 ] » Widget::load(arguments)
0string(6) "Header"1array(2) ( "is_main" => bool TRUE "controller" => string(6) "Header" )
95 </header> 96 </nav> 97 98 <div id="panel"> 99 100 <?= Widget::load('Header', ['is_main' => true]) ?> 101 102 103 <div id="map"></div> 104 105 <div class="tpl" id="popup-tpl"> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(71) "/home/y/yamashc9/rgo_portal/public_html/application/views/site/main.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(71) "/home/y/yamashc9/rgo_portal/public_html/application/views/site/main.php"1array(0)354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message. -
APPPATH/views/main.php [ 22 ] » Kohana_View->__toString()
17 <link rel="stylesheet" href="/static/js/vendor/Leaflet.markercluster-master/dist/MarkerCluster.css"> 18 <link rel="stylesheet" href="/static/js/vendor/Leaflet.markercluster-master/dist/MarkerCluster.Default.css"> 19 </head> 20 <body> 21 22 <?= $content; ?> 23 24 <script src="/static/js/vendor/jquery-3.4.0.min.js"></script> 25 <script src="/static/js/vendor/bootstrap.bundle.min.js"></script> 26 <script src="/static/js/vendor/slideout/slideout.min.js"></script> 27 <script src="/static/js/vendor/leaflet/leaflet.js"></script> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(66) "/home/y/yamashc9/rgo_portal/public_html/application/views/main.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(66) "/home/y/yamashc9/rgo_portal/public_html/application/views/main.php"1array(4) ( "content" => object View(2)
{ protected _file => string(71) "/home/y/yamashc9/rgo_portal/public_html/application/views/site/main.php" protected _data => array(0) }"styles" => array(13) ( 0 => string(58) "https://fonts.googleapis.com/css?family=Roboto:300,400,700" 1 => string(87) "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?i=574444688" 2 => string(35) "/assets/bootstrap/css/bootstrap.css" 3 => string(36) "/assets/css/bootstrap-select.min.css" 4 => string(33) "/assets/css/jquery.slider.min.css" 5 => string(28) "/assets/css/owl.carousel.css" 6 => string(77) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" 7 => string(30) "/assets/js/leaflet/leaflet.css" 8 => string(61) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.css" 9 => string(69) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.Default.css" 10 => string(39) "/assets/css/leaflet.awesome-markers.css" 11 => string(21) "/assets/css/style.css" 12 => string(26) "/assets/css/colors/red.css" ) "scripts" => array(27) ( 0 => string(30) "/assets/js/jquery-2.1.0.min.js" 1 => string(96) "https://maps.googleapis.com/maps/api/js?key=AIzaSyDOpYF83utKBXj9rzH23Q_ubUxrgn59kAY&sensor=false" 2 => string(38) "/assets/js/jquery-migrate-1.2.1.min.js" 3 => string(37) "/assets/bootstrap/js/bootstrap.min.js" 4 => string(36) "/assets/js/markerwithlabel_packed.js" 5 => string(21) "/assets/js/infobox.js" 6 => string(30) "/assets/js/owl.carousel.min.js" 7 => string(34) "/assets/js/bootstrap-select.min.js" 8 => string(24) "/assets/js/icheck.min.js" 9 => string(35) "/assets/js/imagesloaded.pkgd.min.js" 10 => string(30) "/assets/js/masonry.pkgd.min.js" 11 => string(30) "/assets/js/scrollReveal.min.js" 12 => string(41) "/assets/js/jquery.vanillabox-0.1.5.min.js" 13 => string(30) "/assets/js/retina-1.1.0.min.js" 14 => string(33) "/assets/js/jshashtable-2.1_src.js" 15 => string(18) "/assets/js/tmpl.js" 16 => string(36) "/assets/js/jquery.dependClass-0.1.js" 17 => string(27) "/assets/js/draggable-0.1.js" 18 => string(27) "/assets/js/jquery.slider.js" 19 => string(36) "/assets/js/markerclusterer_packed.js" 20 => string(76) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js" 21 => string(29) "/assets/js/leaflet/leaflet.js" 22 => string(68) "/assets/js/Leaflet.markercluster-1.4.1/dist/leaflet.markercluster.js" 23 => string(28) "/assets/js/leaflet-google.js" 24 => string(37) "/assets/js/leaflet.awesome-markers.js" 25 => string(24) "/assets/js/custom-map.js" 26 => string(20) "/assets/js/custom.js" ) "title" => string(0) "" )354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
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 -
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92 -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Welcome(4)
{ public template => object View(2){ protected _file => string(66) "/home/y/yamashc9/rgo_portal/public_html/application/views/main.php" protected _data => array(4) ( "content" => object View(2)public auto_render => bool TRUE public request => object Request(19){ protected _file => string(71) "/home/y/yamashc9/rgo_portal/public_html/application/views/site/main.php" protected _data => array(0) }"styles" => array(13) ( 0 => string(58) "https://fonts.googleapis.com/css?family=Roboto:300,400,700" 1 => string(87) "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?i=574444688" 2 => string(35) "/assets/bootstrap/css/bootstrap.css" 3 => string(36) "/assets/css/bootstrap-select.min.css" 4 => string(33) "/assets/css/jquery.slider.min.css" 5 => string(28) "/assets/css/owl.carousel.css" 6 => string(77) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" 7 => string(30) "/assets/js/leaflet/leaflet.css" 8 => string(61) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.css" 9 => string(69) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.Default.css" 10 => string(39) "/assets/css/leaflet.awesome-markers.css" 11 => string(21) "/assets/css/style.css" 12 => string(26) "/assets/css/colors/red.css" ) "scripts" => array(27) ( 0 => string(30) "/assets/js/jquery-2.1.0.min.js" 1 => string(96) "https://maps.googleapis.com/maps/api/js?key=AIzaSyDOpYF83utKBXj9rzH23Q_ubUxrgn59kAY&sensor=false" 2 => string(38) "/assets/js/jquery-migrate-1.2.1.min.js" 3 => string(37) "/assets/bootstrap/js/bootstrap.min.js" 4 => string(36) "/assets/js/markerwithlabel_packed.js" 5 => string(21) "/assets/js/infobox.js" 6 => string(30) "/assets/js/owl.carousel.min.js" 7 => string(34) "/assets/js/bootstrap-select.min.js" 8 => string(24) "/assets/js/icheck.min.js" 9 => string(35) "/assets/js/imagesloaded.pkgd.min.js" 10 => string(30) "/assets/js/masonry.pkgd.min.js" 11 => string(30) "/assets/js/scrollReveal.min.js" 12 => string(41) "/assets/js/jquery.vanillabox-0.1.5.min.js" 13 => string(30) "/assets/js/retina-1.1.0.min.js" 14 => string(33) "/assets/js/jshashtable-2.1_src.js" 15 => string(18) "/assets/js/tmpl.js" 16 => string(36) "/assets/js/jquery.dependClass-0.1.js" 17 => string(27) "/assets/js/draggable-0.1.js" 18 => string(27) "/assets/js/jquery.slider.js" 19 => string(36) "/assets/js/markerclusterer_packed.js" 20 => string(76) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js" 21 => string(29) "/assets/js/leaflet/leaflet.js" 22 => string(68) "/assets/js/Leaflet.markercluster-1.4.1/dist/leaflet.markercluster.js" 23 => string(28) "/assets/js/leaflet-google.js" 24 => string(37) "/assets/js/leaflet.awesome-markers.js" 25 => string(24) "/assets/js/custom-map.js" 26 => string(20) "/assets/js/custom.js" ) "title" => string(0) "" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(43) "((<lang>/)(<controller>(/<action>(/<id>))))" protected _regex => array(1) ( "lang" => string(7) "(en|es)" ) protected _defaults => array(3) ( "lang" => string(2) "ru" "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(123) "#^(?:(?:(?P<lang>(en|es))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Welcome" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(1) ( "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) }}{ 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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(43) "((<lang>/)(<controller>(/<action>(/<id>))))" protected _regex => array(1) ( "lang" => string(7) "(en|es)" ) protected _defaults => array(3) ( "lang" => string(2) "ru" "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(123) "#^(?:(?:(?P<lang>(en|es))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Welcome" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(1) ( "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) }}1object Response(5)
{ 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 [ 993 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(43) "((<lang>/)(<controller>(/<action>(/<id>))))" protected _regex => array(1) ( "lang" => string(7) "(en|es)" ) protected _defaults => array(3) ( "lang" => string(2) "ru" "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(123) "#^(?:(?:(?P<lang>(en|es))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Welcome" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(1) ( "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) }}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests. -
DOCROOT/index.php [ 90 ] » Kohana_Request->execute()
85 /** 86 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 87 * If no source is specified, the URI will be automatically detected. 88 */ 89 echo Request::factory(TRUE, array(), FALSE) 90 ->execute() 91 ->send_headers(TRUE) 92 ->body(); 93 }