APPPATH/views/V8/store/product_card.tpl [ 5 ]
1 <div class="product-card category-product">
2 <div class="product-info" data-id="<?php echo $product['id'] ?>">
3
4 <a class="product-thumbnail" href="/product/<?php echo $product['slug'] ?>">
5 <span class="inner-block" style="background-image: url(<?php echo $product['thumbnail'] ?>)"></span>
6 <link rel="preload" as="image" href="<?php echo $product['thumbnail'] ?>"/>
7 </a>
8 <a class="product-link" href="/product/<?php echo $product['slug'] ?>">
9 <h4 class="product-name"><?php echo $product['name'] ?></h4>
10 </a>
-
APPPATH/views/V8/store/product_card.tpl [ 5 ] » Kohana_Core::error_handler()
1 <div class="product-card category-product"> 2 <div class="product-info" data-id="<?php echo $product['id'] ?>"> 3 4 <a class="product-thumbnail" href="/product/<?php echo $product['slug'] ?>"> 5 <span class="inner-block" style="background-image: url(<?php echo $product['thumbnail'] ?>)"></span> 6 <link rel="preload" as="image" href="<?php echo $product['thumbnail'] ?>"/> 7 </a> 8 <a class="product-link" href="/product/<?php echo $product['slug'] ?>"> 9 <h4 class="product-name"><?php echo $product['name'] ?></h4> 10 </a>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(64) "/var/www/STORE/FRONT/application/views/V8/store/product_card.tpl"
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 }
-
APPPATH/views/V8/store/category.tpl [ 48 ] » Kohana_View->render()
43 $product = $products[$product_id]; 44 echo View::factory(Theme::current() . "store/product_card", [ 45 'product' => $product, 46 'styling' => 'primary', 47 'currency' => $currency 48 ])->render(); 49 } 50 ?> 51 </div> 52 <?php endforeach ?> 53 </div>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(60) "/var/www/STORE/FRONT/application/views/V8/store/category.tpl"
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/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
APPPATH/views/layout/main.tpl [ 2 ] » Kohana_View->__toString()
1 <?php echo $header ?> 2 <?php echo $content ?> 3 <?php echo $footer ?>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(54) "/var/www/STORE/FRONT/application/views/layout/main.tpl"
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
-
APPPATH/classes/Controller/Common/Base.php [ 201 ] » Kohana_Controller_Template->after()
196 $footer = View::factory($this->theme_prefix . "common/footer", array( 197 "js" => $this->js, 198 "theme_prefix" => $this->theme_prefix 199 )); 200 $this->template->footer = $footer; 201 parent::after(); 202 } 203 204 protected function orm_validation(ORM_Validation_Exception $ve, $type) 205 : array 206 {
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Common_Base->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 [ 125 ] » Kohana_Request->execute()
120 /** 121 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 122 * If no source is specified, the URI will be automatically detected. 123 */ 124 echo Request::factory(TRUE, [], FALSE) 125 ->execute() 126 ->send_headers(TRUE) 127 ->body(); 128 }