APPPATH/classes/Controller/Site/Articles.php [ 97 ]
92 'pagination' => $pages,
93 '_settings' => $_settings,
94 'menu_name' => $men->articles_cat_name,
95
96 ));*/
97 $this->template->site_description = $men->articles_cat_name.' - '.$this->template->site_description;
98 $this->template->site_keywords = $men->articles_cat_name.', '.$this->template->site_keywords;
99 $this->template->title = $men->articles_cat_name;
100 // Вывод в шаблон
101 $this->template->content = array($content);
102 }
-
APPPATH/classes/Controller/Site/Articles.php [ 97 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(23) "Undefined variable: men"
2
string(109) "/home/users/s/stanislav2030/domains/stroitelstvo-dorog178.ru/application/classes/Controller/Site/Articles.php"
3
integer 97
4
array(17) ( "_settings" => array(2) ( "articles_admin_count_row_page" => string(2) "30" "articles_cat_admin_count_row_page" => string(2) "30" ) "_main_settings" => array(21) ( "main_site_name" => string(27) "Без предоплаты" "main_site_description" => string(185) "Строительство дорог в Санкт-Петербурге и Ленинградской области. Гарантия, собственная спец. техника." "main_site_keywords" => string(108) "отсыпка участка, отсыпка дороги, укладка асфальтной крошки" "main_site_photo_count" => string(2) "12" "main_site_index_text_name" => string(45) "Строительство дорог, СПБ" "main_site_photo_cat_count" => string(2) "12" "main_site_mail_send_from" => string(40) "stanislav@reklama072.ru, info@resh178.ru" "main_site_mail_send_theme" => string(48) "Новый заказ с кнопки сайта" "main_site_phone" => string(16) "+7(812)920-87-94" "main_site_address" => string(65) "г. Санкт-Петербург, ул. Гаврская, 3 к.2" "main_site_mail_send_to" => string(40) "stanislav@reklama072.ru, info@resh178.ru" "main_site_phone_footer" => string(15) "info@resh178.ru" "main_site_phone_header" => string(16) "+7(812)920-87-94" "site_count_news" => string(4) "1000" "main_site_phone_header2" => string(23) "ООО "Решение"" "emailo" => string(65) "г. Санкт-Петербург, ул. Гаврская, 3 к.2" "otzivi_email" => string(15) "info@resh178.ru" "job-time" => string(2) "12" "main_site_phone_href" => string(16) "+7(812)920-87-94" "main_site_post" => string(15) "info@resh178.ru" "copyright" => string(23) "ООО "Решение"" ) "articles_alias" => string(12) "nashi-obekti" "select" => string(22) "/articles/nashi-obekti" "page" => string(1) "3" "flag" => integer 0 "menu" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 0 protected _query => string(536) "SELECT `menu`.`menu_id` AS `menu_id`, `menu`.`menu_name` AS `menu_name`, `menu`.`menu_comment` AS `menu_comment`, `menu`.`menu_a …" protected _result => resource(mysql result) protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(10) "Model_Menu" protected _object_params => NULL }
"articles_cat" => object Model_Articlescat(34){ protected _table_name => string(12) "articles_cat" protected _primary_key => string(15) "articles_cat_id" protected _db_group => string(7) "default" protected _has_many => array(1) ( "Articles" => array(4) ( "foreign_key" => string(24) "articles_articles_cat_id" "through" => NULL "far_key" => string(10) "article_id" "model" => string(8) "Articles" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(7) ( "articles_cat_id" => string(2) "16" "articles_cat_name" => string(23) "Наши объекты" "articles_cat_alias" => string(12) "nashi-obekti" "articles_cat_comment" => string(0) "" "articles_cat_date" => string(19) "2018-04-01 00:00:00" "articles_cat_click" => string(1) "0" "articles_cat_basket" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(7) ( "articles_cat_id" => string(2) "16" "articles_cat_name" => string(23) "Наши объекты" "articles_cat_alias" => string(12) "nashi-obekti" "articles_cat_comment" => string(0) "" "articles_cat_date" => string(19) "2018-04-01 00:00:00" "articles_cat_click" => string(1) "0" "articles_cat_basket" => string(1) "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(11) "articlescat" protected _object_plural => string(12) "articlescats" protected _table_columns => array(7) ( "articles_cat_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(15) "articles_cat_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_name" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "articles_cat_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_alias" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "articles_cat_alias" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "100" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_comment" => array(12) ( "type" => string(6) "string" "column_name" => string(20) "articles_cat_comment" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_date" => array(10) ( "type" => string(6) "string" "column_name" => string(17) "articles_cat_date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_click" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(18) "articles_cat_click" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_basket" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(19) "articles_cat_basket" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(1) "1" "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_value => string(2) "16" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"articles_menu_id" => string(2) "16" "col_articles" => integer 124 "pages" => array(6) ( "pages" => string(158) "<ul> <li><a class="arrow" href="/articles/nashi-obekti?page=2"><</a></li><li><a class='page' href='/articles/nashi- …" "dblimit" => string(9) "2000,1000" "start" => integer 2000 "pagecount" => float 1 "pageshow" => string(58) "<div class="left">Показано 2001-124 из 124</div>" "pageall" => string(73) "<a href="/articles/nashi-obekti?page=showall">Показать все</a>" ) "theme" => object Database_MySQL_Result(7){ protected _connection_id => string(40) "3770f6c026ce2a187feb687505c2b7545ceb6099" protected _identifier => string(1) "`" public last_query => string(141) "SELECT `theme`.`theme_id` AS `theme_id`, `theme`.`theme_name` AS `theme_name`, `theme`.`theme_value` AS `theme_value` FROM `them …" 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(22) "stanislav2030_redesign" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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(11) "articlescat" }{ protected _internal_row => integer 45 protected _query => string(141) "SELECT `theme`.`theme_id` AS `theme_id`, `theme`.`theme_name` AS `theme_name`, `theme`.`theme_value` AS `theme_value` FROM `them …" protected _result => resource(mysql result) protected _total_rows => integer 45 protected _current_row => integer 45 protected _as_object => string(11) "Model_Theme" protected _object_params => NULL }
"all_articles" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(1116) "SELECT `articles`.`articles_id` AS `articles_id`, `articles`.`articles_name` AS `articles_name`, `articles`.`articles_title_page …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Articles" protected _object_params => NULL }
"mas" => string(0) "" "i" => integer 1 "th" => object Model_Theme(34){ protected _table_name => string(5) "theme" protected _primary_key => string(8) "theme_id" protected _db_group => string(7) "default" 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(3) ( "theme_id" => string(2) "46" "theme_name" => string(6) "ythref" "theme_value" => string(1) "2" ) protected _changed => array(0) protected _original_values => array(3) ( "theme_id" => string(2) "46" "theme_name" => string(6) "ythref" "theme_value" => string(1) "2" ) 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(5) "theme" protected _object_plural => string(6) "themes" protected _table_columns => array(3) ( "theme_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "theme_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "theme_name" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "theme_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "theme_value" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "theme_value" "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(18) "utf8mb3_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_value => string(2) "46" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"thememass" => array(45) ( "contentbackcolor" => string(6) "1252b3" "contentfontcolor" => string(6) "000333" "headerfontcolot" => string(6) "f3f3f3" "headercall" => string(6) "333333" "headercallfont" => string(6) "1252b3" "headermenu" => string(6) "1252b3" "headermenuhover" => string(6) "ffffff" "headermenufont" => string(6) "073780" "headermenufonthover" => string(6) "333333" "footercolor" => string(6) "292929" "footermenucolor" => string(6) "1c1c1c" "footermenufontcolor" => string(6) "cccccc" "footeraddress" => string(6) "1252b3" "logopicture" => string(3) "png" "sitefont" => string(6) "1252b3" "bgcolor" => string(6) "f7f7f7" "telcolor" => string(6) "d5a738" "menulineone" => string(6) "1d2124" "menulinetwo" => string(6) "ffffff" "footertelcolor" => string(6) "ffffff" "sliderwidth" => string(6) "ffffff" "butsvsgradtop" => string(6) "ffffff" "butsvsgradbot" => string(6) "1252b3" "butsvsborder" => string(6) "ffffff" "butfont" => string(6) "073780" "formgradbot" => string(6) "1252b3" "formgradtop" => string(6) "333999" "refcolor" => string(6) "ffffff" "topline" => string(6) "3e3e3e" "soca" => string(6) "1252b3" "toplinehref" => string(6) "d5a738" "toplinetxt" => string(6) "cfcfcf" "socialnet" => string(1) "2" "vkyes" => string(1) "2" "vkhref" => string(9) "vkontakte" "fbyes" => string(1) "2" "fbhref" => string(1) "2" "twitteryes" => string(1) "2" "twitterhref" => string(9) "vkontakte" "instagramyes" => string(1) "2" "instagramhref" => string(1) "2" "whatsappyes" => string(1) "2" "whatsapphref" => string(1) "2" "ytyes" => string(1) "2" "ythref" => string(1) "2" ) ){ protected _connection_id => string(40) "3770f6c026ce2a187feb687505c2b7545ceb6099" protected _identifier => string(1) "`" public last_query => string(141) "SELECT `theme`.`theme_id` AS `theme_id`, `theme`.`theme_name` AS `theme_name`, `theme`.`theme_value` AS `theme_value` FROM `them …" 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(22) "stanislav2030_redesign" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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(5) "theme" }92 'pagination' => $pages, 93 '_settings' => $_settings, 94 'menu_name' => $men->articles_cat_name, 95 96 ));*/ 97 $this->template->site_description = $men->articles_cat_name.' - '.$this->template->site_description; 98 $this->template->site_keywords = $men->articles_cat_name.', '.$this->template->site_keywords; 99 $this->template->title = $men->articles_cat_name; 100 // Вывод в шаблон 101 $this->template->content = array($content); 102 }
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site_Articles->action_index()
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_Site_Articles(5)
{ public template => object View(2)
{ protected _file => string(90) "/home/users/s/stanislav2030/domains/stroitelstvo-dorog178.ru/application/views/v_index.php" protected _data => array(14) ( "site_name" => string(27) "Без предоплаты" "site_description" => string(185) "Строительство дорог в Санкт-Петербурге и Ленинградской области. Гарантия, собственная спец. техника." "site_keywords" => string(108) "отсыпка участка, отсыпка дороги, укладка асфальтной крошки" "page_title" => string(18) "Материалы" "title" => string(18) "Материалы" "styles" => array(3) ( 0 => string(18) "site/css/style.css" 1 => string(23) "site/css/calculator.css" 2 => string(25) "site/css/font-awesome.css" ) "scripts" => array(5) ( 0 => string(27) "site/lib/lazyload/plugin.js" 1 => string(23) "site/lib/fancybox/js.js" 2 => string(32) "site/lib/owl/owl.carousel.min.js" 3 => string(16) "site/js/event.js" 4 => string(31) "librarys/jsibox/jsibox_basic.js" ) "block_left" => NULL "block_center" => NULL "block_right" => NULL "theme" => array(45) ( "contentbackcolor" => string(6) "1252b3" "contentfontcolor" => string(6) "000333" "headerfontcolot" => string(6) "f3f3f3" "headercall" => string(6) "333333" "headercallfont" => string(6) "1252b3" "headermenu" => string(6) "1252b3" "headermenuhover" => string(6) "ffffff" "headermenufont" => string(6) "073780" "headermenufonthover" => string(6) "333333" "footercolor" => string(6) "292929" "footermenucolor" => string(6) "1c1c1c" "footermenufontcolor" => string(6) "cccccc" "footeraddress" => string(6) "1252b3" "logopicture" => string(3) "png" "sitefont" => string(6) "1252b3" "bgcolor" => string(6) "f7f7f7" "telcolor" => string(6) "d5a738" "menulineone" => string(6) "1d2124" "menulinetwo" => string(6) "ffffff" "footertelcolor" => string(6) "ffffff" "sliderwidth" => string(6) "ffffff" "butsvsgradtop" => string(6) "ffffff" "butsvsgradbot" => string(6) "1252b3" "butsvsborder" => string(6) "ffffff" "butfont" => string(6) "073780" "formgradbot" => string(6) "1252b3" "formgradtop" => string(6) "333999" "refcolor" => string(6) "ffffff" "topline" => string(6) "3e3e3e" "soca" => string(6) "1252b3" "toplinehref" => string(6) "d5a738" "toplinetxt" => string(6) "cfcfcf" "socialnet" => string(1) "2" "vkyes" => string(1) "2" "vkhref" => string(9) "vkontakte" "fbyes" => string(1) "2" "fbhref" => string(1) "2" "twitteryes" => string(1) "2" "twitterhref" => string(9) "vkontakte" "instagramyes" => string(1) "2" "instagramhref" => string(1) "2" "whatsappyes" => string(1) "2" "whatsapphref" => string(1) "2" "ytyes" => string(1) "2" "ythref" => string(1) "2" ) "_main_settings" => array(21) ( "main_site_name" => string(27) "Без предоплаты" "main_site_description" => string(185) "Строительство дорог в Санкт-Петербурге и Ленинградской области. Гарантия, собственная спец. техника." "main_site_keywords" => string(108) "отсыпка участка, отсыпка дороги, укладка асфальтной крошки" "main_site_photo_count" => string(2) "12" "main_site_index_text_name" => string(45) "Строительство дорог, СПБ" "main_site_photo_cat_count" => string(2) "12" "main_site_mail_send_from" => string(40) "stanislav@reklama072.ru, info@resh178.ru" "main_site_mail_send_theme" => string(48) "Новый заказ с кнопки сайта" "main_site_phone" => string(16) "+7(812)920-87-94" "main_site_address" => string(65) "г. Санкт-Петербург, ул. Гаврская, 3 к.2" "main_site_mail_send_to" => string(40) "stanislav@reklama072.ru, info@resh178.ru" "main_site_phone_footer" => string(15) "info@resh178.ru" "main_site_phone_header" => string(16) "+7(812)920-87-94" "site_count_news" => string(4) "1000" "main_site_phone_header2" => string(23) "ООО "Решение"" "emailo" => string(65) "г. Санкт-Петербург, ул. Гаврская, 3 к.2" "otzivi_email" => string(15) "info@resh178.ru" "job-time" => string(2) "12" "main_site_phone_href" => string(16) "+7(812)920-87-94" "main_site_post" => string(15) "info@resh178.ru" "copyright" => string(23) "ООО "Решение"" ) "main_menu" => object Response(5)
protected session => object Session_Native(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"footer_menu" => object Response(5){ }
protected _body => string(3284) "<li> <a href="/article/prays-list" > <span>Прайс</span> </a> </li> <li> <a href="/articles/uslugi" …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) }{ }
protected _body => string(2180) "<ul id="footer_menu"> <li> <a title="Фотоотчеты" href="/article/fotootcheti" >Фотоотчеты</a> </l …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
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 => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(30) "(<controller>(/<id>(/<page>)))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(4) "site" "controller" => string(5) "index" "action" => string(5) "index" "page" => string(1) "1" ) protected _route_regex => string(93) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<page>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(8) "Articles" protected _action => string(5) "index" protected _uri => string(21) "articles/nashi-obekti" protected _external => bool FALSE protected _params => array(2) ( "id" => string(12) "nashi-obekti" "page" => string(1) "1" ) protected _get => array(1) ( "page" => string(1) "3" ) 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 => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(30) "(<controller>(/<id>(/<page>)))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(4) "site" "controller" => string(5) "index" "action" => string(5) "index" "page" => string(1) "1" ) protected _route_regex => string(93) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<page>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(8) "Articles" protected _action => string(5) "index" protected _uri => string(21) "articles/nashi-obekti" protected _external => bool FALSE protected _params => array(2) ( "id" => string(12) "nashi-obekti" "page" => string(1) "1" ) protected _get => array(1) ( "page" => string(1) "3" ) 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 => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(30) "(<controller>(/<id>(/<page>)))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(4) "site" "controller" => string(5) "index" "action" => string(5) "index" "page" => string(1) "1" ) protected _route_regex => string(93) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<page>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(8) "Articles" protected _action => string(5) "index" protected _uri => string(21) "articles/nashi-obekti" protected _external => bool FALSE protected _params => array(2) ( "id" => string(12) "nashi-obekti" "page" => string(1) "1" ) protected _get => array(1) ( "page" => string(1) "3" ) 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 }