APPPATH/classes/controller/twitter.php [ 16 ]
11 {
12 // Check allowed requests left from server IP - get json response and decode to array
13 $curr_rate = json_decode(file_get_contents("http://api.twitter.com/1/account/rate_limit_status.json", TRUE));
14
15 // Check remaining hits allowed
16 if ($curr_rate AND $curr_rate->remaining_hits > 0)
17 {
18 $twitter_data = json_decode(file_get_contents("http://twitter.com/status/user_timeline/therugrooms.json?count=3", TRUE));
19
20 // Cache twitter feed to avoid rate limit issue
21 $this->cache->set('tweets', $twitter_data);
-
APPPATH/classes/controller/twitter.php [ 16 ] » Kohana_Core::error_handler(arguments)
0integer 8
1string(45) "Undefined property: stdClass::$remaining_hits"2string(56) "/home/rgromero/app_public/classes/controller/twitter.php"3integer 16
4array(2) ( "http_response_header" => array(6) ( 0 => string(17) "HTTP/1.1 410 Gone" 1 => string(19) "content-length: 160" 2 => string(45) "content-type: application/json; charset=utf-8" 3 => string(35) "date: Thu, 20 Jun 2013 09:42:21 UTC" 4 => string(11) "server: tfe" 5 => string(112) "set-cookie: guest_id=v1%3A137172134134698408; Domain=.twitter.com; Path=/; Expires=Sat, 20-Jun-2015 09:42:21 UTC" ) "curr_rate" => object stdClass(1)
{ public errors => array(1) ( 0 => object stdClass(2)){ public message => string(119) "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview." public code => integer 68 }) }11 { 12 // Check allowed requests left from server IP - get json response and decode to array 13 $curr_rate = json_decode(file_get_contents("http://api.twitter.com/1/account/rate_limit_status.json", TRUE)); 14 15 // Check remaining hits allowed 16 if ($curr_rate AND $curr_rate->remaining_hits > 0) 17 { 18 $twitter_data = json_decode(file_get_contents("http://twitter.com/status/user_timeline/therugrooms.json?count=3", TRUE)); 19 20 // Cache twitter feed to avoid rate limit issue 21 $this->cache->set('tweets', $twitter_data); -
{PHP internal call} » Controller_Twitter->action_feed(arguments)
0string(12) "twitter/feed"1object Route(6)
{ protected _callback => NULL protected _uri => string(18) "twitter(/<action>)" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "twitter" "action" => string(4) "feed" ) protected _route_regex => string(43) "#^twitter(?:/(?P<action>[^/.,;?\n]++))?$#uD" } -
SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)
0object Controller_Twitter(5)
{ public template => object View(2){ protected _file => string(44) "/home/rgromero/app_public/views/template.php" protected _data => array(3) ( "styles" => array(0) "scripts" => array(0) "in_scripts" => array(0) ) }public auto_render => bool FALSE public request => object Request(18){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(6)public response => object Response(5){ protected _callback => NULL protected _uri => string(18) "twitter(/<action>)" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "twitter" "action" => string(4) "feed" ) protected _route_regex => string(43) "#^twitter(?:/(?P<action>[^/.,;?\n]++))?$#uD" }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(7) "twitter" protected _action => string(4) "feed" protected _uri => string(12) "twitter/feed" protected _external => bool FALSE protected _params => array(2) ( "uri" => string(12) "twitter/feed" "route" => object Route(6){ protected _callback => NULL protected _uri => string(18) "twitter(/<action>)" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "twitter" "action" => string(4) "feed" ) protected _route_regex => string(43) "#^twitter(?:/(?P<action>[^/.,;?\n]++))?$#uD" }) protected _get => NULL protected _post => NULL 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 1371721341 }}{ protected _status => integer 200 protected _header => object Http_Header(0)public cache => object Cache_File(2){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }{ protected _cache_dir => object SplFileInfo(0)}{ }protected _config => array(3) ( "driver" => string(4) "file" "cache_dir" => string(31) "/home/rgromero/app_public/cache" "default_expire" => integer 3600 ) }1array(2) ( "uri" => string(12) "twitter/feed" "route" => object Route(6)
{ protected _callback => NULL protected _uri => string(18) "twitter(/<action>)" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "twitter" "action" => string(4) "feed" ) protected _route_regex => string(43) "#^twitter(?:/(?P<action>[^/.,;?\n]++))?$#uD" })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 [ 964 ] » Kohana_Request_Client_Internal->execute(arguments)
0object Request(18)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(6){ protected _callback => NULL protected _uri => string(18) "twitter(/<action>)" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "twitter" "action" => string(4) "feed" ) protected _route_regex => string(43) "#^twitter(?:/(?P<action>[^/.,;?\n]++))?$#uD" }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(7) "twitter" protected _action => string(4) "feed" protected _uri => string(12) "twitter/feed" protected _external => bool FALSE protected _params => array(2) ( "uri" => string(12) "twitter/feed" "route" => object Route(6){ protected _callback => NULL protected _uri => string(18) "twitter(/<action>)" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "twitter" "action" => string(4) "feed" ) protected _route_regex => string(43) "#^twitter(?:/(?P<action>[^/.,;?\n]++))?$#uD" }) protected _get => NULL protected _post => NULL 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 1371721341 }}959 public function execute() 960 { 961 if ( ! $this->_client instanceof Kohana_Request_Client) 962 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(':uri', $this->uri)); 963 964 return $this->_client->execute($this); 965 } 966 967 /** 968 * Returns whether this request is the initial request Kohana received. 969 * Can be used to test for sub requests. -
APPPATH/views/home_social_tabs.php [ 40 ] » Kohana_Request->execute()
35 <a href = "#blogger">Visit our Blog</a> 36 </li> 37 </ul> 38 </div> 39 <div id = "twitter" class = "feed_body"> 40 <?php echo Request::factory('twitter/feed')->execute() ?> 41 </div> 42 <div id = "facebook" class = "feed_body"> 43 </div> 44 <div id = "blog" class = "feed_body"> 45 <?php echo Request::factory('our-thoughts/feed')->execute() ?> -
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0string(52) "/home/rgromero/app_public/views/home_social_tabs.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 [ 359 ] » Kohana_View::capture(arguments)
0string(52) "/home/rgromero/app_public/views/home_social_tabs.php"1array(0)354 { 355 throw new Kohana_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 } // 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/views/layout/standard.php [ 16 ] » Kohana_View->__toString()
11 ?> 12 </div> 13 <div id = "right_col"> 14 <?php 15 // Output social media feeds 16 echo $feed; 17 ?> 18 </div> 19 <div id = "main_body"> 20 <h2 class = "page_head" id = "<?php echo $slug ?>"> 21 <?php echo $title ?> -
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0string(51) "/home/rgromero/app_public/views/layout/standard.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 [ 359 ] » Kohana_View::capture(arguments)
0string(51) "/home/rgromero/app_public/views/layout/standard.php"1array(4) ( "title" => string(10) "What we do" "slug" => string(10) "what-we-do" "content" => string(837) "<p>A visit to The Rug Rooms is more of an experience, than a shopping trip. Our showroom is quirky and very welcoming, our colle …" "feed" => object View(2)
{ protected _file => string(52) "/home/rgromero/app_public/views/home_social_tabs.php" protected _data => array(0) })354 { 355 throw new Kohana_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 } // 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/views/template.php [ 63 ] » Kohana_View->__toString()
58 <div id="container"> 59 <div id="left_col"> 60 <?php echo $menu ?> 61 </div> 62 <div id = "wrapper"> 63 <?php echo $body ?> 64 </div> 65 </div> 66 <div id="footer"> 67 <div id="footer_content"> 68 <p class = "left"> -
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0string(44) "/home/rgromero/app_public/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 [ 359 ] » Kohana_View::capture(arguments)
0string(44) "/home/rgromero/app_public/views/template.php"1array(11) ( "title" => string(10) "What we do" "head" => string(0) "" "menu" => object View(2)
{ protected _file => string(40) "/home/rgromero/app_public/views/menu.php" protected _data => array(4) ( "pages" => object Database_MySQL_Result(7)"description" => string(152) "A visit to The Rug Rooms is more of an experience, than a shopping trip. Our showroom is quirky and very welcoming, our collecti …" "layout" => string(0) "" "content" => string(0) "" "footer_js" => string(0) "" "styles" => array(2) ( 0 => string(9) "reset.css" 1 => string(10) "layout.css" ) "scripts" => array(5) ( 0 => string(29) "jquery.swfobject.1-1-1.min.js" 1 => string(14) "jquery.jacg.js" 2 => string(26) "jquery.neosmart.fb.wall.js" 3 => string(28) "recent-filtered-v1.jquery.js" 4 => string(17) "jquery.timeago.js" ) "in_scripts" => array(1) ( 0 => object View(2){ protected _internal_row => integer 9 protected _query => string(103) "SELECT `pages`.* FROM `pages` WHERE `page_parent_id` IS NULL AND `status` = 1 ORDER BY `page_order` ASC" protected _result => resource(mysql result) protected _total_rows => integer 9 protected _current_row => integer 9 protected _as_object => string(10) "Model_Page" protected _object_params => NULL }"current" => string(10) "what-we-do" "bubble_holder" => string(11) "eleanor.gif" "bubble" => string(73) "Spring has Sprung! Replace that old jaded rug! Change from DRAB to FAB!" ) }{ protected _file => string(43) "/home/rgromero/app_public/views/js/main.php" protected _data => array(0) }) "body" => object View(2){ protected _file => string(51) "/home/rgromero/app_public/views/layout/standard.php" protected _data => array(4) ( "title" => string(10) "What we do" "slug" => string(10) "what-we-do" "content" => string(837) "<p>A visit to The Rug Rooms is more of an experience, than a shopping trip. Our showroom is quirky and very welcoming, our colle …" "feed" => object View(2)){ protected _file => string(52) "/home/rgromero/app_public/views/home_social_tabs.php" protected _data => array(0) }) }354 { 355 throw new Kohana_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 } // End View -
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 return parent::after(); 48 } 49 -
APPPATH/classes/controller/website.php [ 64 ] » Kohana_Controller_Template->after()
59 'styles' => $styles, 60 ) 61 ); 62 } 63 64 parent::after(); 65 } 66 } -
APPPATH/classes/controller/page.php [ 86 ] » Controller_Website->after()
81 'menu' => $menu, 82 ) 83 ); 84 } 85 86 parent::after(); 87 88 } 89 } 90 -
{PHP internal call} » Controller_Page->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 135 ] » ReflectionMethod->invoke(arguments)
0object Controller_Page(7)
{ public slug => string(10) "what-we-do" public page => object Model_Page(33){ protected _foreign_key => string(14) "page_parent_id" protected _has_many => array(1) ( "children" => array(4) ( "model" => string(4) "page" "foreign_key" => string(14) "page_parent_id" "through" => NULL "far_key" => string(8) "child_id" ) ) protected _belongs_to => array(2) ( "parent" => array(2) ( "model" => string(4) "page" "foreign_key" => string(14) "page_parent_id" ) "user" => array(2) ( "model" => string(4) "user" "foreign_key" => string(6) "author" ) ) protected _sorting => array(1) ( "page_order" => string(3) "asc" ) protected _primary_val => string(5) "title" protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(12) ( "id" => string(2) "55" "body" => string(837) "<p>A visit to The Rug Rooms is more of an experience, than a shopping trip. Our showroom is quirky and very welcoming, our colle …" "title" => string(10) "What we do" "status" => string(1) "1" "slug" => string(10) "what-we-do" "page_order" => string(1) "2" "updated_on" => NULL "author" => NULL "image_url" => string(0) "" "quicklink" => string(1) "0" "last_edited_by" => NULL "page_parent_id" => NULL ) protected _changed => array(0) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool TRUE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "page" protected _object_plural => string(5) "pages" protected _table_name => string(5) "pages" protected _table_columns => array(12) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "body" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "body" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "status" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "status" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "slug" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "200" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "page_order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "page_order" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "updated_on" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "updated_on" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "author" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "author" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "image_url" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "image_url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "quicklink" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "quicklink" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "last_edited_by" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(14) "last_edited_by" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "page_parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(14) "page_parent_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(2) "55" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)public template => object View(2){ protected _connection_id => string(40) "2fce5682d7254439425d8a1dce8f049a55ded328" protected _identifier => string(1) "`" public last_query => string(120) "SELECT `pages`.* FROM `pages` WHERE `pages`.`page_parent_id` = '62' AND `status` = '1' ORDER BY `pages`.`page_order` ASC" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "rgromero_website" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) }{ protected _file => string(44) "/home/rgromero/app_public/views/template.php" protected _data => array(11) ( "title" => string(10) "What we do" "head" => string(0) "" "menu" => object View(2)public auto_render => bool TRUE public request => object Request(18){ protected _file => string(40) "/home/rgromero/app_public/views/menu.php" protected _data => array(4) ( "pages" => object Database_MySQL_Result(7)"description" => string(152) "A visit to The Rug Rooms is more of an experience, than a shopping trip. Our showroom is quirky and very welcoming, our collecti …" "layout" => string(0) "" "content" => string(0) "" "footer_js" => string(0) "" "styles" => array(2) ( 0 => string(9) "reset.css" 1 => string(10) "layout.css" ) "scripts" => array(5) ( 0 => string(29) "jquery.swfobject.1-1-1.min.js" 1 => string(14) "jquery.jacg.js" 2 => string(26) "jquery.neosmart.fb.wall.js" 3 => string(28) "recent-filtered-v1.jquery.js" 4 => string(17) "jquery.timeago.js" ) "in_scripts" => array(1) ( 0 => object View(2){ protected _internal_row => integer 9 protected _query => string(103) "SELECT `pages`.* FROM `pages` WHERE `page_parent_id` IS NULL AND `status` = 1 ORDER BY `page_order` ASC" protected _result => resource(mysql result) protected _total_rows => integer 9 protected _current_row => integer 9 protected _as_object => string(10) "Model_Page" protected _object_params => NULL }"current" => string(10) "what-we-do" "bubble_holder" => string(11) "eleanor.gif" "bubble" => string(73) "Spring has Sprung! Replace that old jaded rug! Change from DRAB to FAB!" ) }{ protected _file => string(43) "/home/rgromero/app_public/views/js/main.php" protected _data => array(0) }) "body" => object View(2){ protected _file => string(51) "/home/rgromero/app_public/views/layout/standard.php" protected _data => array(4) ( "title" => string(10) "What we do" "slug" => string(10) "what-we-do" "content" => string(837) "<p>A visit to The Rug Rooms is more of an experience, than a shopping trip. Our showroom is quirky and very welcoming, our colle …" "feed" => object View(2)) }{ protected _file => string(52) "/home/rgromero/app_public/views/home_social_tabs.php" protected _data => array(0) }) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "HTTP" protected _referrer => NULL protected _route => object Route(6)public response => object Response(5){ protected _callback => NULL protected _uri => string(19) "(<slug1>(/<slug2>))" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(63) "#^(?:(?P<slug1>[^/.,;?\n]++)(?:/(?P<slug2>[^/.,;?\n]++))?)?$#uD" }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) "page" protected _action => string(5) "index" protected _uri => string(10) "what-we-do" protected _external => bool FALSE protected _params => array(3) ( "slug1" => string(10) "what-we-do" "uri" => string(10) "what-we-do" "route" => object Route(6){ protected _callback => NULL protected _uri => string(19) "(<slug1>(/<slug2>))" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(63) "#^(?:(?P<slug1>[^/.,;?\n]++)(?:/(?P<slug2>[^/.,;?\n]++))?)?$#uD" }) protected _get => array(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 1371721341 }}{ protected _status => integer 200 protected _header => object Http_Header(0)public cache => object Cache_File(2){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "HTTP" }{ protected _cache_dir => object SplFileInfo(0)}{ }protected _config => array(3) ( "driver" => string(4) "file" "cache_dir" => string(31) "/home/rgromero/app_public/cache" "default_expire" => integer 3600 ) }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 138 $this->_response_time = (time() - $this->_response_time); 139 140 // Add the default Content-Type header to initial request if not present -
SYSPATH/classes/kohana/request.php [ 964 ] » Kohana_Request_Client_Internal->execute(arguments)
0object Request(18)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "HTTP" protected _referrer => NULL protected _route => object Route(6){ protected _callback => NULL protected _uri => string(19) "(<slug1>(/<slug2>))" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(63) "#^(?:(?P<slug1>[^/.,;?\n]++)(?:/(?P<slug2>[^/.,;?\n]++))?)?$#uD" }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) "page" protected _action => string(5) "index" protected _uri => string(10) "what-we-do" protected _external => bool FALSE protected _params => array(3) ( "slug1" => string(10) "what-we-do" "uri" => string(10) "what-we-do" "route" => object Route(6){ protected _callback => NULL protected _uri => string(19) "(<slug1>(/<slug2>))" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(63) "#^(?:(?P<slug1>[^/.,;?\n]++)(?:/(?P<slug2>[^/.,;?\n]++))?)?$#uD" }) protected _get => array(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 1371721341 }}959 public function execute() 960 { 961 if ( ! $this->_client instanceof Kohana_Request_Client) 962 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(':uri', $this->uri)); 963 964 return $this->_client->execute($this); 965 } 966 967 /** 968 * Returns whether this request is the initial request Kohana received. 969 * 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();

