MODPATH/database/classes/Kohana/Database/PDO.php [ 151 ]
146 // This benchmark is worthless
147 Profiler::delete($benchmark);
148 }
149
150 // Convert the exception in a database exception
151 throw new Database_Exception(':error [ :query ]',
152 array(
153 ':error' => $e->getMessage(),
154 ':query' => $sql
155 ),
156 $e->getCode());
-
APPPATH/classes/Database/PDO/MySQL.php [ 28 ] » Kohana_Database_PDO->query(arguments)
0
integer 1
1
string(30) "SHOW FULL COLUMNS FROM `menus`"
2
bool FALSE
23 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 24 } 25 else 26 { 27 // Find all column names 28 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 29 } 30 31 $count = 0; 32 $columns = array(); 33 foreach ($result as $row)
-
MODPATH/orm/classes/Kohana/ORM.php [ 1665 ] » Database_PDO_MySQL->list_columns(arguments)
0
string(5) "menus"
1660 * @return array 1661 */ 1662 public function list_columns() 1663 { 1664 // Proxy to database 1665 return $this->_db->list_columns($this->_table_name); 1666 } 1667 1668 /** 1669 * Returns an ORM model for the given one-one related alias 1670 *
-
MODPATH/orm/classes/Kohana/ORM.php [ 441 ] » Kohana_ORM->list_columns()
436 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 437 } 438 else 439 { 440 // Grab column information from database 441 $this->_table_columns = $this->list_columns(); 442 443 // Load column cache 444 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 445 } 446 }
-
MODPATH/orm/classes/Kohana/ORM.php [ 386 ] » Kohana_ORM->reload_columns()
381 { 382 $this->{$property} = $value; 383 } 384 385 // Load column information 386 $this->reload_columns(); 387 388 // Clear initial model state 389 $this->clear(); 390 } 391
-
MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize()
249 * 250 * @param mixed $id Parameter for find or object to load 251 */ 252 public function __construct($id = NULL) 253 { 254 $this->_initialize(); 255 256 if ($id !== NULL) 257 { 258 if (is_array($id)) 259 {
-
MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct(arguments)
0
array(1) ( "sef" => string(10) "federation" )
41 public static function factory($model, $id = NULL) 42 { 43 // Set class name 44 $model = 'Model_'.$model; 45 46 return new $model($id); 47 } 48 49 /** 50 * "Has one" relationships 51 * @var array
-
APPPATH/classes/Controller/Menu.php [ 9 ] » Kohana_ORM::factory(arguments)
0
string(4) "Menu"
1
array(1) ( "sef" => string(10) "federation" )
4 5 public function action_build(){ 6 $this->render = FALSE; 7 $elements = array(); 8 $sef = $this->request->param('id'); 9 $menu = ORM::factory('Menu',array('sef'=>$sef)); 10 $items = ORM::factory('Menu')->where('menu','=',$menu->id)->order_by('priority','DESC')->find_all(); 11 foreach ($items as $item) { 12 $elements[$item->id]['title']=$item->title; 13 $elements[$item->id]['link']=$item->link(); 14 if($item->parent_id != $menu->id){
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Menu->action_build()
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_Menu(15)
{ public template => object View(2)
{ protected _file => string(43) "/var/www/fdk.kz/application/views/basic.php" protected _data => array(0) }
public ulogin => string(250) "<div id="uLogin" x-ulogin-params="display=small;fields=email,first_name,last_name;providers=vkontakte,odnoklassniki,mailru,faceb …" protected user => NULL protected login_uri => string(10) "user/login" protected need_auth => bool FALSE public render => bool FALSE public last_uri => string(1) "/" public write_lst_uri => bool TRUE public errors => array(0) public page => object Cms_Page(6){ protected title => string(33) "ДЗЮДО ФЕДЕРАЦИЯСЫ" protected content => NULL public model => NULL public count => integer 1 protected header => array(4) ( "scripts" => array(13) ( "jquery" => string(26) "js/lib/jquery-1.9.0.min.js" "jquery-ui" => string(36) "js/lib/jquery-ui-1.9.1.custom.min.js" "mainJS" => string(11) "js/index.js" "bootstrap" => string(36) "js/lib/bootstrap/js/bootstrap.min.js" "ulogin" => string(29) "http://ulogin.ru/js/ulogin.js" "fancybox" => string(30) "js/fancybox/jquery.fancybox.js" "fancybox.pack" => string(35) "js/fancybox/jquery.fancybox.pack.js" "fancybox.buttons" => string(38) "js/fancybox/jquery.fancybox-buttons.js" "fancybox.thumbs" => string(37) "js/fancybox/jquery.fancybox-thumbs.js" "fancybox.media" => string(36) "js/fancybox/jquery.fancybox-media.js" "imagesloaded" => string(22) "js/imagesloaded.min.js" "masonry" => string(17) "js/masonry.min.js" "index" => string(11) "js/index.js" ) "styles" => array(5) ( "jquery_ui" => string(75) "js/lib/jquery-ui-1.9.1.custom/css/smoothness/jquery-ui-1.9.1.custom.min.css" "fancybox" => string(32) "css/fancybox/jquery.fancybox.css" "fancybuttons" => string(40) "css/fancybox/jquery.fancybox-buttons.css" "fancyboxthumbs" => string(39) "css/fancybox/jquery.fancybox-thumbs.css" "main" => string(13) "css/style.css" ) "meta" => array(0) "og" => array(0) ) protected document_root => string(15) "/var/www/fdk.kz" }
public session => object Session_Native(5){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(2) ( "csrf-token" => string(64) "5c5531e67deda5dfeecbde5cd0c5f933087d6c0069ffc02209918ca215951acc" "lang" => string(2) "kz" ) protected _destroyed => bool FALSE }
protected _csrf => NULL protected _need_csrf => bool FALSE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => NULL protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(49) "(<controller>(/<action>(/<id>(/<id2>(/<city>)))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "federation" "action" => string(5) "index" ) protected _route_regex => string(150) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<city>[^/., …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Menu" protected _action => string(5) "build" protected _uri => string(21) "Menu/build/federation" protected _external => bool FALSE protected _params => array(1) ( "id" => string(10) "federation" ) 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 => NULL protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(49) "(<controller>(/<action>(/<id>(/<id2>(/<city>)))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "federation" "action" => string(5) "index" ) protected _route_regex => string(150) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<city>[^/., …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Menu" protected _action => string(5) "build" protected _uri => string(21) "Menu/build/federation" protected _external => bool FALSE protected _params => array(1) ( "id" => string(10) "federation" ) 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 => NULL protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(49) "(<controller>(/<action>(/<id>(/<id2>(/<city>)))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "federation" "action" => string(5) "index" ) protected _route_regex => string(150) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<city>[^/., …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Menu" protected _action => string(5) "build" protected _uri => string(21) "Menu/build/federation" protected _external => bool FALSE protected _params => array(1) ( "id" => string(10) "federation" ) 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.
-
APPPATH/views/basic.php [ 52 ] » Kohana_Request->execute()
47 </form> 48 49 50 51 <div class="inline nav_main"> 52 <?= Request::factory(Route::get('common')->uri(array('controller' => 'Menu', 'action' => 'build', 'id' => 'federation')))->execute(); ?> 53 </div> 54 </div><!-- #header--> 55 56 <div id="content"> 57 <?=$page->content()?>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(43) "/var/www/fdk.kz/application/views/basic.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(43) "/var/www/fdk.kz/application/views/basic.php"
1
array(0)
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View
-
MODPATH/cms/classes/Cms/Controller.php [ 79 ] » Kohana_View->render()
74 75 public function after() 76 { 77 if ($this->render) 78 { 79 $this->response->body($this->template->render()); 80 if($this->write_lst_uri) 81 Session::instance()->set('last_uri', $this->current_url()); 82 } 83 84 $this->page->save_messages();
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Cms_Controller->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 [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Event(15)
{ public template => object View(2)
{ protected _file => string(43) "/var/www/fdk.kz/application/views/basic.php" protected _data => array(0) }
public ulogin => string(250) "<div id="uLogin" x-ulogin-params="display=small;fields=email,first_name,last_name;providers=vkontakte,odnoklassniki,mailru,faceb …" protected user => NULL protected login_uri => string(10) "user/login" protected need_auth => bool FALSE public render => bool TRUE public last_uri => string(1) "/" public write_lst_uri => bool TRUE public errors => array(0) public page => object Cms_Page(6){ protected title => string(79) "Жарыстардың күнтізбесі - ДЗЮДО ФЕДЕРАЦИЯСЫ" protected content => object View(2)
public session => object Session_Native(5){ protected _file => string(49) "/var/www/fdk.kz/application/views/events/list.php" protected _data => array(10) ( "pagination" => NULL "year" => string(4) "1721" "month" => array(13) ( "all" => string(15) "Жыл бойы" 1 => string(12) "Қаңтар" 2 => string(10) "Ақпан" 3 => string(12) "Наурыз" 4 => string(10) "Сәуір" 5 => string(10) "Мамыр" 6 => string(12) "Маусым" 7 => string(10) "Шілде" 8 => string(10) "Тамыз" 9 => string(16) "Қыркүйек" 10 => string(10) "Қазан" 11 => string(12) "Қараша" 12 => string(18) "Желтоқсан" ) "avail_months" => array(0) "month_id" => string(1) "4" "city_id" => string(3) "all" "count" => string(1) "0" "city" => object Model_City(42)
public model => NULL public count => integer 1 protected header => array(4) ( "scripts" => array(16) ( "jquery" => string(26) "js/lib/jquery-1.9.0.min.js" "jquery-ui" => string(36) "js/lib/jquery-ui-1.9.1.custom.min.js" "mainJS" => string(11) "js/index.js" "bootstrap" => string(36) "js/lib/bootstrap/js/bootstrap.min.js" "ulogin" => string(29) "http://ulogin.ru/js/ulogin.js" "fancybox" => string(30) "js/fancybox/jquery.fancybox.js" "fancybox.pack" => string(35) "js/fancybox/jquery.fancybox.pack.js" "fancybox.buttons" => string(38) "js/fancybox/jquery.fancybox-buttons.js" "fancybox.thumbs" => string(37) "js/fancybox/jquery.fancybox-thumbs.js" "fancybox.media" => string(36) "js/fancybox/jquery.fancybox-media.js" "imagesloaded" => string(22) "js/imagesloaded.min.js" "masonry" => string(17) "js/masonry.min.js" "index" => string(11) "js/index.js" "eventroute" => string(16) "js/eventroute.js" "yandexmap" => string(59) "http://api-maps.yandex.ru/2.0/?load=package.full&lang=ru-RU" "map" => string(14) "js/eventmap.js" ) "styles" => array(5) ( "jquery_ui" => string(75) "js/lib/jquery-ui-1.9.1.custom/css/smoothness/jquery-ui-1.9.1.custom.min.css" "fancybox" => string(32) "css/fancybox/jquery.fancybox.css" "fancybuttons" => string(40) "css/fancybox/jquery.fancybox-buttons.css" "fancyboxthumbs" => string(39) "css/fancybox/jquery.fancybox-thumbs.css" "main" => string(13) "css/style.css" ) "meta" => array(0) "og" => array(0) ) protected document_root => string(15) "/var/www/fdk.kz" }{ protected _table_name => string(6) "cities" protected _belongs_to => array(1) ( "country" => array(2) ( "foreign_key" => string(10) "country_id" "model" => string(8) "Category" ) ) protected _route => string(4) "city" protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) protected _partial_models_temp => array(0) public pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(12) ( "id" => NULL "title_ru" => NULL "title_en" => NULL "title_kz" => NULL "country_id" => NULL "lat" => NULL "lng" => NULL "sef" => NULL "synch_id" => NULL "synch_site" => NULL "is_published" => NULL "confederation" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "city" protected _object_plural => string(6) "cities" protected _table_columns => array(12) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title_ru" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "title_ru" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_en" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_kz" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "country_id" => array(9) ( "column_name" => string(10) "country_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "lat" => array(9) ( "column_name" => string(3) "lat" "column_default" => NULL "data_type" => string(14) "float unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lng" => array(9) ( "column_name" => string(3) "lng" "column_default" => NULL "data_type" => string(14) "float unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "synch_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "synch_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "synch_site" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "synch_site" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_published" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "is_published" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(12) "1 - da 2 net" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "confederation" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "confederation" "column_default" => string(1) "2" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
"city_array" => array(186) ( "all" => string(27) "Барлық қалалар" "astana" => string(12) "Астана" "almati" => string(12) "Алматы" "semei" => string(10) "Семей" "parizh" => string(10) "Париж" "pavlodar" => string(16) "Павлодар" "kordoba__kuba_" => string(25) "Кордоба (Куба)" "mariupol___ukraina_" => string(35) "Мариуполь (Украина)" "akbulak" => string(14) "Акбулак" "groznii__rossiya_" => string(15) "Грозный " "mahachkala__rossiya_" => string(33) "Махачкала (Россия)" "aktau" => string(10) "Ақтау" "shimkent" => string(14) "Шымкент" "aktobe" => string(12) "Ақтөбе" "karaganda" => string(18) "Қарағанды" "shchuchinsk" => string(14) "Щучинск" "berdichev__ukraina_" => string(17) "Бердичев " "brandenburg__germaniya_" => string(41) "Бранденбург (Германия)" "kostanai" => string(16) "Қостанай" "stambul__turtsiya_" => string(15) "Стамбұл " "minsk__belarus__" => string(11) "Минск " "taldikorgan" => string(22) "Талдықорған" "har_kov__ukraina_" => string(14) "Харьков" "baku__azerbaidzhan_" => string(8) "Баку" "kaskelen" => string(16) "Каскелен" "kiev__ukraina_" => string(9) "Киев " "oz__issik_kul___kirgizstan_" => string(20) "Иссык-Куль " "petropavlovsk" => string(18) "Петропавл" "balhash" => string(12) "Балхаш" "ayagoz" => string(10) "Аягөз" "rubtsovsk" => string(16) "Рубцовск" "atirau" => string(12) "Атырау" "chirchik__uzbekistan_" => string(13) "Чирчик " "taraz" => string(10) "Тараз" "kordai" => string(12) "Қордай" "afini__gretsiya_" => string(10) "Афины" "nikolaev__ukraina_" => string(17) "Николаев " "zhaksi" => string(10) "Жаксы" "surgut__rossiya_" => string(13) "Сургут " "chelyabinsk__rossiya_" => string(19) "Челябинск " "shu" => string(4) "Шу" "berlin__germaniya_" => string(13) "Берлин " "kaliningrad__rossiya_" => string(23) "Калининград " "varshava__pol_sha_" => string(14) "Варшава" "sassari__italiya_" => string(15) "Сассари " "madrid__ispaniya_" => string(12) "Мадрид" "vanadzor__armeniya_" => string(17) "Ванадзор " "olimpiya__gretsiya_" => string(14) "Олимпия" "borovoe" => string(14) "Бурабай" "spala__pol_sha_" => string(11) "Спала " "budapesht__vengriya_" => string(17) "Будапешт " "yakutsk__rossiya_" => string(13) "Якутск " "hasavurt__rossiya_" => string(17) "Хасавюрт " "n_u_iork__ssha_" => string(16) "Нью-Йорк " "ekibastuz" => string(18) "Экибастуз" "ust__kamenogorsk" => string(14) "Өскемен" "kokshetau" => string(16) "Көкшетау" "staiki__belarus__" => string(31) "Стайки (Беларусь)" "riga__latviya_" => string(23) "Рига (Латвия)" "ankara__turtsiya_" => string(27) "Анкара (Турция)" "bangkok__tailand_" => string(31) "Бангкок (Таиланд)" "sofiya__bolgariya_" => string(29) "София (Болгария)" "zhezkazgan" => string(18) "Жезқазған" "roussi__bolgariya_" => string(31) "Роусси (Болгария)" "kushadasi__turtsiya_" => string(31) "Кушадасы (Турция)" "ulan_bator__mongoliya_" => string(38) "Улан-Батор (Моңғолия)" "zrenyanin__serbiya_" => string(31) "Зренянин (Сербия)" "kizilorda" => string(18) "Кызылорда" "krasnoyarsk__rossiya_" => string(33) "Красноярск (Ресей)" "turkestan" => string(18) "Түркістан" "ridder" => string(12) "Риддер" "esil_" => string(8) "Есіл" "moskva__rossiya_" => string(25) "Москва (Ресей)" "pusan__koreya_" => string(23) "Пусан (Корея)" "antaliya__turtsiya_" => string(29) "Анталия (Турция)" "bishkek__kirgizstan_" => string(35) "Бішкек (Қырғызстан)" "sidnei__avstraliya_" => string(33) "Сидней (Австралия)" "tekeli" => string(12) "Текели" "kazan___rossiya_" => string(27) "Казань (Россия)" "vankuver__kanada_" => string(31) "Ванкувер (Канада)" "nanzhin__kitai_" => string(25) "Нанкин (Қытай)" "piongiang__kndr_" => string(29) "Пионгианг (КНДР)" "dortmund__germaniya_" => string(35) "Дортмунд (Германия)" "nonkoen__tailand_" => string(31) "Нонкоен (Таиланд)" "dubai__oae_" => string(19) "Дубаи (ОАЭ)" "beloretsk__rossiya_" => string(31) "Белорецк (Россия)" "alushta__ukraina_" => string(29) "Алушта (Украина)" "tirgovishte__ruminiya_" => string(37) "Тырговиште (Румыния)" "tata__vengriya_" => string(25) "Тата (Венгрия)" "huhot__kitai_" => string(23) "Хухот (Китай)" "saraevo__bosniya_i_gertsegovina_" => string(61) "Сараево (Босния және Герцеговина)" "vantaa__finlyandiya_" => string(33) "Вантаа (Финляндия)" "haparanda__shvetsiya_" => string(33) "Хапаранда (Швеция)" "il_maioki__finlyandiya_" => string(39) "Ильмайоки (Финляндия)" "rio_de_zhaneiro__braziliya_" => string(45) "Рио-де-Жанейро (Бразилия)" "phuket__tailand_" => string(29) "Пхукет (Таиланд)" "ural_sk" => string(8) "Орал" "urzhar" => string(10) "Уржар" "tarbiz__iran_" => string(23) "Табриз (Иран)" "gonkong__kitai_" => string(27) "Гонконг (Китай)" "las_vegas__ssha_" => string(26) "Лас-Вегас (США)" "eindhoven__niderlandi_" => string(41) "Эйндховен (Нидерланды)" "gamburg__germaniya_" => string(33) "Гамбург (Германия)" "tegeran__iran_" => string(25) "Тегеран (Иран)" "dzhakarta__indoneziya_" => string(37) "Джакарта (Индонезия)" "mehiko__meksika_" => string(29) "Мехико (Мексика)" "seul__koreya_" => string(21) "Сеул (Корея)" "gavana__kuba_" => string(23) "Гавана (Куба)" "buharest__ruminiya_" => string(33) "Бухарест (Румыния)" "tallin__estoniya_" => string(29) "Таллин (Эстония)" "liverpul___velikobritaniya_" => string(49) "Ливерпуль (Великобритания)" "zagreb__horvatiya_" => string(31) "Загреб (Хорватия)" "tashkent__uzbekistan_" => string(35) "Ташкент (Өзбекстан)" "port_lui__mavrikii_" => string(34) "Порт-Луи (Маврикий)" "abu_dabi__oae_" => string(24) "Абу-Даби (ОАЭ)" "apia__samoa_" => string(21) "Апиа (Самоа)" "rotterdam__niderlandi_" => string(41) "Роттердам (Нидерланды)" "chedzhu__koreya_" => string(23) "Чеджу (Корея)" "tokio__yaponiya_" => string(27) "Токио (Жапония)" "tsindao__kitai_" => string(25) "Циндао (Қытай)" "lissabon__portugaliya_" => string(39) "Лиссабон (Португалия)" "maiami__ssha_" => string(21) "Майами (США)" "rim__italiya_" => string(21) "Рим (Италия)" "vrotslav__pol_sha_" => string(29) "Вроцлав (Польша)" "tsetnevo__pol_sha_" => string(29) "Цетнево (Польша)" "praga__chehiya_" => string(23) "Прага (Чехия)" "vena__avstriya_" => string(25) "Вена (Австрия)" "satpaev" => string(14) "Сәтбаев" "lublyana__sloveniya_" => string(33) "Любляна (Словения)" "shardara" => string(14) "Шардара" "beineu" => string(12) "Бейнеу" "temirtau" => string(16) "Теміртау" "uzhgorod__ukraina_" => string(31) "Ужгород (Украина)" "arkalik" => string(14) "Арқалық" "lenger" => string(12) "Ленгер" "stepnogorsk" => string(18) "Степногор" "agadir" => string(12) "Агадыр" "tobol" => string(10) "Тобыл" "malaga__ispaniya_" => string(29) "Малага (Испания)" "subik_bei" => string(38) "Субик-Бей (Филиппины)" "debretsen" => string(33) "Дебрецен (Венгрия)" "galle__germaniya_" => string(29) "Галле (Германия)" "usti_nad_labem__chehiya_" => string(39) "Усти-над-Лабем (Чехия)" "hersone__ukraina_" => string(31) "Херсоне (Украина)" "habarovsk__rossiya_" => string(33) "Хабаровск (Россия)" "brunang_cheberg___avstriya_" => string(45) "Брунанг-Чеберг (Австрия)" "lima__peru_" => string(19) "Лима (Перу)" "opredelitsya_pozzhe" => string(33) "Определится позже" "Ulan-Ude" => string(15) "Улан-Удэ" "sankt-peterburg" => string(29) "Санкт-Петербург" "tumen" => string(12) "Тюмень" "kolorado-springs" => string(31) "Колорадо Спрингс" "sambathei" => string(18) "Самбатхей" "belgrad" => string(14) "Белград" "dusseldorf" => string(22) "Дюссельдорф" "tbilisi-gruziya" => string(29) "Тбилиси (Грузия)" "buenos-aires-argentina" => string(44) "Буэнос-Айрес (Аргентина)" "samsun" => string(12) "Самсун" "orenburg" => string(16) "Оренбург" "taipei" => string(12) "Тайпей" "glazgo" => string(12) "Глазго" "konzhu-koreya" => string(23) "Конжу (Корея)" "chiangmai-tailand" => string(33) "Чиангмай (Таиланд)" "snina" => string(10) "Снина" "inchhon" => string(12) "Инчхон" "inchhon__uzhnaya_koreya_" => string(29) "Манама (Бахрейн)" "rotava" => string(12) "Ротава" "inchion__koreya_" => string(25) "Инчион (Корея)" "doha-katar" => string(21) "Доха (Катар)" "vrbas-serbiya" => string(25) "Врбас (Сербия)" "saloniki-gretsiya" => string(31) "Салоники (Греция)" "orlando-florida-ssha" => string(38) "Орландо, Флорида, США" "fudzheira-oae" => string(24) "Фуджейра, ОАЭ" "el-kuveit-kuveit" => string(36) "Эль-Кувейт, Кувейт" "shkoder-albaniya" => string(32) "Шкодер (Албания)" "kitaiskii-taipei" => string(34) "Китайский Тайпей" "rabat-marokko" => string(26) "Рабат, Марокко" "insbruk-avstriya" => string(34) "Инсбрук (Австрия)" "nu-deli-indiya" => string(28) "Нью-Дели (Индия)" "neipido-myanma" => string(30) "Нейпьидо, Мьянма" "rossiya" => string(12) "Россия" "katmandu-nepal" => string(29) "Катманду (Непал)" "resife-braziliya" => string(31) "Ресифе (Бразилия)" "kingdao-kitai" => string(27) "Кингдао (Китай)" "huston-ssha" => string(23) "Хьюстон (США)" "dzhedzhu-uzhnaya-koreya" => string(36) "Джеджу (Южная Корея)" ) "model" => object Model_Event(42){ protected _identifier => string(1) "`" public last_query => string(839) "SELECT `event`.`id` AS `id`, `event`.`title_ru` AS `title_ru`, `event`.`title_kz` AS `title_kz`, `event`.`title_en` AS `title_en …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "city" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _route => string(5) "event" protected _belongs_to => array(1) ( "city" => array(2) ( "foreign_key" => string(7) "city_id" "model" => string(4) "City" ) ) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) protected _partial_models_temp => array(0) public pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(21) ( "id" => NULL "title_ru" => NULL "title_kz" => NULL "title_en" => NULL "date_begin" => NULL "date_end" => NULL "text_ru" => NULL "text_kz" => NULL "text_en" => NULL "type" => NULL "address" => NULL "telephone" => NULL "email" => NULL "lat" => NULL "lng" => NULL "sef" => NULL "city_id" => NULL "synch_id" => NULL "synch_site" => NULL "is_published" => NULL "confederation" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(5) "event" protected _object_plural => string(6) "events" protected _table_name => string(6) "events" protected _table_columns => array(21) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title_ru" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "title_ru" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_kz" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_en" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_begin" => array(9) ( "column_name" => string(10) "date_begin" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_end" => array(9) ( "column_name" => string(8) "date_end" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_ru" => array(9) ( "column_name" => string(7) "text_ru" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_kz" => array(9) ( "column_name" => string(7) "text_kz" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_en" => array(9) ( "column_name" => string(7) "text_en" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "type" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "address" => array(10) ( "type" => string(6) "string" "column_name" => string(7) "address" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "telephone" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "telephone" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "email" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "email" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lat" => array(11) ( "type" => string(5) "float" "exact" => bool TRUE "column_name" => string(3) "lat" "column_default" => NULL "data_type" => string(7) "decimal" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lng" => array(11) ( "type" => string(5) "float" "exact" => bool TRUE "column_name" => string(3) "lng" "column_default" => NULL "data_type" => string(7) "decimal" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "synch_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "synch_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "synch_site" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "synch_site" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_published" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "is_published" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(12) "1 - da 2 net" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "confederation" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "confederation" "column_default" => string(1) "2" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
) }{ protected _identifier => string(1) "`" public last_query => string(839) "SELECT `event`.`id` AS `id`, `event`.`title_ru` AS `title_ru`, `event`.`title_kz` AS `title_kz`, `event`.`title_en` AS `title_en …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "event" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(2) ( "csrf-token" => string(64) "5c5531e67deda5dfeecbde5cd0c5f933087d6c0069ffc02209918ca215951acc" "lang" => string(2) "kz" ) protected _destroyed => bool FALSE }
protected _csrf => NULL protected _need_csrf => bool FALSE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(49) "(<controller>(/<action>(/<id>(/<id2>(/<city>)))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "federation" "action" => string(5) "index" ) protected _route_regex => string(150) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<city>[^/., …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Event" protected _action => string(4) "list" protected _uri => string(21) "event/list/1721/4/all" protected _external => bool FALSE protected _params => array(3) ( "id" => string(4) "1721" "id2" => string(1) "4" "city" => string(3) "all" ) protected _get => array(1) ( "lang" => string(2) "kz" ) 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/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(49) "(<controller>(/<action>(/<id>(/<id2>(/<city>)))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "federation" "action" => string(5) "index" ) protected _route_regex => string(150) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<city>[^/., …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Event" protected _action => string(4) "list" protected _uri => string(21) "event/list/1721/4/all" protected _external => bool FALSE protected _params => array(3) ( "id" => string(4) "1721" "id2" => string(1) "4" "city" => string(3) "all" ) protected _get => array(1) ( "lang" => string(2) "kz" ) 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/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(49) "(<controller>(/<action>(/<id>(/<id2>(/<city>)))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "federation" "action" => string(5) "index" ) protected _route_regex => string(150) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<city>[^/., …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Event" protected _action => string(4) "list" protected _uri => string(21) "event/list/1721/4/all" protected _external => bool FALSE protected _params => array(3) ( "id" => string(4) "1721" "id2" => string(1) "4" "city" => string(3) "all" ) protected _get => array(1) ( "lang" => string(2) "kz" ) 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 }