APPPATH/classes/Controller/Site/Catalog.php [ 250 ]
245
246 }
247 }
248 else
249 {
250 throw new HTTP_Exception_404('404');
251 }
252
253 }
254
255 }
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site_Catalog->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_Catalog(5)
{ public template => object View(2)
{ protected _file => string(93) "/home/users/s/stanislav130/domains/xn--72-mlcmfem7ab3a.xn--p1ai/application/views/v_index.php" protected _data => array(16) ( "site_name" => string(275) "Мебель: школьная, офисная, торговая, металлическая. Оборудование для ЖКХ и складов Климатическая техника: кондиционеры, обогрева …" "site_description" => string(275) "Мебель: школьная, офисная, торговая, металлическая. Оборудование для ЖКХ и складов Климатическая техника: кондиционеры, обогрева …" "site_keywords" => string(275) "Мебель: школьная, офисная, торговая, металлическая. Оборудование для ЖКХ и складов Климатическая техника: кондиционеры, обогрева …" "page_title" => string(14) "Каталог" "title" => string(14) "Каталог" "styles" => array(2) ( 0 => string(18) "librarys/pp/pp.css" 1 => string(18) "site/css/style.css" ) "scripts" => array(2) ( 0 => string(25) "librarys/jquery/jquery.js" 1 => string(17) "librarys/pp/pp.js" ) "block_left" => NULL "block_center" => NULL "block_right" => NULL "theme" => array(29) ( "contentbackcolor" => string(6) "e0e0e0" "contentfontcolor" => string(6) "000000" "headerfontcolot" => string(6) "000000" "headercall" => string(6) "000000" "headercallfont" => string(6) "FF1025" "headermenu" => string(6) "FF1025" "headermenuhover" => string(6) "ed5c5c" "headermenufont" => string(6) "ffffff" "headermenufonthover" => string(6) "ffffff" "footercolor" => string(6) "FF1025" "footermenucolor" => string(6) "ffffff" "footermenufontcolor" => string(6) "ffffff" "footeraddress" => string(6) "ffffff" "fonpicture" => string(4) "jpeg" "logopicture" => string(3) "png" "sitefont" => string(1) "3" "sitecontentfont" => string(1) "3" "telcolor" => string(1) "1" "menulineone" => string(6) "ffffff" "menulinetwo" => string(6) "ffffff" "footertelcolor" => string(1) "1" "sliderwidth" => string(3) "400" "butsvsgradtop" => string(6) "FF1025" "butsvsgradbot" => string(6) "FF1025" "butsvsborder" => string(6) "000000" "butfont" => string(6) "ffffff" "formgradbot" => string(6) "FF1025" "formgradtop" => string(6) "FF1025" "refcolor" => string(6) "224000" ) "_main_settings" => array(32) ( "main_site_name" => string(275) "Мебель: школьная, офисная, торговая, металлическая. Оборудование для ЖКХ и складов Климатическая техника: кондиционеры, обогрева …" "main_site_description" => string(275) "Мебель: школьная, офисная, торговая, металлическая. Оборудование для ЖКХ и складов Климатическая техника: кондиционеры, обогрева …" "site_items_count_pages" => string(2) "30" "main_site_index_name" => string(16) "Меркурий" "main_site_keywords" => string(275) "Мебель: школьная, офисная, торговая, металлическая. Оборудование для ЖКХ и складов Климатическая техника: кондиционеры, обогрева …" "main_site_photo_count" => string(2) "12" "main_site_index_text_name" => string(16) "Меркурий" "main_site_photo_cat_count" => string(2) "12" "main_site_mail_send_from" => string(19) "mercury72@yandex.ru" "main_site_mail_send_to" => string(19) "mercury72@yandex.ru" "main_site_mail_send_theme" => string(65) "Новый заказ с кнопки сайта Меркурий" "main_site_phone" => string(17) "8 (3452) 62-62-55" "main_site_address_footer" => string(40) "ул. Полевая, д.109/9, оф.104" "main_page_descr" => string(16) "Меркурий" "main_site_phone_footer1" => string(17) "8 (3452) 62-62-55" "main_site_phone_footer2" => string(15) "8 919 934 09 99" "site_count_news" => string(2) "20" "main_site_email" => string(19) "mercury72@yandex.ru" "main_page_title" => string(21) "Наши услуги" "otzivi_email" => string(19) "mercury72@yandex.ru" "otzivi_text_spasibo" => string(38) "Спасибо за ваш Отзыв!" "main_site_address_header" => string(40) "ул. Полевая, д.109/9, оф.104" "main_site_address_header_top" => string(34) "Тюменская область," "main_site_slogan" => string(16) "Меркурий" "main_site_sub_slogan" => string(16) "Меркурий" "link_vk" => string(25) "https://vk.com/mercury_72" "link_in" => string(26) "https://www.instagram.com/" "link_soc_vk" => string(25) "https://vk.com/mercury_72" "link_soc_fb" => string(1) "#" "link_soc_yt" => string(1) "#" "link_soc_ok" => string(1) "#" "main_site_phone2" => string(15) "8 919 934 09 99" ) "topmenu" => object Response(5)
protected session => object Session_Native(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"slider" => object Response(5){ }
protected _body => string(986) "<a id="touch-menu" class="mobile-menu" href="#"><i class="icon-reorder"></i>МЕНЮ</a> <nav> <ul class="menu"> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"menucatalogleft" => object Response(5){ }
protected _body => string(1009) "<ul> <li> <div class="slogan">Возможно изготовление мебели по Вашим размерам</div> </li> <li> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"footermenu" => object Response(5){ }
protected _body => string(1994) "<a id="touch-menu-c" class="mobile-menu" href="#">МЕНЮ КАТАЛОГА</a> <nav> <ul class="left_menu"> <li><span> <a href=" …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) }{ }
protected _body => string(674) "<ul> <li> <a title="Главная" href="/" >Главная</a> </li> <li> <a title="О …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ 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.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(38) "catalog(/<id>(/<id1>(/<id2>(/<id3>))))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(120) "#^catalog(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id1>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++))?)?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(50) "catalog/mebel-dlya-stolovoy-i-kafe/kresla-i-divani" protected _external => bool FALSE protected _params => array(2) ( "id" => string(26) "mebel-dlya-stolovoy-i-kafe" "id1" => string(15) "kresla-i-divani" ) 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.0" }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.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(38) "catalog(/<id>(/<id1>(/<id2>(/<id3>))))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(120) "#^catalog(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id1>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++))?)?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(50) "catalog/mebel-dlya-stolovoy-i-kafe/kresla-i-divani" protected _external => bool FALSE protected _params => array(2) ( "id" => string(26) "mebel-dlya-stolovoy-i-kafe" "id1" => string(15) "kresla-i-divani" ) 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.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 [ 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.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(38) "catalog(/<id>(/<id1>(/<id2>(/<id3>))))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(120) "#^catalog(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id1>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++))?)?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(50) "catalog/mebel-dlya-stolovoy-i-kafe/kresla-i-divani" protected _external => bool FALSE protected _params => array(2) ( "id" => string(26) "mebel-dlya-stolovoy-i-kafe" "id1" => string(15) "kresla-i-divani" ) 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 }