MODPATH/cache/classes/Kohana/Cache/File.php [ 476 ]
471 $lifetime = (int) $data->fgets();
472
473 // If we're at the EOF at this point, corrupted!
474 if ($data->eof())
475 {
476 throw new Cache_Exception(__METHOD__ . ' corrupted cache file!');
477 }
478
479 //close file
480 $data = null;
481
-
MODPATH/cache/classes/Kohana/Cache/File.php [ 144 ] » Kohana_Cache_File->_is_expired(arguments)
0
object SplFileInfo(0)
{ }
139 return $default; 140 } 141 else 142 { 143 // Test the expiry 144 if ($this->_is_expired($file)) 145 { 146 // Delete the file 147 $this->_delete_file($file, FALSE, TRUE); 148 return $default; 149 }
-
APPPATH/classes/Controller/Index.php [ 190 ] » Kohana_Cache_File->get(arguments)
0
string(14) "base_redirects"
185 } 186 187 //Ручные редиректы 188 if(!$this->request->is_ajax()) 189 { 190 if( !$res_ss = Cache::instance()->get('base_redirects')) 191 { 192 $sql_ss = 'SELECT `to` FROM `seo_redirects` WHERE `from` = '."'".addslashes($_SERVER['REQUEST_URI'])."' AND `active` = 1"; 193 $res_ss = DB::query(Database::SELECT,$sql_ss)->execute()->as_array(); 194 Cache::instance()->set('base_redirects', $res_ss, Date::HOUR * 1); 195 }
-
APPPATH/classes/Controller/Index/Catalogue.php [ 8 ] » Controller_Index->before()
3 * Каталог 4 */ 5 class Controller_Index_Catalogue extends Controller_Index { 6 7 public function before() { 8 parent::before(); 9 10 if(mb_strtolower($this->request->action()) !== 'fastview' && mb_strtolower($this->request->action()) !== 'ajaxsendreview' && $this->request->is_initial()) 11 { 12 throw new HTTP_Exception_404(); 13 }
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Index_Catalogue->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 104 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Index_Catalogue(18)
{ public template => object View(2)
{ protected _file => string(72) "/var/www/www-root/data/www/moysvet.ru/application/views/index/v_base.php" protected _data => array(11) ( "site_name" => string(15) "Мой Свет" "site_description" => string(15) "Мой Свет" "page_title" => NULL "title" => NULL "styles" => array(0) "scripts" => array(0) "block_left" => NULL "block_center" => NULL "block_right" => NULL "showviewed" => bool TRUE "popup_menu" => array(11) ( 0 => array(4) ( "alias" => string(16) "/catalog/lyustri" "image" => string(28) "/media/img/categories/12.png" "title" => string(12) "Люстры" "inner" => array(2) ( "main" => array(2) ( 0 => array(3) ( "alias" => string(28) "/catalog/potolochnie-lyustri" "title" => string(33) "Потолочные люстры" "image" => string(30) "/media/img/categories/2545.png" ) 1 => array(3) ( "alias" => string(26) "/catalog/podvesnie-lyustri" "title" => string(31) "Подвесные люстры" "image" => string(30) "/media/img/categories/2551.png" ) ) "dops" => array(1) ( 0 => array(3) ( "visible" => integer 1 "title" => string(20) "Популярные" "links" => array(1) ( 0 => array(3) ( "alias" => string(21) "/svetodiodnie-lyustri" "title" => string(37) "Светодиодные люстры" "visible" => string(1) "1" ) ) ) ) ) ) 1 => array(4) ( "alias" => string(19) "/catalog/svetilniki" "image" => string(30) "/media/img/categories/2544.png" "title" => string(22) "Светильники" "inner" => array(2) ( "main" => array(7) ( 0 => array(3) ( "alias" => string(31) "/catalog/potolochnie-svetilniki" "title" => string(43) "Потолочные светильники" "image" => string(30) "/media/img/categories/2552.png" ) 1 => array(3) ( "alias" => string(29) "/catalog/podvesnie-svetilniki" "title" => string(41) "Подвесные светильники" "image" => string(30) "/media/img/categories/2553.png" ) 2 => array(3) ( "alias" => string(29) "/catalog/nastennie-svetilniki" "title" => string(41) "Настенные светильники" "image" => string(30) "/media/img/categories/2556.png" ) 3 => array(3) ( "alias" => string(32) "/catalog/vstraivaemie-svetilniki" "title" => string(47) "Встраиваемые светильники" "image" => string(28) "/media/img/categories/19.png" ) 4 => array(3) ( "alias" => string(14) "/catalog/spoti" "title" => string(10) "Споты" "image" => string(30) "/media/img/categories/2567.png" ) 5 => array(3) ( "alias" => string(28) "/catalog/mebelnie-svetilniki" "title" => string(41) "Мебельные светильники" "image" => string(28) "/media/img/categories/20.png" ) 6 => array(3) ( "alias" => string(17) "/catalog/nochniki" "title" => string(14) "Ночники" "image" => string(30) "/media/img/categories/2606.png" ) ) "dops" => array(0) ) ) 2 => array(4) ( "alias" => string(24) "/catalog/bra-i-podsvetki" "image" => string(28) "/media/img/categories/13.png" "title" => string(28) "Бра и подсветки" "inner" => array(2) ( "main" => array(3) ( 0 => array(3) ( "alias" => string(12) "/catalog/bra" "title" => string(6) "Бра" "image" => string(30) "/media/img/categories/2555.png" ) 1 => array(3) ( "alias" => string(30) "/catalog/podsvetki-dlya-kartin" "title" => string(38) "Подсветки для картин" "image" => string(28) "/media/img/categories/18.png" ) 2 => array(3) ( "alias" => string(30) "/catalog/podsvetki-dlya-zerkal" "title" => string(38) "Подсветки для зеркал" "image" => string(29) "/media/img/categories/968.png" ) ) "dops" => array(0) ) ) 3 => array(4) ( "alias" => string(24) "/catalog/nastolnie-lampi" "image" => string(28) "/media/img/categories/14.png" "title" => string(31) "Настольные лампы" "inner" => array(2) ( "main" => array(0) "dops" => array(0) ) ) 4 => array(4) ( "alias" => string(17) "/catalog/torsheri" "image" => string(28) "/media/img/categories/15.png" "title" => string(14) "Торшеры" "inner" => array(2) ( "main" => array(0) "dops" => array(0) ) ) 5 => array(4) ( "alias" => string(37) "/catalog/trekovie-sistemi-osvesheniya" "image" => string(29) "/media/img/categories/969.png" "title" => string(50) "Трековые системы освещения" "inner" => array(2) ( "main" => array(3) ( 0 => array(3) ( "alias" => string(27) "/catalog/shinnie-svetilniki" "title" => string(35) "Шинные светильники" "image" => string(30) "/media/img/categories/2569.png" ) 1 => array(3) ( "alias" => string(28) "/catalog/strunnie-svetilniki" "title" => string(39) "Струнные светильники" "image" => string(30) "/media/img/categories/2568.png" ) 2 => array(3) ( "alias" => string(28) "/catalog/trekovie-svetilniki" "title" => string(39) "Трековые светильники" "image" => string(30) "/media/img/categories/2570.png" ) ) "dops" => array(0) ) ) 6 => array(4) ( "alias" => string(28) "/catalog/ulichnie-svetilniki" "image" => string(30) "/media/img/categories/2587.png" "title" => string(37) "Уличные светильники" "inner" => array(2) ( "main" => array(9) ( 0 => array(3) ( "alias" => string(24) "/catalog/ulichnie-fonari" "title" => string(27) "Уличные фонари" "image" => string(28) "/media/img/categories/43.png" ) 1 => array(3) ( "alias" => string(38) "/catalog/ulichnie-nastennie-svetilniki" "title" => string(56) "Уличные настенные светильники" "image" => string(28) "/media/img/categories/44.png" ) 2 => array(3) ( "alias" => string(38) "/catalog/ulichnie-podvesnie-svetilniki" "title" => string(56) "Уличные подвесные светильники" "image" => string(28) "/media/img/categories/45.png" ) 3 => array(3) ( "alias" => string(27) "/catalog/potolochnie-fonari" "title" => string(58) "Уличные потолочные светильники" "image" => string(30) "/media/img/categories/2612.png" ) 4 => array(3) ( "alias" => string(29) "/catalog/gruntovie-svetilniki" "title" => string(41) "Грунтовые светильники" "image" => string(28) "/media/img/categories/48.png" ) 5 => array(3) ( "alias" => string(23) "/catalog/sadovie-figuri" "title" => string(27) "Садовые фигуры" "image" => string(28) "/media/img/categories/49.png" ) 6 => array(3) ( "alias" => string(18) "/catalog/girlyandi" "title" => string(16) "Гирлянды" "image" => string(28) "/media/img/categories/29.png" ) 7 => array(3) ( "alias" => string(27) "/catalog/sadovie-aksessuari" "title" => string(35) "Садовые аксессуары" "image" => string(29) "/media/img/categories/966.png" ) 8 => array(3) ( "alias" => string(23) "/catalog/ruchnie-fonari" "title" => string(25) "Ручные фонари" "image" => string(30) "/media/img/categories/2502.png" ) ) "dops" => array(0) ) ) 7 => array(4) ( "alias" => string(32) "/catalog/svetodiodnaya-podsvetka" "image" => string(30) "/media/img/categories/2583.png" "title" => string(43) "Светодиодная подсветка" "inner" => array(2) ( "main" => array(6) ( 0 => array(3) ( "alias" => string(28) "/catalog/svetodiodnaya-lenta" "title" => string(35) "Светодиодная лента" "image" => string(28) "/media/img/categories/21.png" ) 1 => array(3) ( "alias" => string(47) "/catalog/bloki-pitaniya-dlya-svetodiodnoy-lenti" "title" => string(68) "Блоки питания для светодиодной ленты" "image" => string(28) "/media/img/categories/26.png" ) 2 => array(3) ( "alias" => string(44) "/catalog/kontrolleri-dlya-svetodiodnoy-lenti" "title" => string(65) "Контроллеры для светодиодной ленты" "image" => string(28) "/media/img/categories/27.png" ) 3 => array(3) ( "alias" => string(40) "/catalog/profili-dlya-svetodiodnoy-lenti" "title" => string(57) "Профили для светодиодной ленты" "image" => string(30) "/media/img/categories/1015.png" ) 4 => array(3) ( "alias" => string(47) "/catalog/komplektuyushie-dlya-svetodiodnih-lent" "title" => string(67) "Комплектующие для светодиодных лент" "image" => string(30) "/media/img/categories/2513.png" ) 5 => array(3) ( "alias" => string(29) "/catalog/svetodiodnie-lineyki" "title" => string(39) "Светодиодные линейки" "image" => string(28) "/media/img/categories/23.png" ) ) "dops" => array(0) ) ) 8 => array(4) ( "alias" => string(14) "/catalog/lampi" "image" => string(28) "/media/img/categories/30.png" "title" => string(10) "Лампы" "inner" => array(2) ( "main" => array(5) ( 0 => array(3) ( "alias" => string(27) "/catalog/svetodiodnie-lampi" "title" => string(35) "Светодиодные лампы" "image" => string(30) "/media/img/categories/2559.png" ) 1 => array(3) ( "alias" => string(25) "/catalog/galogennie-lampi" "title" => string(31) "Галогенные лампы" "image" => string(30) "/media/img/categories/2561.png" ) 2 => array(3) ( "alias" => string(31) "/catalog/lyuminestsentnie-lampi" "title" => string(39) "Люминесцентные лампы" "image" => string(30) "/media/img/categories/2563.png" ) 3 => array(3) ( "alias" => string(27) "/catalog/lampi-nakalivaniya" "title" => string(33) "Лампы накаливания" "image" => string(30) "/media/img/categories/2562.png" ) 4 => array(3) ( "alias" => string(32) "/catalog/metallogalogennie-lampi" "title" => string(45) "Металлогалогенные лампы" "image" => string(30) "/media/img/categories/2564.png" ) ) "dops" => array(0) ) ) 9 => array(4) ( "alias" => string(41) "/catalog/komplektuyushie-dlya-svetilnikov" "image" => string(27) "/media/img/categories/7.png" "title" => string(58) "Комплектующие для светильников" "inner" => array(2) ( "main" => array(8) ( 0 => array(3) ( "alias" => string(35) "/catalog/elektronnie-transformatori" "title" => string(51) "Электронные трансформаторы" "image" => string(28) "/media/img/categories/31.png" ) 1 => array(3) ( "alias" => string(34) "/catalog/pulti-du-dlya-svetilnikov" "title" => string(49) "Пульты ДУ для светильников" "image" => string(28) "/media/img/categories/36.png" ) 2 => array(3) ( "alias" => string(28) "/catalog/patroni-dlya-lyustr" "title" => string(32) "Патроны для люстр" "image" => string(28) "/media/img/categories/34.png" ) 3 => array(3) ( "alias" => string(23) "/catalog/setevie-shnuri" "title" => string(25) "Сетевые шнуры" "image" => string(28) "/media/img/categories/35.png" ) 4 => array(3) ( "alias" => string(40) "/catalog/sredstva-dlya-chistki-hrustalya" "title" => string(53) "Средства для чистки хрусталя" "image" => string(28) "/media/img/categories/33.png" ) 5 => array(3) ( "alias" => string(17) "/catalog/abazhuri" "title" => string(14) "Абажуры" "image" => string(28) "/media/img/categories/41.png" ) 6 => array(3) ( "alias" => string(16) "/catalog/plafoni" "title" => string(14) "Плафоны" "image" => string(28) "/media/img/categories/42.png" ) 7 => array(3) ( "alias" => string(31) "/catalog/viklyuchateli-dlya-bra" "title" => string(36) "Выключатели для бра" "image" => string(28) "/media/img/categories/39.png" ) ) "dops" => array(0) ) ) 10 => array(4) ( "alias" => string(33) "/catalog/promishlennie-svetilniki" "image" => string(30) "/media/img/categories/2593.png" "title" => string(47) "Промышленные светильники" "inner" => array(2) ( "main" => array(2) ( 0 => array(3) ( "alias" => string(43) "/catalog/podvesnie-promishlennie-svetilniki" "title" => string(66) "Подвесные промышленные светильники" "image" => string(28) "/media/img/categories/56.png" ) 1 => array(3) ( "alias" => string(29) "/catalog/avariynie-svetilniki" "title" => string(41) "Аварийные светильники" "image" => string(30) "/media/img/categories/2609.png" ) ) "dops" => array(0) ) ) ) ) }
protected mtime_s => float 0 protected mtime_e => float 0 protected tqr => string(2) "NL" protected ipadr => string(7) "0.0.0.0" protected ntime => integer 0 protected uinfo => string(2) "NL" protected uuri => string(2) "NL" protected uurl => string(2) "NL" protected seo_page_entity => NULL protected canonical_url => string(68) "https://moysvet.ru/product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected user => NULL protected auth => object Auth_ORM(2){ protected _session => object Session_Database(11)
protected cache => object Cache_File(2){ protected _db => object Database_MySQLi(6)
protected _config => object Config_Group(7){ protected _connection_id => string(40) "2b1b319918fc922e7b474ea615cae62cad1b5d46" protected _identifier => string(1) "`" public last_query => string(94) "SELECT * FROM `seo_pages` WHERE `alias` = '/product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh'" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _table => string(8) "sessions" protected _columns => array(3) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "66068d9f581b32-21649857" protected _update_id => NULL protected _name => string(11) "cookie_name" protected _lifetime => integer 43200 protected _encrypted => string(7) "default" protected _data => array(1) ( "sesid" => string(32) "44f5fc86b13f296fc95eb5cd4e154398" ) protected _destroyed => bool FALSE }{ 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(12) "0.0.0.0:3310" "database" => string(7) "bd_svet" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ public driver => string(3) "ORM" public hash_method => string(6) "sha256" public hash_key => string(16) "asjdhas6f2e12kas" public lifetime => integer 1209600 public session_type => string(8) "database" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _cache_dir => object SplFileInfo(0)
protected session => object Session_Database(11){ }
protected _config => array(3) ( "driver" => string(4) "file" "cache_dir" => string(55) "/var/www/www-root/data/www/moysvet.ru/application/cache" "default_expire" => integer 3600 ) }{ protected _db => object Database_MySQLi(6)
public auto_render => bool TRUE public request => object Request(19){ protected _connection_id => string(40) "2b1b319918fc922e7b474ea615cae62cad1b5d46" protected _identifier => string(1) "`" public last_query => string(94) "SELECT * FROM `seo_pages` WHERE `alias` = '/product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh'" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _table => string(8) "sessions" protected _columns => array(3) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "66068d9f581b32-21649857" protected _update_id => NULL protected _name => string(11) "cookie_name" protected _lifetime => integer 43200 protected _encrypted => string(7) "default" protected _data => array(1) ( "sesid" => string(32) "44f5fc86b13f296fc95eb5cd4e154398" ) protected _destroyed => bool FALSE }{ 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(12) "0.0.0.0:3310" "database" => string(7) "bd_svet" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(53) "catalogue(/<action>(/spr<seo_param>)(/c<cat>)(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(5) "index" "controller" => string(9) "catalogue" ) protected _route_regex => string(135) "#^catalogue(?:/(?P<action>[^/.,;?\n]++)(?:/spr(?P<seo_param>[^/.,;?\n]++))?(?:/c(?P<cat>[^/.,;?\n]++))?(?:/(?P<id>[^/.,;?\n]++)) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(9) "Catalogue" protected _action => string(4) "view" protected _uri => string(56) "catalogue/view/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected _external => bool FALSE protected _params => array(3) ( "seo_param" => string(0) "" "cat" => string(0) "" "id" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) protected _get => array(1) ( "alias" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) 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.0" }99 100 // Create a new instance of the controller 101 $controller = $class->newInstance($request, $response); 102 103 // Run the controller's execute() method 104 $response = $class->getMethod('execute')->invoke($controller); 105 106 if ( ! $response instanceof Response) 107 { 108 // Controller failed to return a Response. 109 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.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(53) "catalogue(/<action>(/spr<seo_param>)(/c<cat>)(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(5) "index" "controller" => string(9) "catalogue" ) protected _route_regex => string(135) "#^catalogue(?:/(?P<action>[^/.,;?\n]++)(?:/spr(?P<seo_param>[^/.,;?\n]++))?(?:/c(?P<cat>[^/.,;?\n]++))?(?:/(?P<id>[^/.,;?\n]++)) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(9) "Catalogue" protected _action => string(4) "view" protected _uri => string(56) "catalogue/view/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected _external => bool FALSE protected _params => array(3) ( "seo_param" => string(0) "" "cat" => string(0) "" "id" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) protected _get => array(1) ( "alias" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) 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.0" }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)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(53) "catalogue(/<action>(/spr<seo_param>)(/c<cat>)(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(5) "index" "controller" => string(9) "catalogue" ) protected _route_regex => string(135) "#^catalogue(?:/(?P<action>[^/.,;?\n]++)(?:/spr(?P<seo_param>[^/.,;?\n]++))?(?:/c(?P<cat>[^/.,;?\n]++))?(?:/(?P<id>[^/.,;?\n]++)) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(9) "Catalogue" protected _action => string(4) "view" protected _uri => string(56) "catalogue/view/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected _external => bool FALSE protected _params => array(3) ( "seo_param" => string(0) "" "cat" => string(0) "" "id" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) protected _get => array(1) ( "alias" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) 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/Controller/Index/Product.php [ 61 ] » Kohana_Request->execute()
56 $content = View::factory('index/main/v_fastview')->bind('product',$product); 57 echo $content; 58 } 59 else 60 { 61 echo Request::factory('catalogue/view/'.$alias)->query('alias',$alias)->execute(); 62 } 63 } 64 } 65 66 // Отображение всех товаров вне зависимости от категории
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Product->action_product()
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 [ 104 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Index_Product(18)
{ public template => object View(2)
{ protected _file => string(72) "/var/www/www-root/data/www/moysvet.ru/application/views/index/v_base.php" protected _data => array(15) ( "site_name" => string(15) "Мой Свет" "site_description" => string(15) "Мой Свет" "page_title" => NULL "title" => NULL "styles" => array(3) ( 0 => string(44) "media/css/fancybox/jquery.fancybox-1.3.4.css" 1 => string(53) "media/css/ui-lightness/jquery-ui-1.9.0.custom.min.css" 2 => string(27) "media/css/jquery.rating.css" ) "scripts" => array(7) ( 0 => string(24) "media/js/jquery-1.8.2.js" 1 => string(38) "media/js/jquery-ui-1.9.0.custom.min.js" 2 => string(23) "media/js/view_images.js" 3 => string(25) "media/js/jquery.rating.js" 4 => string(25) "media/js/jquery.sticky.js" 5 => string(38) "media/js/jquery.fancybox-1.3.4.pack.js" 6 => string(28) "media/js/jquery.innerfade.js" ) "block_left" => NULL "block_center" => NULL "block_right" => NULL "showviewed" => bool TRUE "popup_menu" => array(11) ( 0 => array(4) ( "alias" => string(16) "/catalog/lyustri" "image" => string(28) "/media/img/categories/12.png" "title" => string(12) "Люстры" "inner" => array(2) ( "main" => array(2) ( 0 => array(3) ( "alias" => string(28) "/catalog/potolochnie-lyustri" "title" => string(33) "Потолочные люстры" "image" => string(30) "/media/img/categories/2545.png" ) 1 => array(3) ( "alias" => string(26) "/catalog/podvesnie-lyustri" "title" => string(31) "Подвесные люстры" "image" => string(30) "/media/img/categories/2551.png" ) ) "dops" => array(1) ( 0 => array(3) ( "visible" => integer 1 "title" => string(20) "Популярные" "links" => array(1) ( 0 => array(3) ( "alias" => string(21) "/svetodiodnie-lyustri" "title" => string(37) "Светодиодные люстры" "visible" => string(1) "1" ) ) ) ) ) ) 1 => array(4) ( "alias" => string(19) "/catalog/svetilniki" "image" => string(30) "/media/img/categories/2544.png" "title" => string(22) "Светильники" "inner" => array(2) ( "main" => array(7) ( 0 => array(3) ( "alias" => string(31) "/catalog/potolochnie-svetilniki" "title" => string(43) "Потолочные светильники" "image" => string(30) "/media/img/categories/2552.png" ) 1 => array(3) ( "alias" => string(29) "/catalog/podvesnie-svetilniki" "title" => string(41) "Подвесные светильники" "image" => string(30) "/media/img/categories/2553.png" ) 2 => array(3) ( "alias" => string(29) "/catalog/nastennie-svetilniki" "title" => string(41) "Настенные светильники" "image" => string(30) "/media/img/categories/2556.png" ) 3 => array(3) ( "alias" => string(32) "/catalog/vstraivaemie-svetilniki" "title" => string(47) "Встраиваемые светильники" "image" => string(28) "/media/img/categories/19.png" ) 4 => array(3) ( "alias" => string(14) "/catalog/spoti" "title" => string(10) "Споты" "image" => string(30) "/media/img/categories/2567.png" ) 5 => array(3) ( "alias" => string(28) "/catalog/mebelnie-svetilniki" "title" => string(41) "Мебельные светильники" "image" => string(28) "/media/img/categories/20.png" ) 6 => array(3) ( "alias" => string(17) "/catalog/nochniki" "title" => string(14) "Ночники" "image" => string(30) "/media/img/categories/2606.png" ) ) "dops" => array(0) ) ) 2 => array(4) ( "alias" => string(24) "/catalog/bra-i-podsvetki" "image" => string(28) "/media/img/categories/13.png" "title" => string(28) "Бра и подсветки" "inner" => array(2) ( "main" => array(3) ( 0 => array(3) ( "alias" => string(12) "/catalog/bra" "title" => string(6) "Бра" "image" => string(30) "/media/img/categories/2555.png" ) 1 => array(3) ( "alias" => string(30) "/catalog/podsvetki-dlya-kartin" "title" => string(38) "Подсветки для картин" "image" => string(28) "/media/img/categories/18.png" ) 2 => array(3) ( "alias" => string(30) "/catalog/podsvetki-dlya-zerkal" "title" => string(38) "Подсветки для зеркал" "image" => string(29) "/media/img/categories/968.png" ) ) "dops" => array(0) ) ) 3 => array(4) ( "alias" => string(24) "/catalog/nastolnie-lampi" "image" => string(28) "/media/img/categories/14.png" "title" => string(31) "Настольные лампы" "inner" => array(2) ( "main" => array(0) "dops" => array(0) ) ) 4 => array(4) ( "alias" => string(17) "/catalog/torsheri" "image" => string(28) "/media/img/categories/15.png" "title" => string(14) "Торшеры" "inner" => array(2) ( "main" => array(0) "dops" => array(0) ) ) 5 => array(4) ( "alias" => string(37) "/catalog/trekovie-sistemi-osvesheniya" "image" => string(29) "/media/img/categories/969.png" "title" => string(50) "Трековые системы освещения" "inner" => array(2) ( "main" => array(3) ( 0 => array(3) ( "alias" => string(27) "/catalog/shinnie-svetilniki" "title" => string(35) "Шинные светильники" "image" => string(30) "/media/img/categories/2569.png" ) 1 => array(3) ( "alias" => string(28) "/catalog/strunnie-svetilniki" "title" => string(39) "Струнные светильники" "image" => string(30) "/media/img/categories/2568.png" ) 2 => array(3) ( "alias" => string(28) "/catalog/trekovie-svetilniki" "title" => string(39) "Трековые светильники" "image" => string(30) "/media/img/categories/2570.png" ) ) "dops" => array(0) ) ) 6 => array(4) ( "alias" => string(28) "/catalog/ulichnie-svetilniki" "image" => string(30) "/media/img/categories/2587.png" "title" => string(37) "Уличные светильники" "inner" => array(2) ( "main" => array(9) ( 0 => array(3) ( "alias" => string(24) "/catalog/ulichnie-fonari" "title" => string(27) "Уличные фонари" "image" => string(28) "/media/img/categories/43.png" ) 1 => array(3) ( "alias" => string(38) "/catalog/ulichnie-nastennie-svetilniki" "title" => string(56) "Уличные настенные светильники" "image" => string(28) "/media/img/categories/44.png" ) 2 => array(3) ( "alias" => string(38) "/catalog/ulichnie-podvesnie-svetilniki" "title" => string(56) "Уличные подвесные светильники" "image" => string(28) "/media/img/categories/45.png" ) 3 => array(3) ( "alias" => string(27) "/catalog/potolochnie-fonari" "title" => string(58) "Уличные потолочные светильники" "image" => string(30) "/media/img/categories/2612.png" ) 4 => array(3) ( "alias" => string(29) "/catalog/gruntovie-svetilniki" "title" => string(41) "Грунтовые светильники" "image" => string(28) "/media/img/categories/48.png" ) 5 => array(3) ( "alias" => string(23) "/catalog/sadovie-figuri" "title" => string(27) "Садовые фигуры" "image" => string(28) "/media/img/categories/49.png" ) 6 => array(3) ( "alias" => string(18) "/catalog/girlyandi" "title" => string(16) "Гирлянды" "image" => string(28) "/media/img/categories/29.png" ) 7 => array(3) ( "alias" => string(27) "/catalog/sadovie-aksessuari" "title" => string(35) "Садовые аксессуары" "image" => string(29) "/media/img/categories/966.png" ) 8 => array(3) ( "alias" => string(23) "/catalog/ruchnie-fonari" "title" => string(25) "Ручные фонари" "image" => string(30) "/media/img/categories/2502.png" ) ) "dops" => array(0) ) ) 7 => array(4) ( "alias" => string(32) "/catalog/svetodiodnaya-podsvetka" "image" => string(30) "/media/img/categories/2583.png" "title" => string(43) "Светодиодная подсветка" "inner" => array(2) ( "main" => array(6) ( 0 => array(3) ( "alias" => string(28) "/catalog/svetodiodnaya-lenta" "title" => string(35) "Светодиодная лента" "image" => string(28) "/media/img/categories/21.png" ) 1 => array(3) ( "alias" => string(47) "/catalog/bloki-pitaniya-dlya-svetodiodnoy-lenti" "title" => string(68) "Блоки питания для светодиодной ленты" "image" => string(28) "/media/img/categories/26.png" ) 2 => array(3) ( "alias" => string(44) "/catalog/kontrolleri-dlya-svetodiodnoy-lenti" "title" => string(65) "Контроллеры для светодиодной ленты" "image" => string(28) "/media/img/categories/27.png" ) 3 => array(3) ( "alias" => string(40) "/catalog/profili-dlya-svetodiodnoy-lenti" "title" => string(57) "Профили для светодиодной ленты" "image" => string(30) "/media/img/categories/1015.png" ) 4 => array(3) ( "alias" => string(47) "/catalog/komplektuyushie-dlya-svetodiodnih-lent" "title" => string(67) "Комплектующие для светодиодных лент" "image" => string(30) "/media/img/categories/2513.png" ) 5 => array(3) ( "alias" => string(29) "/catalog/svetodiodnie-lineyki" "title" => string(39) "Светодиодные линейки" "image" => string(28) "/media/img/categories/23.png" ) ) "dops" => array(0) ) ) 8 => array(4) ( "alias" => string(14) "/catalog/lampi" "image" => string(28) "/media/img/categories/30.png" "title" => string(10) "Лампы" "inner" => array(2) ( "main" => array(5) ( 0 => array(3) ( "alias" => string(27) "/catalog/svetodiodnie-lampi" "title" => string(35) "Светодиодные лампы" "image" => string(30) "/media/img/categories/2559.png" ) 1 => array(3) ( "alias" => string(25) "/catalog/galogennie-lampi" "title" => string(31) "Галогенные лампы" "image" => string(30) "/media/img/categories/2561.png" ) 2 => array(3) ( "alias" => string(31) "/catalog/lyuminestsentnie-lampi" "title" => string(39) "Люминесцентные лампы" "image" => string(30) "/media/img/categories/2563.png" ) 3 => array(3) ( "alias" => string(27) "/catalog/lampi-nakalivaniya" "title" => string(33) "Лампы накаливания" "image" => string(30) "/media/img/categories/2562.png" ) 4 => array(3) ( "alias" => string(32) "/catalog/metallogalogennie-lampi" "title" => string(45) "Металлогалогенные лампы" "image" => string(30) "/media/img/categories/2564.png" ) ) "dops" => array(0) ) ) 9 => array(4) ( "alias" => string(41) "/catalog/komplektuyushie-dlya-svetilnikov" "image" => string(27) "/media/img/categories/7.png" "title" => string(58) "Комплектующие для светильников" "inner" => array(2) ( "main" => array(8) ( 0 => array(3) ( "alias" => string(35) "/catalog/elektronnie-transformatori" "title" => string(51) "Электронные трансформаторы" "image" => string(28) "/media/img/categories/31.png" ) 1 => array(3) ( "alias" => string(34) "/catalog/pulti-du-dlya-svetilnikov" "title" => string(49) "Пульты ДУ для светильников" "image" => string(28) "/media/img/categories/36.png" ) 2 => array(3) ( "alias" => string(28) "/catalog/patroni-dlya-lyustr" "title" => string(32) "Патроны для люстр" "image" => string(28) "/media/img/categories/34.png" ) 3 => array(3) ( "alias" => string(23) "/catalog/setevie-shnuri" "title" => string(25) "Сетевые шнуры" "image" => string(28) "/media/img/categories/35.png" ) 4 => array(3) ( "alias" => string(40) "/catalog/sredstva-dlya-chistki-hrustalya" "title" => string(53) "Средства для чистки хрусталя" "image" => string(28) "/media/img/categories/33.png" ) 5 => array(3) ( "alias" => string(17) "/catalog/abazhuri" "title" => string(14) "Абажуры" "image" => string(28) "/media/img/categories/41.png" ) 6 => array(3) ( "alias" => string(16) "/catalog/plafoni" "title" => string(14) "Плафоны" "image" => string(28) "/media/img/categories/42.png" ) 7 => array(3) ( "alias" => string(31) "/catalog/viklyuchateli-dlya-bra" "title" => string(36) "Выключатели для бра" "image" => string(28) "/media/img/categories/39.png" ) ) "dops" => array(0) ) ) 10 => array(4) ( "alias" => string(33) "/catalog/promishlennie-svetilniki" "image" => string(30) "/media/img/categories/2593.png" "title" => string(47) "Промышленные светильники" "inner" => array(2) ( "main" => array(2) ( 0 => array(3) ( "alias" => string(43) "/catalog/podvesnie-promishlennie-svetilniki" "title" => string(66) "Подвесные промышленные светильники" "image" => string(28) "/media/img/categories/56.png" ) 1 => array(3) ( "alias" => string(29) "/catalog/avariynie-svetilniki" "title" => string(41) "Аварийные светильники" "image" => string(30) "/media/img/categories/2609.png" ) ) "dops" => array(0) ) ) ) "cart" => object Response(5)
protected mtime_s => float 0 protected mtime_e => float 0 protected tqr => string(2) "NL" protected ipadr => string(7) "0.0.0.0" protected ntime => integer 0 protected uinfo => string(2) "NL" protected uuri => string(2) "NL" protected uurl => string(2) "NL" protected seo_page_entity => NULL protected canonical_url => string(68) "https://moysvet.ru/product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected user => NULL protected auth => object Auth_ORM(2){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"block_topmenu" => NULL "top_menu" => NULL "block_header" => NULL ) }{ }
protected _body => string(1499) "<div class="cart"> <noindex> <a href="/cart"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <t …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _session => object Session_Database(11)
protected cache => object Cache_File(2){ protected _db => object Database_MySQLi(6)
protected _config => object Config_Group(7){ protected _connection_id => string(40) "2b1b319918fc922e7b474ea615cae62cad1b5d46" protected _identifier => string(1) "`" public last_query => string(94) "SELECT * FROM `seo_pages` WHERE `alias` = '/product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh'" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _table => string(8) "sessions" protected _columns => array(3) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "66068d9f581b32-21649857" protected _update_id => NULL protected _name => string(11) "cookie_name" protected _lifetime => integer 43200 protected _encrypted => string(7) "default" protected _data => array(1) ( "sesid" => string(32) "44f5fc86b13f296fc95eb5cd4e154398" ) protected _destroyed => bool FALSE }{ 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(12) "0.0.0.0:3310" "database" => string(7) "bd_svet" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ public driver => string(3) "ORM" public hash_method => string(6) "sha256" public hash_key => string(16) "asjdhas6f2e12kas" public lifetime => integer 1209600 public session_type => string(8) "database" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _cache_dir => object SplFileInfo(0)
protected session => object Session_Database(11){ }
protected _config => array(3) ( "driver" => string(4) "file" "cache_dir" => string(55) "/var/www/www-root/data/www/moysvet.ru/application/cache" "default_expire" => integer 3600 ) }{ protected _db => object Database_MySQLi(6)
public auto_render => bool FALSE public request => object Request(19){ protected _connection_id => string(40) "2b1b319918fc922e7b474ea615cae62cad1b5d46" protected _identifier => string(1) "`" public last_query => string(94) "SELECT * FROM `seo_pages` WHERE `alias` = '/product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh'" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _table => string(8) "sessions" protected _columns => array(3) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "66068d9f581b32-21649857" protected _update_id => NULL protected _name => string(11) "cookie_name" protected _lifetime => integer 43200 protected _encrypted => string(7) "default" protected _data => array(1) ( "sesid" => string(32) "44f5fc86b13f296fc95eb5cd4e154398" ) protected _destroyed => bool FALSE }{ 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(12) "0.0.0.0:3310" "database" => string(7) "bd_svet" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(17) "product(/<alias>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(7) "product" "controller" => string(7) "product" ) protected _route_regex => string(42) "#^product(?:/(?P<alias>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Product" protected _action => string(7) "product" protected _uri => string(49) "product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected _external => bool FALSE protected _params => array(1) ( "alias" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) 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(2)
}{ public content-type => string(24) "text/html; charset=utf-8" public connection => string(10) "keep-alive" }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }99 100 // Create a new instance of the controller 101 $controller = $class->newInstance($request, $response); 102 103 // Run the controller's execute() method 104 $response = $class->getMethod('execute')->invoke($controller); 105 106 if ( ! $response instanceof Response) 107 { 108 // Controller failed to return a Response. 109 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.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(17) "product(/<alias>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(7) "product" "controller" => string(7) "product" ) protected _route_regex => string(42) "#^product(?:/(?P<alias>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Product" protected _action => string(7) "product" protected _uri => string(49) "product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected _external => bool FALSE protected _params => array(1) ( "alias" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) 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(2)
{ public content-type => string(24) "text/html; charset=utf-8" public connection => string(10) "keep-alive" }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }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)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(17) "product(/<alias>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(7) "product" "controller" => string(7) "product" ) protected _route_regex => string(42) "#^product(?:/(?P<alias>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Product" protected _action => string(7) "product" protected _uri => string(49) "product/podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" protected _external => bool FALSE protected _params => array(1) ( "alias" => string(41) "podvesnoy-svetilnik-arte-lamp-a4005sp-1wh" ) 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.
-
DOCROOT/index.php [ 124 ] » Kohana_Request->execute()
119 //exit(); 120 121 // /catalog/svetilniki?p=5&nn=dsfjf 122 123 echo Request::factory(TRUE, array(), FALSE) 124 ->execute() 125 ->send_headers(TRUE) 126 ->body(); 127 }