SYSPATH/classes/Kohana/Controller.php [ 79 ]
74 // If the action doesn't exist, it's a 404
75 if ( ! method_exists($this, $action))
76 {
77 throw HTTP_Exception::factory(404,
78 'The requested URL :uri was not found on this server.',
79 array(':uri' => $this->request->uri())
80 )->request($this->request);
81 }
82
83 // Execute the action itself
84 $this->{$action}();
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Sprzedaz(5)
{ public template => object View(2)
{ protected _file => string(36) "/application/views/szablon_widok.php" protected _data => array(8) ( "title" => string(0) "" "content" => string(0) "" "description" => string(0) "" "jscss" => string(0) "" "contentClass" => string(0) "" "menu_gorne" => object Response(5)
public auto_render => bool TRUE public db => object Zend_Db_Adapter_Pdo_Mysql(12){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"languages" => object Response(5){ }
protected _body => string(481) "<nav class="main-nav"> <ul> <li class=""><a href="/"><i class="home-icon"></i></a></li> <li …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"wspolne" => array(2) ( 117 => array(13) ( "name" => string(10) "Nagłówek" "tresc" => string(0) "" "en_tresc" => string(0) "" "link_1" => string(0) "" "obrazek_1" => string(0) "" "link_2" => string(0) "" "obrazek_2" => string(0) "" "email" => string(19) "BIURO@SKANSERWIS.PL" "telefon" => string(16) "+48 22 836 02 76" "node_template_id" => string(4) "1500" "node_lft" => string(3) "509" "node_id" => string(3) "117" "tellink" => string(12) "+48228360276" ) 118 => array(14) ( "name" => string(6) "Stopka" "tresc" => string(61) "<p><b style="color: #fff;">COPYRIGHT SKANSERWIS 2021</b></p> " "en_tresc" => string(0) "" "link_1" => string(65) "http://www.skanserwis.pl/o-firmie/aktualnosci/solidarni-z-ukraina" "obrazek_1" => string(29) "wspolne/Fujitsu_Autorized.png" "link_2" => string(24) "http://www.skanserwis.pl" "obrazek_2" => string(52) "wspolne/KodakAlaris_AuthorizedDistributor-EN_002.png" "email" => string(0) "" "telefon" => string(0) "" "node_template_id" => string(4) "1504" "node_lft" => string(3) "511" "node_id" => string(3) "118" "obr_1" => string(50) "/files/wspolne/miniaturki/Fujitsu_Autorized_ft.png" "obr_2" => string(73) "/files/wspolne/miniaturki/KodakAlaris_AuthorizedDistributor-EN_002_ft.png" ) ) ) }{ }
protected _body => string(235) "<div class="languages-box"> <ul> <li><a href="/sprzedaz/skanery-dokumentowe/kodak-alaris/kodak-i2900">PL</a></li> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _pdoType => string(5) "mysql" protected _numericDataTypes => array(16) ( 0 => integer 0 1 => integer 1 2 => integer 2 "INT" => integer 0 "INTEGER" => integer 0 "MEDIUMINT" => integer 0 "SMALLINT" => integer 0 "TINYINT" => integer 0 "BIGINT" => integer 1 "SERIAL" => integer 1 "DEC" => integer 2 "DECIMAL" => integer 2 "DOUBLE" => integer 2 "DOUBLE PRECISION" => integer 2 "FIXED" => integer 2 "FLOAT" => integer 2 ) protected _defaultStmtClass => string(21) "Zend_Db_Statement_Pdo" protected _config => array(8) ( "host" => string(9) "localhost" "username" => string(12) "34742894_www" "password" => string(15) "4ip+1+1*6B,GK5@" "dbname" => string(12) "34742894_www" "charset" => string(4) "utf8" "persistent" => bool FALSE "options" => array(3) ( "caseFolding" => integer 0 "autoQuoteIdentifiers" => bool TRUE "fetchMode" => integer 2 ) "driver_options" => array(1) ( 1002 => string(16) "SET NAMES 'utf8'" ) ) protected _fetchMode => integer 2 protected _profiler => object Zend_Db_Profiler(4)
public request => object Request(19){ protected _queryProfiles => array(0) protected _enabled => bool FALSE protected _filterElapsedSecs => NULL protected _filterTypes => NULL }
protected _defaultProfilerClass => string(16) "Zend_Db_Profiler" protected _connection => object PDO(0){ }
protected _caseFolding => integer 0 protected _autoQuoteIdentifiers => bool TRUE protected _allowSerialization => bool TRUE protected _autoReconnectOnUnserialize => bool FALSE }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(74) "http://skanserwis.pl/sprzedaz/skanery-dokumentowe/kodak-alaris/kodak-i2900" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(51) "(<lang>)(/)(<controller>(/<action>(/<id>(/<id2>))))" protected _regex => array(3) ( "lang" => string(5) "pl|en" "id" => string(6) "[^\/]*" "id2" => string(6) "[^\/]*" ) protected _defaults => array(3) ( "controller" => string(6) "glowna" "action" => string(5) "index" "lang" => string(2) "pl" ) protected _route_regex => string(136) "#^(?:(?P<lang>pl|en))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^\/]*)(?:/(?P<id2>[^\/]*))?)? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Sprzedaz" protected _action => string(19) "skanery-dokumentowe" protected _uri => string(53) "sprzedaz/skanery-dokumentowe/kodak-alaris/kodak-i2900" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "pl" "id" => string(12) "kodak-alaris" "id2" => string(11) "kodak-i2900" ) 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.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 => string(74) "http://skanserwis.pl/sprzedaz/skanery-dokumentowe/kodak-alaris/kodak-i2900" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(51) "(<lang>)(/)(<controller>(/<action>(/<id>(/<id2>))))" protected _regex => array(3) ( "lang" => string(5) "pl|en" "id" => string(6) "[^\/]*" "id2" => string(6) "[^\/]*" ) protected _defaults => array(3) ( "controller" => string(6) "glowna" "action" => string(5) "index" "lang" => string(2) "pl" ) protected _route_regex => string(136) "#^(?:(?P<lang>pl|en))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^\/]*)(?:/(?P<id2>[^\/]*))?)? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Sprzedaz" protected _action => string(19) "skanery-dokumentowe" protected _uri => string(53) "sprzedaz/skanery-dokumentowe/kodak-alaris/kodak-i2900" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "pl" "id" => string(12) "kodak-alaris" "id2" => string(11) "kodak-i2900" ) 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.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 => string(74) "http://skanserwis.pl/sprzedaz/skanery-dokumentowe/kodak-alaris/kodak-i2900" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(51) "(<lang>)(/)(<controller>(/<action>(/<id>(/<id2>))))" protected _regex => array(3) ( "lang" => string(5) "pl|en" "id" => string(6) "[^\/]*" "id2" => string(6) "[^\/]*" ) protected _defaults => array(3) ( "controller" => string(6) "glowna" "action" => string(5) "index" "lang" => string(2) "pl" ) protected _route_regex => string(136) "#^(?:(?P<lang>pl|en))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^\/]*)(?:/(?P<id2>[^\/]*))?)? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Sprzedaz" protected _action => string(19) "skanery-dokumentowe" protected _uri => string(53) "sprzedaz/skanery-dokumentowe/kodak-alaris/kodak-i2900" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "pl" "id" => string(12) "kodak-alaris" "id2" => string(11) "kodak-i2900" ) 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.
-
/index.php [ 112 ] » Kohana_Request->execute()
107 */ 108 109 include 'vendor/autoload.php'; 110 111 echo Request::factory() 112 ->execute() 113 ->send_headers() 114 ->body();