MODPATH/cache/classes/Kohana/Cache/File.php [ 470 ]
465 */
466 protected function _is_expired(SplFileInfo $file)
467 {
468 // Open the file and parse data
469 $created = $file->getMTime();
470 $data = $file->openFile("r");
471 $lifetime = (int) $data->fgets();
472
473 // If we're at the EOF at this point, corrupted!
474 if ($data->eof())
475 {
-
MODPATH/cache/classes/Kohana/Cache/File.php [ 470 ] » SplFileInfo->openFile()
465 */ 466 protected function _is_expired(SplFileInfo $file) 467 { 468 // Open the file and parse data 469 $created = $file->getMTime(); 470 $data = $file->openFile("r"); 471 $lifetime = (int) $data->fgets(); 472 473 // If we're at the EOF at this point, corrupted! 474 if ($data->eof()) 475 {
-
MODPATH/cache/classes/Kohana/Cache/File.php [ 144 ] » Kohana_Cache_File->_is_expired()
139 return $default; 140 } 141 else 142 { 143 // Test the expiry 144 if ($this->_is_expired($file)) 145 { 146 // Delete the file 147 $this->_delete_file($file, FALSE, TRUE); 148 return $default; 149 }
-
APPPATH/classes/Helper/Section.php [ 93 ] » Kohana_Cache_File->get()
88 89 // Countries 90 if(in_array($p,array(2,3,23,24))){ 91 $lang = Request::current()->param('lang'); 92 93 if (!$countries = Cache::instance()->get('search_countries_'.$lang)): 94 $countries = Model_Countries::list_search($lang); 95 Cache::instance()->set('search_countries_'.$lang, $countries); 96 endif; 97 98 foreach($countries as $country){
-
APPPATH/classes/Helper/Section.php [ 121 ] » Helper_Section::public_tree()
116 $tpl, 117 $p == 0 ? 'has-sub' : '', 118 $data->module_id == '' || $data->id == 2 || $data->id == 23 ? '<span class="submenu-button"></span>' : '', 119 $data->module_id ? URL::section($s) : 'javascript:;', 120 $data->title, 121 $p == 0 || in_array($data->id,array(2,3,23,24)) ? '<ul>'.self::public_tree($data->id).'</ul>' : '' 122 ); 123 } 124 } 125 126
-
APPPATH/views/global/template.php [ 229 ] » Helper_Section::public_tree()
224 225 <div class="navigation"> 226 <div class=" container"> 227 <div id="cssmenu"> 228 <ul> 229 <?=Helper_Section::public_tree();?> 230 </ul> 231 232 <ul class="language_switcher"> 233 <li><a href="<?=URL::base().'ru/';?>">Русский</a></li> 234 <li><a href="<?=URL::base().'en/';?>">English</a></li>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(69) "/home/mercuryestate/public_html/application/views/global/template.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()
354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->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 [ 97 ] » ReflectionMethod->invoke()
92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 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.
-
APPPATH/classes/Controller/Decode.php [ 24 ] » Kohana_Request->execute()
19 'action' => empty($section->action) ? 'section' : $section->action, 20 'section' => $section->id, 21 'ajax' => $this->request->is_ajax() ? 1 : 0, 22 'path' => $this->request->param('path') 23 ))) 24 ->execute() 25 ->send_headers() 26 ->body()); 27 } 28 29 public function action_item()
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Decode->action_section()
79 [':uri' => $this->request->uri()] 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke()
92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 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/index.php [ 127 ] » Kohana_Request->execute()
122 ->body(); 123 */ 124 try 125 { 126 echo Request::factory(TRUE, array(), FALSE) 127 ->execute() 128 ->send_headers(TRUE) 129 ->body(); 130 } 131 catch (Error $e) 132 {