SYSPATH/classes/Kohana/Request/Client/Internal.php [ 78 ]
73 {
74 if ( ! class_exists($prefix.$controller))
75 {
76 throw HTTP_Exception::factory(404,
77 'The requested URL :uri was not found on this server.',
78 array(':uri' => $request->uri())
79 )->request($request);
80 }
81
82 // Load the controller using reflection
83 $class = new ReflectionClass($prefix.$controller);
-
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 TRUE protected _referrer => NULL protected _route => object Route(9)
{ protected _translate => array(2) ( "<controller>" => bool TRUE "<action>" => bool TRUE ) protected _uri_source => string(51) "(<controller>)(/<action>(/<id>(/<id2>)))(/p,<page>)" protected _regex_source => array(1) ( "page" => string(8) "[-0-9,]+" ) protected _filters => array(0) protected _uri => string(51) "(<controller>)(/<action>(/<id>(/<id2>)))(/p,<page>)" protected _regex => array(1) ( "page" => string(8) "[-0-9,]+" ) protected _defaults => array(5) ( "controller" => string(4) "home" "action" => string(5) "lista" "id" => string(0) "" "id2" => string(0) "" "page" => string(1) "1" ) protected _route_regex => string(148) "#^(?:(?P<controller>[^/.,;?\n]++))?(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++))?)?)?(?:/p,(?P< …" public _defaults_source => array(5) ( "controller" => string(4) "home" "action" => string(5) "index" "id" => string(0) "" "id2" => string(0) "" "page" => string(1) "1" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "Rosja-khl" protected _action => string(9) "rosja-khl" protected _uri => string(19) "rosja-khl/rosja-khl" protected _external => bool FALSE protected _params => array(3) ( "id" => string(0) "" "id2" => string(0) "" "page" => string(1) "1" ) protected _get => array(1) ( "/rosja-khl/rosja-khl" => string(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(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))
-
APPPATH/classes/Request.php [ 144 ] » 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 TRUE protected _referrer => NULL protected _route => object Route(9)
{ protected _translate => array(2) ( "<controller>" => bool TRUE "<action>" => bool TRUE ) protected _uri_source => string(51) "(<controller>)(/<action>(/<id>(/<id2>)))(/p,<page>)" protected _regex_source => array(1) ( "page" => string(8) "[-0-9,]+" ) protected _filters => array(0) protected _uri => string(51) "(<controller>)(/<action>(/<id>(/<id2>)))(/p,<page>)" protected _regex => array(1) ( "page" => string(8) "[-0-9,]+" ) protected _defaults => array(5) ( "controller" => string(4) "home" "action" => string(5) "lista" "id" => string(0) "" "id2" => string(0) "" "page" => string(1) "1" ) protected _route_regex => string(148) "#^(?:(?P<controller>[^/.,;?\n]++))?(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++))?)?)?(?:/p,(?P< …" public _defaults_source => array(5) ( "controller" => string(4) "home" "action" => string(5) "index" "id" => string(0) "" "id2" => string(0) "" "page" => string(1) "1" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "Rosja-khl" protected _action => string(9) "rosja-khl" protected _uri => string(19) "rosja-khl/rosja-khl" protected _external => bool FALSE protected _params => array(3) ( "id" => string(0) "" "id2" => string(0) "" "page" => string(1) "1" ) protected _get => array(1) ( "/rosja-khl/rosja-khl" => string(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) }
}139 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 140 ':uri' => $this->_uri, 141 )); 142 } 143 144 return $this->_client->execute($this); 145 } 146 147 public function fill() 148 { 149 if ( ! $this->_external)
-
DOCROOT/index.php [ 305 ] » Request->execute()
300 */ 301 302 //try 303 //{ 304 echo Request::factory() 305 ->execute() 306 ->send_headers() 307 ->body(); 308 //} 309 //catch (Kohana_HTTP_Exception_404 $e) 310 //{