APPPATH/views/news_weekly.php [ 30 ]
25 <div id="content">
26 <div id="content-overlay"></div>
27 <div id="content-data">
28 <h1>My Weekly Articles</h1>
29 <ul id="archive-items">
30 <?php foreach ($weekly as $article): ?>
31 <?= $article['content'] ?>
32 <?php endforeach; ?>
33 </ul>
34
35 <? include Kohana::find_file('views', 'shared/footer'); ?>
-
APPPATH/views/news_weekly.php [ 30 ] » Kohana_Core::error_handler()
25 <div id="content"> 26 <div id="content-overlay"></div> 27 <div id="content-data"> 28 <h1>My Weekly Articles</h1> 29 <ul id="archive-items"> 30 <?php foreach ($weekly as $article): ?> 31 <?= $article['content'] ?> 32 <?php endforeach; ?> 33 </ul> 34 35 <? include Kohana::find_file('views', 'shared/footer'); ?> -
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0string(100) "/websites/123reg/LinuxPackage22/jo/hn/pa/johnparry.com/public_html/application/views/news_weekly.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(arguments)
0string(100) "/websites/123reg/LinuxPackage22/jo/hn/pa/johnparry.com/public_html/application/views/news_weekly.php"338 { 339 throw new Kohana_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); -
SYSPATH/classes/kohana/response.php [ 225 ] » Kohana_View->__toString()
220 public function body($content = NULL) 221 { 222 if ($content === NULL) 223 return $this->_body; 224 225 $this->_body = (string) $content; 226 return $this; 227 } 228 229 /** 230 * Gets or sets the HTTP protocol. The standard protocol to use -
APPPATH/classes/controller/news.php [ 85 ] » Kohana_Response->body(arguments)
0object View(2)
{ protected _file => string(100) "/websites/123reg/LinuxPackage22/jo/hn/pa/johnparry.com/public_html/application/views/news_weekly.php" protected _data => array(2) ( "posts" => array(1) ( 0 => array(18) ( "id" => integer 599 "type" => string(4) "post" "slug" => string(28) "madeira-islands-open-preview" "url" => string(64) "http://www.johnparry.com/admin/news/madeira-islands-open-preview" "status" => string(7) "publish" "title" => string(36) "Madeira Islands Open – Preview" "title_plain" => string(36) "Madeira Islands Open – Preview" "content" => string(1045) "<p>It feels good to be back at Santo de Serra this week for the Madeira Islands Open because I have flown here with some good me …" "excerpt" => string(339) "It feels good to be back at Santo de Serra this week for the Madeira Islands Open because I have flown here with some good memor …" "date" => string(19) "2013-05-16 09:37:47" "modified" => string(19) "2013-05-16 10:25:00" "categories" => array(1) ( 0 => array(6) ( ... ) ) "tags" => array(0) "author" => array(8) ( "id" => integer 1 "slug" => string(9) "johnparry" "name" => string(9) "johnparry" "first_name" => string(0) "" "last_name" => string(0) "" "nickname" => string(9) "johnparry" "url" => string(0) "" "description" => string(0) "" ) "comments" => array(0) "attachments" => array(0) "comment_count" => integer 0 "comment_status" => string(4) "open" ) ) "sidebar_image" => array(2) ( "guid" => string(64) "http://johnparry.com/admin/wp-content/uploads/2011/04/golf_7.jpg" "post_excerpt" => string(13) "On The Course" ) ) }80 81 $sidebar_image_set = ORM::factory('gallery'); 82 $sidebar_image = $sidebar_image_set->get_random_image(); 83 $view->set('sidebar_image', $sidebar_image); 84 85 $this->response->body($view); 86 } 87 } -
{PHP internal call} » Controller_News->action_weekly()
-
SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)
0object Controller_News(2)
{ public request => object Request(20){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }{ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "news" protected _action => string(6) "weekly" protected _uri => string(11) "news/weekly" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "/news/weekly" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1368871192 }public _injected_routes => array(0) }{ protected _status => integer 200 protected _header => object HTTP_Header(0)}{ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }1array(0)127 * Execute the main action with the parameters 128 * 129 * @deprecated $params passing is deprecated since version 3.1 130 * will be removed in 3.2. 131 */ 132 $method->invokeArgs($controller, $params); 133 134 // Execute the "after action" method 135 $class->getMethod('after')->invoke($controller); 136 137 // Stop response time -
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client_Internal->execute(arguments)
0object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5){ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }{ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "news" protected _action => string(6) "weekly" protected _uri => string(11) "news/weekly" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "/news/weekly" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1368871192 }public _injected_routes => array(0) }1133 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * 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();