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_Events(15)
{ public table_ => string(6) "events" public numbering_ => bool FALSE protected editable_name_ => string(6) "events" private numberingParams => array(2) ( 0 => array(3) ( 0 => string(11) "no_public_e" 1 => string(1) "=" 2 => string(1) "0" ) 1 => array(3) ( 0 => string(6) "hidden" 1 => string(1) "=" 2 => string(1) "0" ) ) private isExhibition => bool FALSE private page => integer 1 private limit => integer 10 protected editable => bool FALSE protected editableId => array(0) protected editableAccess => array(0) public template => object View(2)
{ protected _file => string(82) "/home/c/codemuseu2/museumsite/_GIT/public_html/application/views/main-template.php" protected _data => array(30) ( "content" => string(0) "" "styles" => array(0) "stylesCache" => string(30) "public/cache/all_3.8.6.min.css" "scripts" => array(0) "scriptsCache" => string(30) "public/cache/all_3.7.11.min.js" "libs" => array(5) ( 0 => string(13) "jquery.cookie" 1 => string(8) "i18n.min" 2 => string(19) "jquery.fancybox.min" 3 => string(13) "jquery-ui.min" 4 => string(25) "sweetalert/sweetalert.min" ) "libsAuthorization" => array(3) ( 0 => string(18) "ckeditor5/ckeditor" 1 => string(25) "ckeditor5/translations/ru" 2 => string(19) "../modules/editable" ) "forms" => array(1) ( 0 => string(1892) "<div class="drop_down-menu site-form excursion-form" id="feedback-form" style="display: none;"> <!--.volunteer-form START - …" ) "likeExpoExhibition" => array(0) "requestList" => bool FALSE "likeExpoSend" => bool FALSE "selectionCount" => bool FALSE "exCount" => string(5) "38856" "userData" => array(0) "seenCount" => bool FALSE "curatorMode" => bool FALSE "loggenIn" => bool FALSE "headerClasses" => string(0) "" "headerImagesPostfix" => string(4) "gray" "timetableClasses" => string(0) "" "searchHeaderClasses" => string(27) "site-search-header-bg_black" "menuHeaderClasses" => string(0) "" "footerClasses" => string(0) "" "footerImagesPostfix" => string(0) "" "glassesImage" => bool FALSE "lang" => string(2) "ru" "phone" => string(18) "+7 (342) 212-95-24" "worktime" => array(7) ( 0 => array(8) ( "day" => integer 1 "from_h" => string(1) "0" "to_h" => string(1) "0" "day_off" => string(1) "1" "dayName" => string(22) "Понедельник" "styleClass" => string(6) "monday" "countOfDashes" => integer 2 "marginLeft" => integer 0 ) 1 => array(8) ( "day" => integer 2 "from_h" => string(2) "10" "to_h" => string(2) "19" "day_off" => string(1) "0" "dayName" => string(14) "Вторник" "styleClass" => string(7) "tuesday" "countOfDashes" => integer 4 "marginLeft" => integer 0 ) 2 => array(8) ( "day" => integer 3 "from_h" => string(2) "10" "to_h" => string(2) "19" "day_off" => string(1) "0" "dayName" => string(10) "Среда" "styleClass" => string(9) "wednesday" "countOfDashes" => integer 4 "marginLeft" => integer 0 ) 3 => array(8) ( "day" => integer 4 "from_h" => string(2) "12" "to_h" => string(2) "21" "day_off" => string(1) "0" "dayName" => string(14) "Четверг" "styleClass" => string(8) "thursday" "countOfDashes" => integer 4 "marginLeft" => integer 6 ) 4 => array(8) ( "day" => integer 5 "from_h" => string(2) "10" "to_h" => string(2) "19" "day_off" => string(1) "0" "dayName" => string(14) "Пятница" "styleClass" => string(6) "friday" "countOfDashes" => integer 4 "marginLeft" => integer 0 ) 5 => array(8) ( "day" => integer 6 "from_h" => string(2) "10" "to_h" => string(2) "19" "day_off" => string(1) "0" "dayName" => string(14) "Суббота" "styleClass" => string(8) "saturday" "countOfDashes" => integer 4 "marginLeft" => integer 0 ) 6 => array(8) ( "day" => integer 7 "from_h" => string(2) "11" "to_h" => string(2) "19" "day_off" => string(1) "0" "dayName" => string(22) "Воскресенье" "styleClass" => string(6) "sunday" "countOfDashes" => integer 3 "marginLeft" => integer 3 ) ) "emergency_message" => string(737) "<div class="specials" role="alert" aria-label="Важное сообщение" style="color: #000;"> <div class="close" data-type="emergency …" "cookie_message" => string(849) " <div class="specials cookie"> <div class="close" data-type="cookie_message_show" data-duration="14"> <img src="/public/ …" ) }
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.1" protected _secure => bool TRUE protected _referrer => string(41) "http://permartmuseum.com/events/year/2015" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Events" protected _action => string(4) "year" protected _uri => string(16) "events/year/2015" protected _external => bool FALSE protected _params => array(1) ( "id" => string(4) "2015" ) 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)
public lang => string(2) "ru" }{ }
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(41) "http://permartmuseum.com/events/year/2015" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Events" protected _action => string(4) "year" protected _uri => string(16) "events/year/2015" protected _external => bool FALSE protected _params => array(1) ( "id" => string(4) "2015" ) 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 [ 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.1" protected _secure => bool TRUE protected _referrer => string(41) "http://permartmuseum.com/events/year/2015" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Events" protected _action => string(4) "year" protected _uri => string(16) "events/year/2015" protected _external => bool FALSE protected _params => array(1) ( "id" => string(4) "2015" ) 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 [ 121 ] » Kohana_Request->execute()
116 */ 117 118 try 119 { 120 echo Request::factory(TRUE, array(), FALSE) 121 ->execute() 122 ->send_headers(TRUE) 123 ->body(); 124 } 125 catch (Error $e) // php7 Throwable 126 {