MODPATH/navigation/classes/Navigation.php [ 70 ]
65 $params['segment_id'] = 0;
66
67 return $this->_generate_table($id, $params, $this->items);
68 }
69
70 protected function _generate_list($css_id = 'menu', $params, $items = NULL, $level = 0) {
71 if (count($items) == 0)
72 return NULL;
73
74 $css_id = str_replace(' ', '_', $css_id);
75
-
SYSPATH/classes/Kohana/Core.php [ 430 ] » Kohana_Core::error_handler()
425 $file .= str_replace('_', DIRECTORY_SEPARATOR, $class); 426 427 if ($path = Kohana::find_file($directory, $file)) 428 { 429 // Load the class file 430 require $path; 431 432 // Class has been found 433 return TRUE; 434 } 435
-
SYSPATH/classes/Kohana/Core.php [ 430 ] » require()
425 $file .= str_replace('_', DIRECTORY_SEPARATOR, $class); 426 427 if ($path = Kohana::find_file($directory, $file)) 428 { 429 // Load the class file 430 require $path; 431 432 // Class has been found 433 return TRUE; 434 } 435
-
APPPATH/classes/Controller/Frontend.php [ 104 ] » Kohana_Core::auto_load()
99 100 View::bind_global('meta_tags', $this->template->meta_tags); 101 View::bind_global('meta_description', $this->template->meta_description); 102 View::bind_global('styles', $this->template->styles); 103 View::bind_global('scripts', $this->template->scripts); 104 View::set_global('navigation', new Navigation()); 105 106 // define fontsize 107 $fontsizes = Kohana::$config->load('site.fontsizes'); 108 $set_fontsize = Session::instance()->get('fontsize'); 109 $fontsize = $set_fontsize ?: reset($fontsizes);
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Frontend->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 [ 94 ] » ReflectionMethod->invoke()
89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()
109 $orig_response = $response = Response::factory(['_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 [ 1000 ] » Kohana_Request_Client->execute()
995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests.
-
DOCROOT/public/index.php [ 121 ] » Kohana_Request->execute()
116 /** 117 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 118 * If no source is specified, the URI will be automatically detected. 119 */ 120 echo Request::factory(TRUE, [], FALSE) 121 ->execute() 122 ->send_headers(TRUE) 123 ->body(); 124 }