MODPATH/database/classes/Database/MySQLi.php [ 79 ]
74 catch (Exception $e)
75 {
76 // No connection exists
77 $this->_connection = NULL;
78
79 throw new Database_Exception(':error',
80 array(':error' => $e->getMessage()),
81 $e->getCode());
82 }
83
84 // \xFF is a better delimiter, but the PHP driver uses underscore
-
MODPATH/database/classes/Database/MySQLi.php [ 177 ] » Database_MySQLi->connect()
172 } 173 174 public function query($type, $sql, $as_object = FALSE, array $params = NULL) 175 { 176 // Make sure the database is connected 177 $this->_connection or $this->connect(); 178 179 if (Kohana::$profiling) 180 { 181 // Benchmark this query for the current instance 182 $benchmark = Profiler::start("Database ({$this->_instance})", $sql); -
MODPATH/database/classes/Database/MySQLi.php [ 358 ] » Database_MySQLi->query(arguments)
0integer 1
1string(39) "SHOW FULL COLUMNS FROM `execs_searches`"2bool FALSE
353 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 354 } 355 else 356 { 357 // Find all column names 358 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 359 } 360 361 $count = 0; 362 $columns = array(); 363 foreach ($result as $row) -
MODPATH/orm/classes/Kohana/ORM.php [ 1675 ] » Database_MySQLi->list_columns(arguments)
0string(16) "`execs_searches`"1670 * @return array 1671 */ 1672 public function list_columns() 1673 { 1674 // Proxy to database 1675 return $this->_db->list_columns($this->_table_name); 1676 } 1677 1678 /** 1679 * Returns an ORM model for the given one-one related alias 1680 * -
MODPATH/orm/classes/Kohana/ORM.php [ 444 ] » Kohana_ORM->list_columns()
439 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 440 } 441 else 442 { 443 // Grab column information from database 444 $this->_table_columns = $this->list_columns(); 445 446 // Load column cache 447 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 448 } 449 } -
MODPATH/orm/classes/Kohana/ORM.php [ 389 ] » Kohana_ORM->reload_columns()
384 { 385 $this->{$property} = $value; 386 } 387 388 // Load column information 389 $this->reload_columns(); 390 391 // Clear initial model state 392 $this->clear(); 393 } 394 -
MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize()
249 * 250 * @param mixed $id Parameter for find or object to load 251 */ 252 public function __construct($id = NULL) 253 { 254 $this->_initialize(); 255 256 if ($id !== NULL) 257 { 258 if (is_array($id)) 259 { -
MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct(arguments)
0NULL
41 public static function factory($model, $id = NULL) 42 { 43 // Set class name 44 $model = 'Model_'.$model; 45 46 return new $model($id); 47 } 48 49 /** 50 * "Has one" relationships 51 * @var array -
APPPATH/views/website/includes/quick_search_form.php [ 4 ] » Kohana_ORM::factory(arguments)
0string(12) "Model_Search"1 <div class="quick_search_form"> 2 <?php 3 if (!isset($search)) { 4 $search = ORM::Factory('Search'); 5 } 6 $search_root = $search->get_search_root_link($config); 7 ?> 8 <form method="get" action="<?php echo $search_root; ?>"> 9 <span class="search_title">Search non-profit jobs:</span> -
APPPATH/views/website/includes/header.php [ 171 ] » include(arguments)
0string(73) "/var/app/current/application/views/website/includes/quick_search_form.php"166 </ul> 167 </div> 168 169 <div class="search_responsive"> 170 <h4>Search Non-profit Jobs</h4> 171 <?php include('quick_search_form.php'); ?> 172 <script type="text/javascript"> 173 $(function(){ 174 ES.Search.initSearchBox('.search_responsive'); 175 }); 176 </script> -
APPPATH/views/website/template.php [ 16 ] » include(arguments)
0string(62) "/var/app/current/application/views/website/includes/header.php"11 12 <body class=" columned_page whiteblocked_page"> 13 14 <?php 15 $header_search = false; 16 include('includes/header.php'); 17 ?> 18 19 <?php echo $content; ?> 20 21 <?php include('includes/footer.php'); ?> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(55) "/var/app/current/application/views/website/template.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(arguments)
0string(55) "/var/app/current/application/views/website/template.php"1array(4) ( "content" => object View(2)
{ protected _file => string(62) "/var/app/current/application/views/website/templated/error.php" protected _data => array(1) ( "config" => object Config_Group(30)"page" => array(4) ( "slug" => string(0) "" "title" => NULL "description" => NULL "keywords" => NULL ) "config" => object Config_Group(30){ public address => string(24) "https://execsearches.com" public address_fancy => string(16) "execsearches.com" public server_folder => string(16) "/var/app/current" public name => string(12) "ExecSearches" public title => string(22) "ExecSearches Job Board" public description => string(142) "A niche non-profit job board for executive, fundraising and management jobs in non-profit, healthcare, government and education …" public keywords => string(231) "non-profit jobs, non-profit, nonprofit, nonprofit jobs, executive, jobs, job board, health, government, education, fundraising, …" public google_analytics_id => string(12) "UA-1770850-1" public admin_email => array(2) ( 0 => string(22) "admin@execsearches.com" 1 => string(15) "fjayhall@me.com" ) public log_email => bool FALSE public search_root => string(14) "nonprofit-jobs" public search_default_results_by_page => integer 25 public search_default_order_by => string(9) "relevance" public search_default_radius => integer 100 public search_default_radius_max => integer 150 public rss_address => string(8) "/rss.xml" public social_twitter_user => string(12) "ExecSearches" public contact_email => string(24) "contact@execsearches.com" public contact_main_address_street => string(20) "7855 Meadow Park Dr." public contact_main_address_apartment => string(7) "Suite C" public contact_main_address_area_one => string(16) "Dallas, TX 75230" public contact_main_phone => string(14) "(888) 238-6611" public contact_main_time_frame => string(17) "6:30am-5:30pm PST" public legal_name => string(22) "ExecSearches.com, Inc." public newsletter_subscribe_address => string(19) "http://goo.gl/kg16C" public daily_update_running_on => string(104) "Monday 00:30, Tuesday 00:30, Wednesday 00:30, Thursday 00:30, Friday 00:30, Saturday 00:30, Sunday 00:30" public admin_results_by_page => integer 40 public account_jobs_by_page => integer 20 public account_invoices_by_page => integer 20 public paypal_account_email => string(15) "fjayhall@me.com" }) }{ public address => string(24) "https://execsearches.com" public address_fancy => string(16) "execsearches.com" public server_folder => string(16) "/var/app/current" public name => string(12) "ExecSearches" public title => string(22) "ExecSearches Job Board" public description => string(142) "A niche non-profit job board for executive, fundraising and management jobs in non-profit, healthcare, government and education …" public keywords => string(231) "non-profit jobs, non-profit, nonprofit, nonprofit jobs, executive, jobs, job board, health, government, education, fundraising, …" public google_analytics_id => string(12) "UA-1770850-1" public admin_email => array(2) ( 0 => string(22) "admin@execsearches.com" 1 => string(15) "fjayhall@me.com" ) public log_email => bool FALSE public search_root => string(14) "nonprofit-jobs" public search_default_results_by_page => integer 25 public search_default_order_by => string(9) "relevance" public search_default_radius => integer 100 public search_default_radius_max => integer 150 public rss_address => string(8) "/rss.xml" public social_twitter_user => string(12) "ExecSearches" public contact_email => string(24) "contact@execsearches.com" public contact_main_address_street => string(20) "7855 Meadow Park Dr." public contact_main_address_apartment => string(7) "Suite C" public contact_main_address_area_one => string(16) "Dallas, TX 75230" public contact_main_phone => string(14) "(888) 238-6611" public contact_main_time_frame => string(17) "6:30am-5:30pm PST" public legal_name => string(22) "ExecSearches.com, Inc." public newsletter_subscribe_address => string(19) "http://goo.gl/kg16C" public daily_update_running_on => string(104) "Monday 00:30, Tuesday 00:30, Wednesday 00:30, Thursday 00:30, Friday 00:30, Saturday 00:30, Sunday 00:30" public admin_results_by_page => integer 40 public account_jobs_by_page => integer 20 public account_invoices_by_page => integer 20 public paypal_account_email => string(15) "fjayhall@me.com" }"state" => object stdClass(6){ public is_logged => bool FALSE public user => NULL public profile => NULL public is_admin => bool FALSE public is_recruiter => bool FALSE public return_url => NULL })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 [ 160 ] » Kohana_View->__toString()
155 public function body($content = NULL) 156 { 157 if ($content === NULL) 158 return $this->_body; 159 160 $this->_body = (string) $content; 161 return $this; 162 } 163 164 /** 165 * Gets or sets the HTTP protocol. The standard protocol to use -
APPPATH/classes/Controller/Website.php [ 36 ] » Kohana_Response->body(arguments)
0object View(2)
{ protected _file => string(55) "/var/app/current/application/views/website/template.php" protected _data => array(4) ( "content" => object View(2){ protected _file => string(62) "/var/app/current/application/views/website/templated/error.php" protected _data => array(1) ( "config" => object Config_Group(30)"page" => array(4) ( "slug" => string(0) "" "title" => NULL "description" => NULL "keywords" => NULL ) "config" => object Config_Group(30){ public address => string(24) "https://execsearches.com" public address_fancy => string(16) "execsearches.com" public server_folder => string(16) "/var/app/current" public name => string(12) "ExecSearches" public title => string(22) "ExecSearches Job Board" public description => string(142) "A niche non-profit job board for executive, fundraising and management jobs in non-profit, healthcare, government and education …" public keywords => string(231) "non-profit jobs, non-profit, nonprofit, nonprofit jobs, executive, jobs, job board, health, government, education, fundraising, …" public google_analytics_id => string(12) "UA-1770850-1" public admin_email => array(2) ( 0 => string(22) "admin@execsearches.com" 1 => string(15) "fjayhall@me.com" ) public log_email => bool FALSE public search_root => string(14) "nonprofit-jobs" public search_default_results_by_page => integer 25 public search_default_order_by => string(9) "relevance" public search_default_radius => integer 100 public search_default_radius_max => integer 150 public rss_address => string(8) "/rss.xml" public social_twitter_user => string(12) "ExecSearches" public contact_email => string(24) "contact@execsearches.com" public contact_main_address_street => string(20) "7855 Meadow Park Dr." public contact_main_address_apartment => string(7) "Suite C" public contact_main_address_area_one => string(16) "Dallas, TX 75230" public contact_main_phone => string(14) "(888) 238-6611" public contact_main_time_frame => string(17) "6:30am-5:30pm PST" public legal_name => string(22) "ExecSearches.com, Inc." public newsletter_subscribe_address => string(19) "http://goo.gl/kg16C" public daily_update_running_on => string(104) "Monday 00:30, Tuesday 00:30, Wednesday 00:30, Thursday 00:30, Friday 00:30, Saturday 00:30, Sunday 00:30" public admin_results_by_page => integer 40 public account_jobs_by_page => integer 20 public account_invoices_by_page => integer 20 public paypal_account_email => string(15) "fjayhall@me.com" }) }{ public address => string(24) "https://execsearches.com" public address_fancy => string(16) "execsearches.com" public server_folder => string(16) "/var/app/current" public name => string(12) "ExecSearches" public title => string(22) "ExecSearches Job Board" public description => string(142) "A niche non-profit job board for executive, fundraising and management jobs in non-profit, healthcare, government and education …" public keywords => string(231) "non-profit jobs, non-profit, nonprofit, nonprofit jobs, executive, jobs, job board, health, government, education, fundraising, …" public google_analytics_id => string(12) "UA-1770850-1" public admin_email => array(2) ( 0 => string(22) "admin@execsearches.com" 1 => string(15) "fjayhall@me.com" ) public log_email => bool FALSE public search_root => string(14) "nonprofit-jobs" public search_default_results_by_page => integer 25 public search_default_order_by => string(9) "relevance" public search_default_radius => integer 100 public search_default_radius_max => integer 150 public rss_address => string(8) "/rss.xml" public social_twitter_user => string(12) "ExecSearches" public contact_email => string(24) "contact@execsearches.com" public contact_main_address_street => string(20) "7855 Meadow Park Dr." public contact_main_address_apartment => string(7) "Suite C" public contact_main_address_area_one => string(16) "Dallas, TX 75230" public contact_main_phone => string(14) "(888) 238-6611" public contact_main_time_frame => string(17) "6:30am-5:30pm PST" public legal_name => string(22) "ExecSearches.com, Inc." public newsletter_subscribe_address => string(19) "http://goo.gl/kg16C" public daily_update_running_on => string(104) "Monday 00:30, Tuesday 00:30, Wednesday 00:30, Thursday 00:30, Friday 00:30, Saturday 00:30, Sunday 00:30" public admin_results_by_page => integer 40 public account_jobs_by_page => integer 20 public account_invoices_by_page => integer 20 public paypal_account_email => string(15) "fjayhall@me.com" }"state" => object stdClass(6){ public is_logged => bool FALSE public user => NULL public profile => NULL public is_admin => bool FALSE public is_recruiter => bool FALSE public return_url => NULL }) }31 //Session state 32 $state = $this->state(); 33 $this->view->bind('state', $state); 34 35 36 $this->response->body($this->view); 37 } 38 } 39 40 public function page($key = null, $value = null) 41 { -
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Website->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 [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Website_Info(6)
{ protected view => object View(2){ protected _file => string(55) "/var/app/current/application/views/website/template.php" protected _data => array(4) ( "content" => object View(2)protected page => array(4) ( "slug" => string(0) "" "title" => NULL "description" => NULL "keywords" => NULL ) protected config => object Config_Group(30){ protected _file => string(62) "/var/app/current/application/views/website/templated/error.php" protected _data => array(1) ( "config" => object Config_Group(30)"page" => array(4) ( "slug" => string(0) "" "title" => NULL "description" => NULL "keywords" => NULL ) "config" => object Config_Group(30){ public address => string(24) "https://execsearches.com" public address_fancy => string(16) "execsearches.com" public server_folder => string(16) "/var/app/current" public name => string(12) "ExecSearches" public title => string(22) "ExecSearches Job Board" public description => string(142) "A niche non-profit job board for executive, fundraising and management jobs in non-profit, healthcare, government and education …" public keywords => string(231) "non-profit jobs, non-profit, nonprofit, nonprofit jobs, executive, jobs, job board, health, government, education, fundraising, …" public google_analytics_id => string(12) "UA-1770850-1" public admin_email => array(2) ( 0 => string(22) "admin@execsearches.com" 1 => string(15) "fjayhall@me.com" ) public log_email => bool FALSE public search_root => string(14) "nonprofit-jobs" public search_default_results_by_page => integer 25 public search_default_order_by => string(9) "relevance" public search_default_radius => integer 100 public search_default_radius_max => integer 150 public rss_address => string(8) "/rss.xml" public social_twitter_user => string(12) "ExecSearches" public contact_email => string(24) "contact@execsearches.com" public contact_main_address_street => string(20) "7855 Meadow Park Dr." public contact_main_address_apartment => string(7) "Suite C" public contact_main_address_area_one => string(16) "Dallas, TX 75230" public contact_main_phone => string(14) "(888) 238-6611" public contact_main_time_frame => string(17) "6:30am-5:30pm PST" public legal_name => string(22) "ExecSearches.com, Inc." public newsletter_subscribe_address => string(19) "http://goo.gl/kg16C" public daily_update_running_on => string(104) "Monday 00:30, Tuesday 00:30, Wednesday 00:30, Thursday 00:30, Friday 00:30, Saturday 00:30, Sunday 00:30" public admin_results_by_page => integer 40 public account_jobs_by_page => integer 20 public account_invoices_by_page => integer 20 public paypal_account_email => string(15) "fjayhall@me.com" }) }{ public address => string(24) "https://execsearches.com" public address_fancy => string(16) "execsearches.com" public server_folder => string(16) "/var/app/current" public name => string(12) "ExecSearches" public title => string(22) "ExecSearches Job Board" public description => string(142) "A niche non-profit job board for executive, fundraising and management jobs in non-profit, healthcare, government and education …" public keywords => string(231) "non-profit jobs, non-profit, nonprofit, nonprofit jobs, executive, jobs, job board, health, government, education, fundraising, …" public google_analytics_id => string(12) "UA-1770850-1" public admin_email => array(2) ( 0 => string(22) "admin@execsearches.com" 1 => string(15) "fjayhall@me.com" ) public log_email => bool FALSE public search_root => string(14) "nonprofit-jobs" public search_default_results_by_page => integer 25 public search_default_order_by => string(9) "relevance" public search_default_radius => integer 100 public search_default_radius_max => integer 150 public rss_address => string(8) "/rss.xml" public social_twitter_user => string(12) "ExecSearches" public contact_email => string(24) "contact@execsearches.com" public contact_main_address_street => string(20) "7855 Meadow Park Dr." public contact_main_address_apartment => string(7) "Suite C" public contact_main_address_area_one => string(16) "Dallas, TX 75230" public contact_main_phone => string(14) "(888) 238-6611" public contact_main_time_frame => string(17) "6:30am-5:30pm PST" public legal_name => string(22) "ExecSearches.com, Inc." public newsletter_subscribe_address => string(19) "http://goo.gl/kg16C" public daily_update_running_on => string(104) "Monday 00:30, Tuesday 00:30, Wednesday 00:30, Thursday 00:30, Friday 00:30, Saturday 00:30, Sunday 00:30" public admin_results_by_page => integer 40 public account_jobs_by_page => integer 20 public account_invoices_by_page => integer 20 public paypal_account_email => string(15) "fjayhall@me.com" }"state" => object stdClass(6){ public is_logged => bool FALSE public user => NULL public profile => NULL public is_admin => bool FALSE public is_recruiter => bool FALSE public return_url => NULL }) }{ public address => string(24) "https://execsearches.com" public address_fancy => string(16) "execsearches.com" public server_folder => string(16) "/var/app/current" public name => string(12) "ExecSearches" public title => string(22) "ExecSearches Job Board" public description => string(142) "A niche non-profit job board for executive, fundraising and management jobs in non-profit, healthcare, government and education …" public keywords => string(231) "non-profit jobs, non-profit, nonprofit, nonprofit jobs, executive, jobs, job board, health, government, education, fundraising, …" public google_analytics_id => string(12) "UA-1770850-1" public admin_email => array(2) ( 0 => string(22) "admin@execsearches.com" 1 => string(15) "fjayhall@me.com" ) public log_email => bool FALSE public search_root => string(14) "nonprofit-jobs" public search_default_results_by_page => integer 25 public search_default_order_by => string(9) "relevance" public search_default_radius => integer 100 public search_default_radius_max => integer 150 public rss_address => string(8) "/rss.xml" public social_twitter_user => string(12) "ExecSearches" public contact_email => string(24) "contact@execsearches.com" public contact_main_address_street => string(20) "7855 Meadow Park Dr." public contact_main_address_apartment => string(7) "Suite C" public contact_main_address_area_one => string(16) "Dallas, TX 75230" public contact_main_phone => string(14) "(888) 238-6611" public contact_main_time_frame => string(17) "6:30am-5:30pm PST" public legal_name => string(22) "ExecSearches.com, Inc." public newsletter_subscribe_address => string(19) "http://goo.gl/kg16C" public daily_update_running_on => string(104) "Monday 00:30, Tuesday 00:30, Wednesday 00:30, Thursday 00:30, Friday 00:30, Saturday 00:30, Sunday 00:30" public admin_results_by_page => integer 40 public account_jobs_by_page => integer 20 public account_invoices_by_page => integer 20 public paypal_account_email => string(15) "fjayhall@me.com" }protected state => array(6) ( "is_logged" => bool FALSE "user" => NULL "profile" => NULL "is_admin" => bool FALSE "is_recruiter" => bool FALSE "return_url" => NULL ) public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(7) "Website" "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 => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(7) "Website" protected _controller => string(4) "Info" protected _action => string(5) "error" protected _uri => string(10) "info/error" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}{ protected _status => integer 200 protected _header => object HTTP_Header(0)}{ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }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(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(7) "Website" "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 => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(7) "Website" protected _controller => string(4) "Info" protected _action => string(5) "error" protected _uri => string(10) "info/error" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}1object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }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 [ 993 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(7) "Website" "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 => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(7) "Website" protected _controller => string(4) "Info" protected _action => string(5) "error" protected _uri => string(10) "info/error" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests. -
APPPATH/classes/HTTP/Exception.php [ 27 ] » Kohana_Request->execute()
22 } 23 else 24 { 25 // Generate a nicer looking "Oops" page. 26 $errorPageRequest = Request::factory('info/error'); 27 $response = $errorPageRequest->execute(); 28 29 /* 30 $view = View::factory('website/error_default') 31 ->bind('site_config', $site_config); 32 -
SYSPATH/classes/Kohana/Request.php [ 983 ] » HTTP_Exception->get_response()
978 if ( ! $this->_route instanceof Route) 979 { 980 return HTTP_Exception::factory(404, 'Unable to find a route to match the URI: :uri', array( 981 ':uri' => $this->_uri, 982 ))->request($this) 983 ->get_response(); 984 } 985 986 if ( ! $this->_client instanceof Request_Client) 987 { 988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( -
DOCROOT/index.php [ 120 ] » Kohana_Request->execute()
115 /** 116 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 117 * If no source is specified, the URI will be automatically detected. 118 */ 119 echo Request::factory(TRUE, array(), FALSE) 120 ->execute() 121 ->send_headers(TRUE) 122 ->body(); 123 }