SYSPATH/classes/Kohana/View.php [ 257 ]
252 */
253 public function set_filename($file)
254 {
255 if (($path = Kohana::find_file('views', $file)) === FALSE)
256 {
257 throw new View_Exception('The requested view :file could not be found', array(
258 ':file' => $file,
259 ));
260 }
261
262 // Store the file path locally
-
SYSPATH/classes/Kohana/View.php [ 137 ] » Kohana_View->set_filename(arguments)
0
string(23) "pages/about/partners/ru"
132 */ 133 public function __construct($file = NULL, array $data = NULL) 134 { 135 if ($file !== NULL) 136 { 137 $this->set_filename($file); 138 } 139 140 if ($data !== NULL) 141 { 142 // Add the values to the current data
-
SYSPATH/classes/Kohana/View.php [ 30 ] » Kohana_View->__construct(arguments)
0
string(23) "pages/about/partners/ru"
1
NULL
25 * @param array $data array of values 26 * @return View 27 */ 28 public static function factory($file = NULL, array $data = NULL) 29 { 30 return new View($file, $data); 31 } 32 33 /** 34 * Captures the output that is generated when a view is included. 35 * The view data will be extracted to make local variables. This method
-
APPPATH/classes/Controller/Welcome.php [ 213 ] » Kohana_View::factory(arguments)
0
string(23) "pages/about/partners/ru"
208 209 $this->tags['title'] .= (' · ' . $this->page->title_eng); 210 211 } 212 213 $this->content = View::factory('pages/about/' . $this->request->param('id') . "/{$this->lang}") 214 ->set('page', $this->page); 215 216 } else { 217 218 $this->content = View::factory("pages/about/{$this->lang}")
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Welcome->action_about()
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(arguments)
0
object Controller_Welcome(19)
{ public params => array(2) ( "ru" => array(4) ( "shoes" => array(1) ( "Короткометражный художественный фильм «Туфельки»" => array(4) ( "calendar" => integer 2012 "flag" => string(80) "Россия, Беларусь, Польша, Чехия, Франция, США" "film" => string(76) "Драма, исторический, музыкальный, военный" "clock" => string(13) "19 минут" ) ) "brutus" => array(1) ( "Короткометражный художественный фильм «Брут»" => array(4) ( "calendar" => integer 2016 "flag" => string(70) "Россия, Украина, Беларусь, Румыния, США" "film" => string(52) "Драма, исторический, военный" "clock" => string(13) "35 минут" ) ) "violin" => array(1) ( "Короткометражный художественный фильм «Скрипка»" => array(4) ( "calendar" => integer 2017 "flag" => string(66) "Россия, США, Беларусь, Чехия, Израиль" "film" => string(52) "Драма, исторический, военный" "clock" => string(13) "35 минут" ) ) "witnesses" => array(1) ( "Полнометражный художественный фильм «Свидетели»" => array(4) ( "calendar" => integer 2018 "flag" => string(88) "Россия, Беларусь, Чехия, Франция, Польша, Израиль" "film" => string(52) "Драма, исторический, военный" "clock" => string(14) "104 минут" ) ) ) "en" => array(4) ( "shoes" => array(1) ( "Short narrative film «Shoes»" => array(4) ( "calendar" => integer 2012 "flag" => string(52) "Russia, Belarus, Poland, Czech Republic, France, USA" "film" => string(28) "Drama, history, musical, war" "clock" => string(10) "19 minutes" ) ) "brutus" => array(1) ( "Short narrative film «Brutus» " => array(4) ( "calendar" => integer 2016 "flag" => string(38) "Russia, Ukraine, Belarus, Romania, USA" "film" => string(19) "Drama, history, war" "clock" => string(10) "35 minutes" ) ) "violin" => array(1) ( "Short narrative film «Violin»" => array(4) ( "calendar" => integer 2017 "flag" => string(44) "Russia, USA, Belarus, Czech Republic, Israel" "film" => string(19) "Drama, history, war" "clock" => string(10) "35 minutes" ) ) "witnesses" => array(1) ( "Feature film «Witnesses»" => array(4) ( "calendar" => integer 2018 "flag" => string(55) "Russia, Belarus, Czech Republic, France, Poland, Israel" "film" => string(19) "Drama, history, war" "clock" => string(11) "104 minutes" ) ) ) ) protected admin => bool FALSE protected session => object Session_Cookie(5)
{ protected _name => string(7) "session" protected _lifetime => integer 15552000 protected _encrypted => bool FALSE protected _data => array(1) ( "lang" => string(2) "ru" ) protected _destroyed => bool FALSE }
protected styles => array(8) ( 0 => string(80) "https://fonts.googleapis.com/css?family=Merriweather:400,700,900&subset=cyrillic" 1 => string(99) "https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700&subset=latin,cyrillic" 2 => string(59) "content/themes/aletheme/shortcodes/shortcodes-ver=3.6.1.css" 3 => string(39) "content/themes/css/general-ver_orig.css" 4 => string(16) "vendor/slick.css" 5 => string(14) "css/custom.css" 6 => string(17) "icomoon/style.css" 7 => string(21) "css/customs.css?_t=30" ) protected scripts => array(8) ( 0 => string(43) "content/themes/js/libs/jquery-1.12.4.min.js" 1 => string(50) "includes/js/jquery/jquery-migrate.min.js?ver=1.2.1" 2 => string(23) "vendor/modernizr.min.js" 3 => string(33) "vendor/html5shiv-printshiv.min.js" 4 => string(19) "vendor/slick.min.js" 5 => string(35) "https://yastatic.net/share/share.js" 6 => string(32) "content/themes/js/svgxuse.min.js" 7 => string(32) "content/themes/js/custom.js?_t=3" ) protected ma => string(5) "about" protected lang => string(2) "ru" protected style_lang => string(2) "ru" protected page => object Model_Page(34){ protected _belongs_to => array(1) ( "page" => array(2) ( "foreign_key" => string(7) "page_id" "model" => string(4) "Page" ) ) protected _has_many => array(1) ( "page" => array(4) ( "foreign_key" => string(7) "page_id" "through" => NULL "far_key" => string(7) "page_id" "model" => string(4) "Page" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(13) ( "id" => string(2) "12" "url" => string(8) "partners" "body_class" => string(0) "" "keywords" => string(0) "" "description" => string(0) "" "title_rus" => string(16) "Партнеры" "title_eng" => string(8) "Partners" "title_ger" => string(0) "" "title_heb" => string(0) "" "text_rus" => string(0) "" "text_eng" => string(0) "" "text_ger" => string(0) "" "text_heb" => string(0) "" ) protected _changed => array(0) protected _original_values => array(13) ( "id" => string(2) "12" "url" => string(8) "partners" "body_class" => string(0) "" "keywords" => string(0) "" "description" => string(0) "" "title_rus" => string(16) "Партнеры" "title_eng" => string(8) "Partners" "title_ger" => string(0) "" "title_heb" => string(0) "" "text_rus" => string(0) "" "text_eng" => string(0) "" "text_ger" => string(0) "" "text_heb" => string(0) "" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL 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(13) ( "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" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "body_class" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "body_class" "column_default" => string(0) "" "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(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_rus" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "title_rus" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_eng" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "title_eng" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_ger" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "title_ger" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_heb" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "title_heb" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_rus" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "text_rus" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_eng" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "text_eng" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_ger" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "text_ger" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_heb" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "text_heb" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(2) "12" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
protected config => object Model_Config(34){ protected _connection_id => string(40) "7d24ec593bd7e8ee223653e2e6aed3cf26683514" protected _identifier => string(1) "`" public last_query => string(486) "SELECT `page`.`id` AS `id`, `page`.`url` AS `url`, `page`.`body_class` AS `body_class`, `page`.`keywords` AS `keywords`, `page`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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 _errors_filename => string(4) "page" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(20) "admin_witnessesmovie" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(7) ( "id" => string(1) "1" "site_name" => string(13) "«Witnesses»" "slogan" => string(0) "" "email" => string(0) "" "tel" => string(0) "" "keywords" => string(0) "" "description" => string(0) "" ) protected _changed => array(0) protected _original_values => array(7) ( "id" => string(1) "1" "site_name" => string(13) "«Witnesses»" "slogan" => string(0) "" "email" => string(0) "" "tel" => string(0) "" "keywords" => string(0) "" "description" => string(0) "" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(6) "config" protected _object_plural => string(7) "configs" protected _table_name => string(7) "configs" protected _table_columns => array(7) ( "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" ) "site_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "site_name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slogan" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(6) "slogan" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "email" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "email" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tel" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "tel" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "1" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
protected msg => string(0) "" protected header => string(6) "header" protected tags => array(5) ( "title" => string(59) "Свидетели · О проекте · Партнеры" "keywords" => string(0) "" "description" => string(0) "" "image" => string(0) "" "image_path" => string(29) "/img/2020/covers/about_ru.jpg" ) protected content => NULL protected langs => array(2) ( "en" => string(2) "EN" "ru" => string(2) "RU" ) public template => object View(2){ protected _connection_id => string(40) "7d24ec593bd7e8ee223653e2e6aed3cf26683514" protected _identifier => string(1) "`" public last_query => string(486) "SELECT `page`.`id` AS `id`, `page`.`url` AS `url`, `page`.`body_class` AS `body_class`, `page`.`keywords` AS `keywords`, `page`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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 _errors_filename => string(6) "config" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(20) "admin_witnessesmovie" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _file => string(79) "/home/admin/web/witnessesproject.com/public_html/application/views/template.php" protected _data => array(0) }
public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(42) "http://witnessesproject.com/about/partners" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(15) "<action>(/<id>)" protected _regex => array(1) ( "action" => string(19) "(about|photos|news)" ) protected _defaults => array(1) ( "controller" => string(7) "Welcome" ) protected _route_regex => string(63) "#^(?P<action>(about|photos|news))(?:/(?P<id>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Welcome" protected _action => string(5) "about" protected _uri => string(14) "about/partners" protected _external => bool FALSE protected _params => array(1) ( "id" => string(8) "partners" ) 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)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(42) "http://witnessesproject.com/about/partners" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(15) "<action>(/<id>)" protected _regex => array(1) ( "action" => string(19) "(about|photos|news)" ) protected _defaults => array(1) ( "controller" => string(7) "Welcome" ) protected _route_regex => string(63) "#^(?P<action>(about|photos|news))(?:/(?P<id>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Welcome" protected _action => string(5) "about" protected _uri => string(14) "about/partners" protected _external => bool FALSE protected _params => array(1) ( "id" => string(8) "partners" ) 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) }
}1
object 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 [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(42) "http://witnessesproject.com/about/partners" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(15) "<action>(/<id>)" protected _regex => array(1) ( "action" => string(19) "(about|photos|news)" ) protected _defaults => array(1) ( "controller" => string(7) "Welcome" ) protected _route_regex => string(63) "#^(?P<action>(about|photos|news))(?:/(?P<id>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Welcome" protected _action => string(5) "about" protected _uri => string(14) "about/partners" protected _external => bool FALSE protected _params => array(1) ( "id" => string(8) "partners" ) 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) }
}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 [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }