SYSPATH/classes/Kohana/Controller.php [ 80 ]
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}();
85
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Site_Events(5)
{ public template => object Twig(4)
{ protected _file => string(10) "site/event" protected _extension => string(4) "twig" protected _data => array(8) ( "slider_items" => object Database_MySQL_Result(7)
public environment => object Twig_Environment(26){ protected _internal_row => integer 0 protected _query => string(229) "SELECT `slideritem`.`id` AS `id`, `slideritem`.`image` AS `image`, `slideritem`.`sort_order` AS `sort_order`, `slideritem`.`enab …" protected _result => resource(mysql result) protected _total_rows => integer 8 protected _current_row => integer 0 protected _as_object => string(16) "Model_SliderItem" protected _object_params => NULL }
"banner_items" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(280) "SELECT `banneritem`.`id` AS `id`, `banneritem`.`title` AS `title`, `banneritem`.`image` AS `image`, `banneritem`.`url` AS `url`, …" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => string(16) "Model_BannerItem" protected _object_params => NULL }
"bannermain_items" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(280) "SELECT `banneritem`.`id` AS `id`, `banneritem`.`title` AS `title`, `banneritem`.`image` AS `image`, `banneritem`.`url` AS `url`, …" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => string(16) "Model_BannerItem" protected _object_params => NULL }
"bannerright_items" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(280) "SELECT `banneritem`.`id` AS `id`, `banneritem`.`title` AS `title`, `banneritem`.`image` AS `image`, `banneritem`.`url` AS `url`, …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(16) "Model_BannerItem" protected _object_params => NULL }
"bannerright2_items" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(281) "SELECT `banneritem`.`id` AS `id`, `banneritem`.`title` AS `title`, `banneritem`.`image` AS `image`, `banneritem`.`url` AS `url`, …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(16) "Model_BannerItem" protected _object_params => NULL }
"bannerright3_items" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(281) "SELECT `banneritem`.`id` AS `id`, `banneritem`.`title` AS `title`, `banneritem`.`image` AS `image`, `banneritem`.`url` AS `url`, …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(16) "Model_BannerItem" protected _object_params => NULL }
"event_all" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(510) "SELECT `event`.`id` AS `id`, `event`.`title` AS `title`, `event`.`text` AS `text`, `event`.`short_text` AS `short_text`, `event` …" protected _result => resource(mysql result) protected _total_rows => integer 2 protected _current_row => integer 0 protected _as_object => string(11) "Model_Event" protected _object_params => NULL }
"nav" => array(5) ( 0 => array(2) ( "title" => string(15) "О Греции" "items" => array(6) ( 0 => array(3) ( "title" => string(14) "История" "link" => string(22) "/sections/history.html" "items" => array(0) ) 1 => array(3) ( "title" => string(22) "Цивилизация" "link" => string(27) "/sections/civilisation.html" "items" => array(0) ) 2 => array(3) ( "title" => string(18) "География" "link" => string(24) "/sections/geography.html" "items" => array(0) ) 3 => array(3) ( "title" => string(31) "Общая информация" "link" => string(27) "/sections/general_info.html" "items" => array(1) ( 0 => array(2) ( "title" => string(14) "Столица" "link" => string(22) "/sections/capital.html" ) ) ) 4 => array(3) ( "title" => string(27) "Перед поездкой" "link" => string(32) "/sections/before_you_travel.html" "items" => array(5) ( 0 => array(2) ( "title" => string(20) "Размещение" "link" => string(28) "/sections/accommodation.html" ) 1 => array(2) ( "title" => string(40) "Путешествие по Греции" "link" => string(35) "/sections/travelling_in_greece.html" ) 2 => array(2) ( "title" => string(38) "Путешествие в Грецию" "link" => string(35) "/sections/travelling_to_greece.html" ) 3 => array(2) ( "title" => string(12) "Погода" "link" => string(22) "/sections/weather.html" ) 4 => array(2) ( "title" => string(28) "Паспорта и визы" "link" => string(34) "/sections/passports_and_visas.html" ) ) ) 5 => array(3) ( "title" => string(45) "Греция в центре внимания" "link" => string(35) "/sections/greeceonthespotlight.html" "items" => array(0) ) ) ) 1 => array(2) ( "title" => string(31) "Куда отправиться" "items" => array(5) ( 0 => array(3) ( "title" => string(22) "Направления" "link" => string(27) "/sections/destinations.html" "items" => array(5) ( 0 => array(2) ( "title" => string(35) "Материковая Греция" "link" => string(23) "/sections/mainland.html" ) 1 => array(2) ( "title" => string(33) "Греческие острова" "link" => string(28) "/sections/greek_islands.html" ) 2 => array(2) ( "title" => string(28) "Туры по городам" "link" => string(24) "/sections/citybreak.html" ) 3 => array(2) ( "title" => string(29) "Основные города" "link" => string(26) "/sections/main_cities.html" ) 4 => array(2) ( "title" => string(73) "Выдающиеся европейские направления (EDEN)" "link" => string(32) "/sections/eden_destinations.html" ) ) ) 1 => array(3) ( "title" => string(16) "Культура" "link" => string(22) "/sections/culture.html" "items" => array(5) ( 0 => array(2) ( "title" => string(10) "Музеи" "link" => string(22) "/sections/museums.html" ) 1 => array(2) ( "title" => string(18) "Памятники" "link" => string(24) "/sections/monuments.html" ) 2 => array(2) ( "title" => string(49) "Археологические памятники" "link" => string(35) "/sections/archaeological_sites.html" ) 3 => array(2) ( "title" => string(52) "Объекты Всемирного наследия" "link" => string(35) "/sections/world_heritage_sites.html" ) 4 => array(2) ( "title" => string(14) "События" "link" => string(21) "/sections/events.html" ) ) ) 2 => array(3) ( "title" => string(8) "Море" "link" => string(18) "/sections/sea.html" "items" => array(2) ( 0 => array(2) ( "title" => string(10) "Пляжи" "link" => string(22) "/sections/beaches.html" ) 1 => array(2) ( "title" => string(12) "Круизы" "link" => string(22) "/sections/cruises.html" ) ) ) 3 => array(3) ( "title" => string(14) "Природа" "link" => string(21) "/sections/nature.html" "items" => array(14) ( 0 => array(2) ( "title" => string(45) "Альпинизм и пеший туризм" "link" => string(20) "/sections/paths.html" ) 1 => array(2) ( "title" => string(14) "Вулканы" "link" => string(24) "/sections/volcanoes.html" ) 2 => array(2) ( "title" => string(14) "Каньоны" "link" => string(22) "/sections/canyons.html" ) 3 => array(2) ( "title" => string(12) "Пещеры" "link" => string(20) "/sections/caves.html" ) 4 => array(2) ( "title" => string(10) "Озера" "link" => string(20) "/sections/lakes.html" ) 5 => array(2) ( "title" => string(8) "Реки" "link" => string(21) "/sections/rivers.html" ) 6 => array(2) ( "title" => string(8) "Леса" "link" => string(22) "/sections/forests.html" ) 7 => array(2) ( "title" => string(8) "Горы" "link" => string(24) "/sections/mountains.html" ) 8 => array(2) ( "title" => string(10) "Фауна" "link" => string(20) "/sections/fauna.html" ) 9 => array(2) ( "title" => string(10) "Флора" "link" => string(20) "/sections/flora.html" ) 10 => array(2) ( "title" => string(20) "Винодельни" "link" => string(23) "/sections/wineries.html" ) 11 => array(2) ( "title" => string(10) "Фермы" "link" => string(20) "/sections/farms.html" ) 12 => array(2) ( "title" => string(20) "Агротуризм" "link" => string(26) "/sections/agrotourism.html" ) 13 => array(2) ( "title" => string(16) "Водопады" "link" => string(25) "/sections/waterfalls.html" ) ) ) 4 => array(3) ( "title" => string(14) "Религия" "link" => string(23) "/sections/religion.html" "items" => array(4) ( 0 => array(2) ( "title" => string(12) "Церкви" "link" => string(23) "/sections/churches.html" ) 1 => array(2) ( "title" => string(18) "Монастыри" "link" => string(26) "/sections/monasteries.html" ) 2 => array(2) ( "title" => string(41) "Религиозные памятники" "link" => string(30) "/sections/religious_sites.html" ) 3 => array(2) ( "title" => string(61) "По стопам Апостола Павла в Греции" "link" => string(42) "/sections/on_the_path_of_apostle_paul.html" ) ) ) ) ) 2 => array(2) ( "title" => string(48) "Чем заняться и что увидеть" "items" => array(5) ( 0 => array(3) ( "title" => string(23) "Чем заняться" "link" => string(25) "/sections/activities.html" "items" => array(3) ( 0 => array(2) ( "title" => string(38) "Наземные виды спорта" "link" => string(26) "/sections/land_sports.html" ) 1 => array(2) ( "title" => string(18) "Авиаспорт" "link" => string(25) "/sections/air_sports.html" ) 2 => array(2) ( "title" => string(34) "Водные виды спорта" "link" => string(27) "/sections/water_sports.html" ) ) ) 1 => array(3) ( "title" => string(27) "Что посмотреть" "link" => string(22) "/sections/touring.html" "items" => array(7) ( 0 => array(2) ( "title" => string(29) "Винные маршруты" "link" => string(26) "/sections/wine_routes.html" ) 1 => array(2) ( "title" => string(119) "Осмотр достопримечательностей на объектах культурного наследия" "link" => string(43) "/sections/touring_by_cultural_interest.html" ) 2 => array(2) ( "title" => string(12) "Пешком" "link" => string(22) "/sections/on_foot.html" ) 3 => array(2) ( "title" => string(50) "Маршруты оливкового дерева" "link" => string(27) "/sections/olive_routes.html" ) 4 => array(2) ( "title" => string(22) "Спелеология" "link" => string(21) "/sections/caving.html" ) 5 => array(2) ( "title" => string(25) "На автомобиле" "link" => string(21) "/sections/by_car.html" ) 6 => array(2) ( "title" => string(25) "На велосипеде" "link" => string(25) "/sections/by_bicycle.html" ) ) ) 2 => array(3) ( "title" => string(10) "Досуг" "link" => string(22) "/sections/leisure.html" "items" => array(3) ( 0 => array(2) ( "title" => string(28) "Здоровье и уход" "link" => string(23) "/sections/wellness.html" ) 1 => array(2) ( "title" => string(12) "Шопинг" "link" => string(30) "/sections/shopping_around.html" ) 2 => array(2) ( "title" => string(22) "Развлечения" "link" => string(24) "/sections/going_out.html" ) ) ) 3 => array(3) ( "title" => string(10) "Кухня" "link" => string(25) "/sections/gastronomy.html" "items" => array(6) ( 0 => array(2) ( "title" => string(27) "Греческое пиво" "link" => string(26) "/sections/greek_beer_.html" ) 1 => array(2) ( "title" => string(35) "Региональная кухня" "link" => string(31) "/sections/regional_cuisine.html" ) 2 => array(2) ( "title" => string(41) "Традиционные продукты" "link" => string(35) "/sections/traditional_products.html" ) 3 => array(2) ( "title" => string(14) "Рецепты" "link" => string(22) "/sections/recipes.html" ) 4 => array(2) ( "title" => string(27) "Греческие вина" "link" => string(26) "/sections/greek_wines.html" ) 5 => array(2) ( "title" => string(12) "Фрукты" "link" => string(21) "/sections/fruits.html" ) ) ) 4 => array(3) ( "title" => string(27) "Деловой туризм" "link" => string(38) "/sections/meetings_and_incentives.html" "items" => array(0) ) ) ) 3 => array(2) ( "title" => string(27) "Настроение для" "items" => array(10) ( 0 => array(3) ( "title" => string(43) "Семейный отдых в Греции" "link" => string(29) "/sections/family_moments.html" "items" => array(0) ) 1 => array(3) ( "title" => string(18) "Романтика" "link" => string(22) "/sections/romance.html" "items" => array(0) ) 2 => array(3) ( "title" => string(31) "Молодежный отдых" "link" => string(30) "/sections/youth_vacations.html" "items" => array(0) ) 3 => array(3) ( "title" => string(23) "Зимний отдых" "link" => string(31) "/sections/winter_vacations.html" "items" => array(0) ) 4 => array(3) ( "title" => string(29) "Летние каникулы" "link" => string(31) "/sections/summer_vacations.html" "items" => array(0) ) 5 => array(3) ( "title" => string(33) "Весенние каникулы" "link" => string(31) "/sections/spring_vacations.html" "items" => array(0) ) 6 => array(3) ( "title" => string(31) "Осенние каникулы" "link" => string(31) "/sections/autumn_vacations.html" "items" => array(0) ) 7 => array(3) ( "title" => string(20) "Релаксация" "link" => string(25) "/sections/relaxation.html" "items" => array(0) ) 8 => array(3) ( "title" => string(14) "Роскошь" "link" => string(21) "/sections/luxury.html" "items" => array(0) ) 9 => array(3) ( "title" => string(18) "Экотуризм" "link" => string(25) "/sections/ecotourism.html" "items" => array(0) ) ) ) 4 => array(2) ( "title" => string(36) "Подписка на новости" "items" => array(1) ( 0 => array(3) ( "title" => string(11) "2016 год" "link" => string(24) "/sections/2016_year.html" "items" => array(0) ) ) ) ) ) protected _environment => object Twig_Environment(26){ protected charset => string(5) "utf-8" protected loader => object Twig_Loader_Kohana(1)
}{ protected cache => NULL }
protected debug => bool FALSE protected autoReload => bool TRUE protected cache => string(50) "/home/f/fl43470/public_html/application/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(4) ( "core" => object Twig_Extension_Core(3){ protected dateFormats => array(2) ( 0 => string(10) "F j, Y H:i" 1 => string(7) "%d days" ) protected numberFormat => array(3) ( 0 => integer 0 1 => string(1) "." 2 => string(1) "," ) protected timezone => NULL }
"escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => string(4) "html" }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"Kohana_Twig" => object Kohana_Twig_Extensions(0){ }
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected extensionInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) protected staging => object Twig_Extension_Staging(6){ protected functions => array(0) protected filters => array(0) protected visitors => array(0) protected tokenParsers => array(0) protected globals => array(0) protected tests => array(0) }
}{ protected charset => string(5) "utf-8" protected loader => object Twig_Loader_Kohana(1)
public auto_render => bool TRUE public request => object Request(19){ protected cache => NULL }
protected debug => bool FALSE protected autoReload => bool TRUE protected cache => string(50) "/home/f/fl43470/public_html/application/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(4) ( "core" => object Twig_Extension_Core(3){ protected dateFormats => array(2) ( 0 => string(10) "F j, Y H:i" 1 => string(7) "%d days" ) protected numberFormat => array(3) ( 0 => integer 0 1 => string(1) "." 2 => string(1) "," ) protected timezone => NULL }
"escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => string(4) "html" }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"Kohana_Twig" => object Kohana_Twig_Extensions(0){ }
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected extensionInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) protected staging => object Twig_Extension_Staging(6){ protected functions => array(0) protected filters => array(0) protected visitors => array(0) protected tokenParsers => array(0) protected globals => array(0) protected tests => array(0) }
}{ 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(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "Site" "controller" => string(4) "Main" "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(4) "Site" protected _controller => string(6) "Events" protected _action => string(2) "en" protected _uri => string(19) "events/en/downloads" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "downloads" ) 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 => NULL }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(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "Site" "controller" => string(4) "Main" "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(4) "Site" protected _controller => string(6) "Events" protected _action => string(2) "en" protected _uri => string(19) "events/en/downloads" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "downloads" ) 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 => NULL }109 $orig_response = $response = Response::factory(); 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 [ 990 ] » 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(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "Site" "controller" => string(4) "Main" "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(4) "Site" protected _controller => string(6) "Events" protected _action => string(2) "en" protected _uri => string(19) "events/en/downloads" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "downloads" ) 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) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * 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 }