APPPATH/views/books/single.php [ 12 ]
7 <div id="content" class="books">
8 <div id="content-head">
9 <h1 class="title"><span></span><?=$title?></h1>
10 </div>
11 <div id="content-body">
12 <?php if (isset($book) && count($book)) { ?>
13 <div class="showcase">
14 <div class="abook">
15 <?php if (isset($book->image) && !empty($book->image)) { ?>
16 <img src="<?=$book->image?>" width="75" height="113" /></li>
17 <?php } # book image ?>
-
APPPATH/views/books/single.php [ 12 ] » Kohana_Core::error_handler()
7 <div id="content" class="books"> 8 <div id="content-head"> 9 <h1 class="title"><span></span><?=$title?></h1> 10 </div> 11 <div id="content-body"> 12 <?php if (isset($book) && count($book)) { ?> 13 <div class="showcase"> 14 <div class="abook"> 15 <?php if (isset($book->image) && !empty($book->image)) { ?> 16 <img src="<?=$book->image?>" width="75" height="113" /></li> 17 <?php } # book image ?>
-
APPPATH/views/_template.php [ 3 ] » require_once(arguments)
0
string(58) "/home/jhbwm/public_html/application/views/books/single.php"
1 <?php 2 require_once APPPATH . 'views/_header.php'; 3 require_once APPPATH . "views/{$template}.php"; 4 require_once APPPATH . 'views/_footer.php';
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(55) "/home/jhbwm/public_html/application/views/_template.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 [ 348 ] » Kohana_View::capture()
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
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 /** 233 * Display the exception message.
-
APPPATH/classes/Controller/Books.php [ 44 ] » Kohana_View->__toString()
39 $this->vars->book = $this->model_book->get_by( 40 array('slug' => $unsafe_slug, 'module' => $this->current_module->id)); 41 42 $this->title = isset($this->vars->book) ? $this->vars->book->title : 'Books By Dick'; 43 $this->template = "{$this->current_module->slug}/single"; 44 echo View::factory('_template', (array) $this->vars); 45 } 46 }
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Books->action_view()
79 array(':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(array('_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 [ 986 ] » Kohana_Request_Client->execute()
981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 109 ] » Kohana_Request->execute()
104 /** 105 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 106 * If no source is specified, the URI will be automatically detected. 107 */ 108 echo Request::factory() 109 ->execute() 110 ->send_headers() 111 ->body();