SYSPATH/classes/Kohana/View.php [ 265 ]
260 */
261 public function set_filename($file)
262 {
263 if (($path = Kohana::find_file('views', $file)) === FALSE)
264 {
265 throw new View_Exception('The requested view :file could not be found', array(
266 ':file' => $file,
267 ));
268 }
269
270 // Store the file path locally
-
SYSPATH/classes/Kohana/View.php [ 145 ] » Kohana_View->set_filename(arguments)
0
string(15) "public/shop/404"
140 */ 141 public function __construct($file = NULL, array $data = NULL) 142 { 143 if ($file !== NULL) 144 { 145 $this->set_filename($file); 146 } 147 148 if ($data !== NULL) 149 { 150 // Add the values to the current data
-
SYSPATH/classes/Kohana/View.php [ 30 ] » Kohana_View->__construct(arguments)
0
string(15) "public/shop/404"
1
NULL
25 * @param array $data array of values 26 * @return View 27 */ 28 public static function factory($file = NULL, array $data = NULL) 29 { 30 return new View($file, $data); 31 } 32 33 /** 34 * Captures the output that is generated when a view is included. 35 * The view data will be extracted to make local variables. This method
-
SYSPATH/classes/HTTP/Exception/404.php [ 7 ] » Kohana_View::factory(arguments)
0
string(15) "public/shop/404"
2 3 class HTTP_Exception_404 extends Kohana_HTTP_Exception_404 { 4 5 public function get_response() 6 { 7 $view = View::factory('public/shop/404'); 8 9 // Remembering that `$this` is an instance of HTTP_Exception_404 10 $view->message = $this->getMessage(); 11 12 $response = Response::factory()
-
SYSPATH/classes/Kohana/Request.php [ 987 ] » HTTP_Exception_404->get_response()
982 if ( ! $this->_route instanceof Route) 983 { 984 return HTTP_Exception::factory(404, 'Unable to find a route to match the URI: :uri', array( 985 ':uri' => $this->_uri, 986 ))->request($this) 987 ->get_response(); 988 } 989 990 if ( ! $this->_client instanceof Request_Client) 991 { 992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
-
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 }