SYSPATH/classes/KO7/View.php [ 260 ]
255 public function set_filename($file)
256 {
257 $path = KO7::find_file('views', $file);
258 if (! $path)
259 {
260 throw new View_Exception(
261 'The requested view :file could not be found',
262 [':file' => $file]
263 );
264 }
265
-
SYSPATH/classes/KO7/View.php [ 154 ] » KO7_View->set_filename( Arguments )
0
string(10) "errors/404"
149 */ 150 public function __construct($file = NULL, iterable $data = []) 151 { 152 if ($file !== NULL) 153 { 154 $this->set_filename($file); 155 } 156 if ($data) 157 { 158 $this->set($data); 159 }
-
SYSPATH/classes/KO7/View.php [ 31 ] » KO7_View->__construct( Arguments )
0
string(10) "errors/404"
1
array(0)
26 * @param iterable $data array of values 27 * @return View 28 */ 29 public static function factory($file = NULL, iterable $data = []) 30 { 31 return new View($file, $data); 32 } 33 34 /** 35 * Captures the output that is generated when a view is included. 36 * The view data will be extracted to make local variables. This method
-
APPPATH/classes/HTTP/Exception/404.php [ 10 ] » KO7_View::factory( Arguments )
0
string(10) "errors/404"
5 6 public function get_response() 7 { 8 $response = Response::factory(); 9 10 $view = View::factory('errors/404'); 11 12 // We're inside an instance of Exception here, all the normal stuff is available. 13 $view->message = $this->getMessage(); 14 15 $response->body($view->render());
-
SYSPATH/classes/KO7/Request/Client/Internal.php [ 104 ] » HTTP_Exception_404->get_response( )
99 { 100 $e->request($request); // @codeCoverageIgnore 101 } 102 103 // Get the response via the Exception 104 $response = $e->get_response(); 105 } 106 catch (Exception $e) 107 { 108 // Generate an appropriate Response object 109 $response = KO7_Exception::_handler($e);
-
SYSPATH/classes/KO7/Request/Client.php [ 115 ] » KO7_Request_Client_Internal->execute_request( Arguments )
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(51) "http://parenthesecinema.com/et-si-on-vivait-tous-20" protected _route => object Route(5)
{ protected _filters => array(1) ( 0 => string(18) "UpyUpy_Menu::route" ) protected _uri => string(12) "(<menupath>)" protected _regex => array(1) ( "menupath" => string(3) ".*?" ) protected _defaults => array(1) ( "action" => string(5) "index" ) protected _route_regex => string(28) "#^(?:(?P<menupath>.*?))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(9){ public remote-ip => string(12) "3.90.205.166" public referer => string(51) "http://parenthesecinema.com/et-si-on-vivait-tous-20" public user-agent => string(9) "claudebot" public accept => string(3) "*/*" public x-ovhrequest-id => string(32) "296f60b64b2ec025557a061262e09cd4" public x-forwarded-proto => string(5) "https" public x-forwarded-for => string(12) "3.90.205.166" public x-predictor => string(1) "1" public host => string(20) "parenthesecinema.com" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _format => NULL protected _action => string(9) "galleryid" protected _uri => string(23) "et-si-on-vivait-tous-20" protected _external => bool FALSE protected _params => array(4) ( "layout" => string(7) "default" "id" => string(23) "et-si-on-vivait-tous-20" "complement" => string(23) "et-si-on-vivait-tous-20" "complement2" => bool FALSE ) protected _get => array(1) ( "/et-si-on-vivait-tous-20" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(8){ 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" }110 $orig_response = $response = Response::factory(['_protocol' => $request->protocol()]); 111 112 if (($cache = $this->cache()) instanceof HTTP_Cache) 113 return $cache->execute($this, $request, $response); 114 115 $response = $this->execute_request($request, $response); 116 117 // Execute response callbacks 118 foreach ($this->header_callbacks() as $header => $callback) 119 { 120 if ($response->headers($header))
-
SYSPATH/classes/KO7/Request.php [ 934 ] » KO7_Request_Client->execute( Arguments )
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(51) "http://parenthesecinema.com/et-si-on-vivait-tous-20" protected _route => object Route(5)
{ protected _filters => array(1) ( 0 => string(18) "UpyUpy_Menu::route" ) protected _uri => string(12) "(<menupath>)" protected _regex => array(1) ( "menupath" => string(3) ".*?" ) protected _defaults => array(1) ( "action" => string(5) "index" ) protected _route_regex => string(28) "#^(?:(?P<menupath>.*?))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(9){ public remote-ip => string(12) "3.90.205.166" public referer => string(51) "http://parenthesecinema.com/et-si-on-vivait-tous-20" public user-agent => string(9) "claudebot" public accept => string(3) "*/*" public x-ovhrequest-id => string(32) "296f60b64b2ec025557a061262e09cd4" public x-forwarded-proto => string(5) "https" public x-forwarded-for => string(12) "3.90.205.166" public x-predictor => string(1) "1" public host => string(20) "parenthesecinema.com" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _format => NULL protected _action => string(9) "galleryid" protected _uri => string(23) "et-si-on-vivait-tous-20" protected _external => bool FALSE protected _params => array(4) ( "layout" => string(7) "default" "id" => string(23) "et-si-on-vivait-tous-20" "complement" => string(23) "et-si-on-vivait-tous-20" "complement2" => bool FALSE ) protected _get => array(1) ( "/et-si-on-vivait-tous-20" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(8){ 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) }
}929 throw new Request_Exception('Unable to execute :uri without a KO7_Request_Client', [ 930 ':uri' => $this->_uri, 931 ]); 932 } 933 934 return $this->_client->execute($this); 935 } 936 937 /** 938 * Returns whether this request is the initial request KO7 received. 939 * Can be used to test for sub requests.
-
DOCROOT/www/index.php [ 122 ] » KO7_Request->execute( )
117 /** 118 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 119 * If no source is specified, the URI will be automatically detected. 120 */ 121 echo Request::factory(TRUE, [], FALSE) 122 ->execute() 123 ->send_headers(TRUE) 124 ->body(); 125 }