APPPATH/views/static/sidebar.php [ 20 ]
15 <ul id="sidebar_menu">
16 <li id="sidebar_menu_home" <?php if(!empty($home)){echo 'class="active"';}?>>
17 <a href="/"><span class="abs"></span>Domů</a>
18 </li>
19 <?php
20 foreach($menu as $it)
21 {
22 if(!empty($it))
23 {
24 foreach($it as $mn=>$menu_item)
25 {
-
APPPATH/views/static/sidebar.php [ 20 ] » Kohana_Core::error_handler(arguments)
0integer 2
1string(39) "Invalid argument supplied for foreach()"2string(62) "/var/www/space4.warehouse/application/views/static/sidebar.php"3integer 20
4array(8) ( "kohana_view_filename" => string(62) "/var/www/space4.warehouse/application/views/static/sidebar.php" "kohana_view_data" => array(6) ( "menu" => NULL "page_part" => NULL "page_url" => NULL "cat_id" => NULL "search_form_action" => string(12) "/ware/search" "form_value" => string(0) "" ) "menu" => NULL "page_part" => NULL "page_url" => NULL "cat_id" => NULL "search_form_action" => string(12) "/ware/search" "form_value" => string(0) "" )
15 <ul id="sidebar_menu"> 16 <li id="sidebar_menu_home" <?php if(!empty($home)){echo 'class="active"';}?>> 17 <a href="/"><span class="abs"></span>Domů</a> 18 </li> 19 <?php 20 foreach($menu as $it) 21 { 22 if(!empty($it)) 23 { 24 foreach($it as $mn=>$menu_item) 25 { -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(62) "/var/www/space4.warehouse/application/views/static/sidebar.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(62) "/var/www/space4.warehouse/application/views/static/sidebar.php"1array(6) ( "menu" => NULL "page_part" => NULL "page_url" => NULL "cat_id" => NULL "search_form_action" => string(12) "/ware/search" "form_value" => string(0) "" )
354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message. -
APPPATH/views/template.php [ 23 ] » Kohana_View->__toString()
18 19 echo $_bottom_panel; 20 21 echo "</div>\n"; 22 23 echo $_sidebar; 24 25 26 27 28 -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(56) "/var/www/space4.warehouse/application/views/template.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(56) "/var/www/space4.warehouse/application/views/template.php"1array(7) ( "_header" => object View(2)
{ protected _file => string(61) "/var/www/space4.warehouse/application/views/static/header.php" protected _data => array(1) ( "page_title" => string(25) "warehouse.space4print.com" ) }"_static_main" => object View(2){ protected _file => string(59) "/var/www/space4.warehouse/application/views/static/main.php" protected _data => array(0) }"_navigation" => object View(2){ protected _file => string(65) "/var/www/space4.warehouse/application/views/static/navigation.php" protected _data => array(1) ( "logged_in_user" => string(0) "" ) }"_bottom_panel" => object View(2){ protected _file => string(67) "/var/www/space4.warehouse/application/views/static/bottom_panel.php" protected _data => array(0) }"_sidebar" => object View(2){ protected _file => string(62) "/var/www/space4.warehouse/application/views/static/sidebar.php" protected _data => array(6) ( "menu" => NULL "page_part" => NULL "page_url" => NULL "cat_id" => NULL "search_form_action" => string(12) "/ware/search" "form_value" => string(0) "" ) }"_slot_view" => object View(2){ protected _file => string(60) "/var/www/space4.warehouse/application/views/_login/index.php" protected _data => array(1) ( "redirect_referer" => string(1) "/" ) }"_footer" => object View(2){ protected _file => string(61) "/var/www/space4.warehouse/application/views/static/footer.php" protected _data => array(0) })354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49 -
APPPATH/classes/Controller/Theme.php [ 122 ] » Kohana_Controller_Template->after()
117 118 119 public function after() 120 { 121 122 parent::after(); 123 124 } 125 126 } -
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Theme->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92 -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)
0object Controller_Login(7)
{ public redir_source => string(1) "/" public template => object View(2){ protected _file => string(56) "/var/www/space4.warehouse/application/views/template.php" protected _data => array(7) ( "_header" => object View(2)public auto_render => bool TRUE public request => object Request(19){ protected _file => string(61) "/var/www/space4.warehouse/application/views/static/header.php" protected _data => array(1) ( "page_title" => string(25) "warehouse.space4print.com" ) }"_static_main" => object View(2){ protected _file => string(59) "/var/www/space4.warehouse/application/views/static/main.php" protected _data => array(0) }"_navigation" => object View(2){ protected _file => string(65) "/var/www/space4.warehouse/application/views/static/navigation.php" protected _data => array(1) ( "logged_in_user" => string(0) "" ) }"_bottom_panel" => object View(2){ protected _file => string(67) "/var/www/space4.warehouse/application/views/static/bottom_panel.php" protected _data => array(0) }"_sidebar" => object View(2){ protected _file => string(62) "/var/www/space4.warehouse/application/views/static/sidebar.php" protected _data => array(6) ( "menu" => NULL "page_part" => NULL "page_url" => NULL "cat_id" => NULL "search_form_action" => string(12) "/ware/search" "form_value" => string(0) "" ) }"_slot_view" => object View(2){ protected _file => string(60) "/var/www/space4.warehouse/application/views/_login/index.php" protected _data => array(1) ( "redirect_referer" => string(1) "/" ) }"_footer" => object View(2){ protected _file => string(61) "/var/www/space4.warehouse/application/views/static/footer.php" protected _data => array(0) }) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(37) "https://devwarehouse.space4print.com/" protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(5) "login" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "Login" "action" => string(5) "login" ) protected _route_regex => string(11) "#^login$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Login" protected _action => string(5) "login" protected _uri => string(5) "login" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(1) ( "session" => NULL ) 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)public template_dir => string(0) "" public admin_name => string(0) "" }{ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 throw new Kohana_Exception('Controller failed to return a Response'); -
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(37) "https://devwarehouse.space4print.com/" protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(5) "login" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "Login" "action" => string(5) "login" ) protected _route_regex => string(11) "#^login$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Login" protected _action => string(5) "login" protected _uri => string(5) "login" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(1) ( "session" => NULL ) 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) }}1object 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(['_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 [ 1000 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(37) "https://devwarehouse.space4print.com/" protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(5) "login" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "Login" "action" => string(5) "login" ) protected _route_regex => string(11) "#^login$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Login" protected _action => string(5) "login" protected _uri => string(5) "login" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(1) ( "session" => NULL ) 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) }}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests. -
DOCROOT/index.php [ 122 ] » Kohana_Request->execute()
117 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 118 * If no source is specified, the URI will be automatically detected. 119 */ 120 121 echo Request::factory(TRUE, array(), FALSE) 122 ->execute() 123 ->send_headers(TRUE) 124 ->body(); 125 }