APPPATH/views/site/car-details.php [ 14 ]
9 <p><a href="<?php echo URL_BASE; ?>buyback?price=<?php echo @$details[0]['price']; ?> ">360° 12-Month BuyBack Guarantee</a></p>
10 </div>
11 <?php } ?>
12 <div class="owl-carousel owl-theme car-details-carousel detailImages">
13 <?php foreach($images as $img){
14 if($img['car_id'] == $details[0]['id']){
15 ?>
16 <div class="item">
17 <div class="car-details-carousel-img">
18 <?php $image = str_replace('/var/www/sharedrive/auto/public/images/cars/',URL_BASE."public/images/cars/",$img['car_image']); ?>
19 <?php $image = str_replace('/var/www/sharedrive/auto/public/images/cars/',URL_BASE."public/images/cars/",$image); ?>
-
APPPATH/views/site/car-details.php [ 14 ] » Kohana_Core::error_handler()
9 <p><a href="<?php echo URL_BASE; ?>buyback?price=<?php echo @$details[0]['price']; ?> ">360° 12-Month BuyBack Guarantee</a></p> 10 </div> 11 <?php } ?> 12 <div class="owl-carousel owl-theme car-details-carousel detailImages"> 13 <?php foreach($images as $img){ 14 if($img['car_id'] == $details[0]['id']){ 15 ?> 16 <div class="item"> 17 <div class="car-details-carousel-img"> 18 <?php $image = str_replace('/var/www/sharedrive/auto/public/images/cars/',URL_BASE."public/images/cars/",$img['car_image']); ?> 19 <?php $image = str_replace('/var/www/sharedrive/auto/public/images/cars/',URL_BASE."public/images/cars/",$image); ?>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(63) "/var/www/sharedrive/auto/application/views/site/car-details.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/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.
-
SYSPATH/classes/Kohana/Response.php [ 196 ] » Kohana_View->__toString()
191 public function body($content = NULL) 192 { 193 if ($content === NULL) 194 return $this->_body; 195 196 $this->_body = (string) $content; 197 return $this; 198 } 199 200 /** 201 * Gets or sets the HTTP protocol. The standard protocol to use
-
APPPATH/classes/Controller/Details.php [ 31 ] » Kohana_Response->body()
26 $sql_images = "select * from owner_car_images where car_id = $getID"; 27 28 $details = DB::query(Database::SELECT,$sql)->execute()->as_array(); 29 $images = DB::query(Database::SELECT,$sql_images)->execute()->as_array(); 30 31 $this->response->body(View::factory('site/car-details')->bind('details',$details)->bind('images',$images)); 32 } 33 public function action_vehicleReview(){ 34 $this->auto_render = FALSE; 35 $url = $_SERVER['REQUEST_URI']; 36 $path = parse_url($url, PHP_URL_PATH);
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Details->action_vehicle()
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 [ 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/index.php [ 111 ] » Kohana_Request->execute()
106 /** 107 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 108 * If no source is specified, the URI will be automatically detected. 109 */ 110 echo Request::factory(TRUE, [], FALSE) 111 ->execute() 112 ->send_headers(TRUE) 113 ->body(); 114 }