SYSPATH/classes/kohana/route.php [ 106 ]
101 */
102 public static function get($name)
103 {
104 if ( ! isset(Route::$_routes[$name]))
105 {
106 throw new Kohana_Exception('The requested route does not exist: :route',
107 array(':route' => $name));
108 }
109
110 return Route::$_routes[$name];
111 }
-
SYSPATH/classes/kohana/route.php [ 192 ] » Kohana_Route::get()
187 * @since 3.0.7 188 * @uses URL::site 189 */ 190 public static function url($name, array $params = NULL, $protocol = NULL) 191 { 192 $route = Route::get($name); 193 194 // Create a URI with the route and convert it to a URL 195 if ($route->is_external()) 196 return Route::get($name)->uri($params); 197 else
-
APPPATH/views/pages/user_login-index.php [ 4 ] » Kohana_Route::url()
1 <div id="login-wrapper"> 2 <div id="login-container"> 3 <div id="login-box"> 4 <a href="<?=Rubix::url_last_get(FALSE) ?: Route::url('', [], TRUE)?>" id="return" title="zpět do e-shopu"></a> 5 <a href="<?=Rubix::url_last_get(FALSE) ?: Route::url('', [], TRUE)?>" id="logo"></a> 6 7 <?=$form?> 8 9 <p id="form-options">
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(72) "/www/hosting/cecho.cz/eshop/application/views/pages/user_login-index.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture()
338 { 339 throw new View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana_Exception::handler($e);
-
APPPATH/views/layouts/login.php [ 6 ] » Kohana_View->__toString()
1 <html> 2 <?=Rubix_Head::render('default', 'login')?> 3 4 <body> 5 <div id="wrapper"> 6 <?=$content?> 7 </div> <!-- wrapper end--> 8 9 </body> 10 </html>
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(63) "/www/hosting/cecho.cz/eshop/application/views/layouts/login.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture()
338 { 339 throw new View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
MODPATH/rubix/shared/classes/rubix/core/controllertemplate/base.php [ 50 ] » Kohana_View->render()
45 $this->_view = View::factory('layouts/' . $this->_layout)->set('content', $this->_view); 46 } 47 48 // aotu render 49 if ($this->_auto_render) { 50 $this->response->body($this->_view->render()); 51 } 52 53 // nastaveni hlavicek 54 $this->response->headers('Cache-Control', 'no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0'); 55 $this->response->headers('Expires', 'Sat, 26 Jul 1997 05:00:00 GMT');
-
DOCROOT/shared/classes/rubix/controllertemplate/base.php [ 6 ] » Rubix_Core_ControllerTemplate_Base->after()
1 <?php defined('SYSPATH') or die('No direct script access.'); 2 3 abstract class Rubix_ControllerTemplate_Base extends Rubix_Core_ControllerTemplate_Base 4 { 5 public function after() { 6 parent::after(); 7 8 if ($this->request->query('profiler')) 9 $this->response->body(View::factory('profiler/stats')); 10 } 11 }
-
MODPATH/rubix/application/classes/rubix/core/controllertemplate/application.php [ 11 ] » Rubix_ControllerTemplate_Base->after()
6 7 public function after() 8 { 9 View::set_global('page_sys_name', $this->page_sys_name); 10 11 parent::after(); 12 } 13 }
-
APPPATH/classes/rubix/controllertemplate/application.php [ 46 ] » Rubix_Core_ControllerTemplate_Application->after()
41 $this->_view->url_ok = $this->request->initial_url() . URL::query(array ('souhlas-s-podminkami' => 'ano')); 42 $this->_view->url_cancel = $this->request->initial_url() . URL::query(array ('souhlas-s-podminkami' => 'ne')); 43 } 44 45 public function after() { 46 parent::after(); 47 48 $this->url_last_set(); 49 } 50 51 public function url_last_set() {
-
{PHP internal call} » Rubix_ControllerTemplate_Application->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 121 ] » ReflectionMethod->invoke()
116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e) 124 { 125 // Restore the previous request 126 if ($previous instanceof Request)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request()
59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute()
1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 115 ] » Kohana_Request->execute()
110 /** 111 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 112 * If no source is specified, the URI will be automatically detected. 113 */ 114 echo Request::factory() 115 ->execute() 116 ->send_headers() 117 ->body(); 118 119 //echo View::factory('profiler/stats');