SYSPATH/classes/kohana/url.php [ 110 ]
105 $path = preg_replace('~^[-a-z0-9+.]++://[^/]++/?~', '', trim($uri, '/'));
106
107 if ( ! UTF8::is_ascii($path))
108 {
109 // Encode all non-ASCII characters, as per RFC 1738
110 $path = preg_replace('~([^/]+)~e', 'rawurlencode("$1")', $path);
111 }
112
113 // Concat the URL
114 return URL::base($protocol, $index).$path;
115 }
-
{PHP internal call} » Kohana_Core::error_handler()
-
SYSPATH/classes/kohana/url.php [ 110 ] » preg_replace()
105 $path = preg_replace('~^[-a-z0-9+.]++://[^/]++/?~', '', trim($uri, '/')); 106 107 if ( ! UTF8::is_ascii($path)) 108 { 109 // Encode all non-ASCII characters, as per RFC 1738 110 $path = preg_replace('~([^/]+)~e', 'rawurlencode("$1")', $path); 111 } 112 113 // Concat the URL 114 return URL::base($protocol, $index).$path; 115 }
-
SYSPATH/classes/kohana/html.php [ 127 ] » Kohana_URL::site()
122 } 123 } 124 elseif ($uri[0] !== '#') 125 { 126 // Make the URI absolute for non-id anchors 127 $uri = URL::site($uri, $protocol, $index); 128 } 129 } 130 131 // Add the sanitized link to the attributes 132 $attributes['href'] = $uri;
-
APPPATH/views/object/advertisements/customdefault_search.php [ 103 ] » Kohana_HTML::anchor()
98 <div class="advertisements-pager"> 99 <ul> 100 <?php foreach ($data['pager'] as $page): ?> 101 <li class="<?php echo !empty($page['current']) ? 'advertisements-pager-current' : '' ?>"> 102 <?php if (!empty($page['url'])): ?> 103 <?= HTML::anchor($page['url'], $page['page']);?> 104 <?php else: ?> 105 <?= '...'; ?> 106 <?php endif; ?> 107 </li> 108 <?php endforeach; ?>
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(87) "/web/inzercia/azetweby/application/views/object/advertisements/customdefault_search.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
-
APPPATH/views/object/advertisements/search.php [ 17 ] » Kohana_View->render()
12 $layout = $object->getData('custom_layout', null)->value; 13 if (empty($layout) || $layout == 'default') { 14 $layout = 'search_'.$object->getData('cis_project',AW_Advertisement::PROJECT_BAZAR)->value; 15 } 16 17 echo View::factory('object/advertisements/' . $layout)->bind('data',$data)->bind('object',$object)->bind('web', $web)->bind('cis_contact_type', $cis_contact_type)->render(); 18 }
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(73) "/web/inzercia/azetweby/application/views/object/advertisements/search.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
-
APPPATH/views/object/advertisements/frontendView.php [ 9 ] » Kohana_View->render()
4 echo View::factory('object/advertisements/'.$action) 5 ->bind('data', $data) 6 ->bind('object', $object) 7 ->bind('web', $web) 8 ->bind('cis_contact_type', $cis_contact_type) 9 ->render();
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(79) "/web/inzercia/azetweby/application/views/object/advertisements/frontendView.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/classes/appcontroller.php [ 232 ] » Kohana_View->__toString()
227 if ($this->view) { 228 $this->view = View::factory($this->view); 229 foreach ($this->viewData as $key => &$value) { 230 $this->view->bind($key, $value); 231 } 232 $this->layoutData['content'] = (string)$this->view; 233 } 234 if ($this->layout) { 235 //nacitame layout 236 $this->template = View::factory($this->layout); 237 foreach ($this->viewData as $key => &$value) {
-
APPPATH/classes/controller/object.php [ 117 ] » AppController->after()
112 $this->response->body($this->subResponse->body()); 113 } 114 if ($this->clientMode) { 115 $this->layout = false; 116 } 117 parent::after(); 118 } 119 120 /** 121 * nastavi status na uspesny 122 */
-
APPPATH/classes/controller/object/advertisements.php [ 536 ] » Controller_Object->after()
531 $this->set('action', $action); 532 } 533 534 public function after() 535 { 536 parent::after(); 537 } 538 539 }
-
{PHP internal call} » Controller_Object_Advertisements->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 [ 1196 ] » Kohana_Request_Client->execute()
1191 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1192 ':uri' => $this->_uri, 1193 )); 1194 } 1195 1196 return $this->_client->execute($this); 1197 } 1198 1199 /** 1200 * Returns whether this request is the initial request Kohana received. 1201 * Can be used to test for sub requests.
-
APPPATH/classes/controller/front.php [ 331 ] » Kohana_Request->execute()
326 if ($objectPosition->object->title_tag == 1) { 327 $this->has_h1 = true; 328 } 329 //ziskanie requestu na tento objekt a zavolanie ho 330 $obj_request = $objectPosition->object->getRequest('frontend_view'); 331 $obj_response = $obj_request->execute(); 332 $obj_type = $objectPosition->object->getTypeClass(); 333 $res[$objectPosition->content_position][] = View::factory('layouts/object/' . ($in_cms ? 'cms' : 'front')) 334 ->set('object_position', $objectPosition) 335 ->set('object', $objectPosition->object) 336 ->set('obj_type', $obj_type)
-
APPPATH/classes/controller/front.php [ 230 ] » Controller_Front->get_content_objects()
225 226 $this->menu_items = $this->web->content->get_menu($in_cms, $this->router->getLanguage()); 227 //zistime nazov content layoutu 228 $this->content_layout = Kohana::$config->load('content_layouts.' . $this->content->cis_content_layout . '.filename'); 229 //vytiahneme objekty 230 $this->objects_array = $this->get_content_objects($this->content, $in_cms); 231 //zistime oblasti v content layoute a nacitame objekty do jadra 232 $this->defined_content_areas = Kohana::$config->load('content_layouts.' . $this->content->cis_content_layout . '.defined_content_areas'); 233 if (empty($this->defined_content_areas)) { 234 throw new Exception('Ziadne oblasti v content layoute neboli definovane. Content layout #' . $this->content->cis_content_layout); 235 }
-
APPPATH/classes/controller/front/front.php [ 13 ] » Controller_Front->action_index()
8 /** 9 * testovaci frontend 10 */ 11 public function action_index() 12 { 13 parent::action_index(); 14 15 if (!$this->content->published || $this->content->publish_from > AW_Date::mysql_now() || $this->content->publish_to < AW_Date::mysql_now()) { 16 $this->request->redirect('/404'); 17 } 18
-
{PHP internal call} » Controller_Front_Front->action_index()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke()
113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 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)
-
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 [ 1196 ] » Kohana_Request_Client->execute()
1191 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1192 ':uri' => $this->_uri, 1193 )); 1194 } 1195 1196 return $this->_client->execute($this); 1197 } 1198 1199 /** 1200 * Returns whether this request is the initial request Kohana received. 1201 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 145 ] » Kohana_Request->execute()
140 * If no source is specified, the URI will be automatically detected. 141 */ 142 if (empty($_SERVER['PHP_UNIT_RUN'])) { 143 try { 144 echo Request::factory() 145 ->execute() 146 ->send_headers() 147 ->body(); 148 } catch (Exception $e) { 149 // ak je chyba 404 a my nie sme na developmente, tak presmeruj na 404 150 if (($e->getCode() == 404) && (Kohana::$environment != Kohana::DEVELOPMENT)) {