APPPATH/classes/Controller/Site/Product.php [ 102 ]
97 // Вывод в шаблон
98 $this->template->content = array($content);
99 }
100 else
101 {
102 throw new HTTP_Exception_404('Category not found');
103 }
104 }
105 else
106 {
107 throw new HTTP_Exception_404('Category not found');
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site_Product->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_Product(4)
{ public template => object View(2)
{ protected _file => string(75) "/home/users/s/stanislav49/domains/uspeh-72.ru/application/views/v_index.php" protected _data => array(22) ( "site_name" => string(73) ""Успех", конфеты и печенье оптом в Тюмени" "site_description" => string(57) "Конфеты и печенье оптом, Тюмень" "site_keywords" => string(46) "Конфеты, печенье, пряники" "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(3) ( 0 => string(25) "librarys/jquery/jquery.js" 1 => string(41) "librarys/slider/jquery-scroller-v1.min.js" 2 => string(17) "librarys/pp/pp.js" ) "block_left" => NULL "block_center" => NULL "block_right" => NULL "_main_settings" => array(25) ( "main_site_name" => string(73) ""Успех", конфеты и печенье оптом в Тюмени" "main_site_button_name" => string(57) "Конфеты и печенье оптом, Тюмень" "main_site_description" => string(57) "Конфеты и печенье оптом, Тюмень" "main_site_index_name" => string(57) "Конфеты и печенье оптом, Тюмень" "main_site_keywords" => string(46) "Конфеты, печенье, пряники" "main_site_news_list_count" => string(1) "2" "main_org_name" => string(10) "Успех" "main_site_text_header_top" => string(24) "Ждем звонков:" "main_site_index_text_name" => string(57) "Конфеты и печенье оптом, Тюмень" "main_site_info_list_count" => string(1) "2" "main_site_mail_send_from" => string(63) "gadirov212@yandex.ru,stanislav@reklama072.ru,gadirov212@mail.ru" "main_site_mail_send_to" => string(63) "gadirov212@yandex.ru,stanislav@reklama072.ru,gadirov212@mail.ru" "main_site_mail_send_theme" => string(13) "Письмо!" "main_site_phone_one" => string(15) "8(3452)39-40-81" "main_site_phone_two" => string(15) "8-982-979-97-79" "main_site_phone_three" => string(8) "39-40-80" "main_site_phone_four" => string(15) "8(3452)39-40-81" "main_site_otzivi_count" => string(1) "1" "main_site_address" => string(62) "Тюмень, Барабинская 3 стр 17 склад 36" "main_site_email" => string(18) "gadirov212@mail.ru" "site_items_count_pages" => string(3) "100" "main_site_photo_cat_count" => string(1) "8" "main_site_photo_count" => string(2) "20" "site_count_news" => string(2) "20" "file_price" => string(23) "прайс 18.10.22.pdf" ) "controller" => string(7) "Product" "top_menu" => object Response(5)
public auto_render => bool TRUE public request => object Request(19){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"bottom_menu" => object Response(5){ }
protected _body => string(229) "<ul> <li ><a href="/">Главная</a></li> <li ><a href="/article/o-kompanii">О компании</a></li> <li ><a href="/article/aktsii"> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"left_menu" => object Response(5){ }
protected _body => string(3252) "<ul> <li ><a href="/catalog/novogodnie-podarki-2023">Новогодние подарки 2023</a></li> <li ><a href="/article/almati-konfeti- …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"left_banner" => object Response(5){ }
protected _body => string(31234) "<ul class="vertical_menu"> <li class="has_submenu"> <a href="/catalog/novogodnie-podarki-2023">Новогодние подарк …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"l_banner" => object Response(5){ }
protected _body => string(286) " <a href=""><img class="product_image" src="/uploads/images/banner/banner_91.jpeg"></a> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"r_banner" => object Response(5){ }
protected _body => string(20) " " protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"long_banner" => object Response(5){ }
protected _body => string(20) " " protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"three_banners" => object Response(5){ }
protected _body => string(20) " " protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"news" => object Response(5){ }
protected _body => string(2380) " <div style="height: 308px !important;" class="product_wrapper"> <p class="pro …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"guery_string" => string(0) "" ) }{ }
protected _body => string(794) "<a href="/articles/novosti" class="title_news">Новости</a> <div class="news_top"> <div class="news_title">06 Мая 2021г. …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(62) "http://uspeh-72.ru/product/pugovka-(myagkaya-igrushka)-1200-gr" 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(7) "Product" protected _action => string(5) "index" protected _uri => string(43) "product/pugovka-(myagkaya-igrushka)-1200-gr" protected _external => bool FALSE protected _params => array(2) ( "id" => string(35) "pugovka-(myagkaya-igrushka)-1200-gr" "page" => string(1) "1" ) 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 TRUE protected _referrer => string(62) "http://uspeh-72.ru/product/pugovka-(myagkaya-igrushka)-1200-gr" 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(7) "Product" protected _action => string(5) "index" protected _uri => string(43) "product/pugovka-(myagkaya-igrushka)-1200-gr" protected _external => bool FALSE protected _params => array(2) ( "id" => string(35) "pugovka-(myagkaya-igrushka)-1200-gr" "page" => string(1) "1" ) 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 TRUE protected _referrer => string(62) "http://uspeh-72.ru/product/pugovka-(myagkaya-igrushka)-1200-gr" 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(7) "Product" protected _action => string(5) "index" protected _uri => string(43) "product/pugovka-(myagkaya-igrushka)-1200-gr" protected _external => bool FALSE protected _params => array(2) ( "id" => string(35) "pugovka-(myagkaya-igrushka)-1200-gr" "page" => string(1) "1" ) 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 }