MODPATH/profilertoolbar/classes/Kohana/Database/MySQL.php [ 67 ]
62 catch (Exception $e)63 {64 // No connection exists65 $this->_connection = NULL;66 67 throw new Database_Exception(':error',68 array(':error' => $e->getMessage()),69 $e->getCode());70 }71 72 // \xFF is a better delimiter, but the PHP driver uses underscore73
-
MODPATH/profilertoolbar/classes/Kohana/Database/MySQL.php [ 171 ] » Kohana_Database_MySQL->connect ( )
166 }167 168 public function query($type, $sql, $as_object = FALSE, array $params = NULL)169 {170 // Make sure the database is connected171 $this->_connection or $this->connect();172 173 if ( ! empty($this->_config['profiling']) && stripos($sql,'explain') !== 0)174 {175 // Benchmark this query for the current instance176 $benchmark = Profiler::start("Database ({$this->_instance})", $sql);177
-
MODPATH/profilertoolbar/classes/Kohana/Database/MySQL.php [ 392 ] » Kohana_Database_MySQL->query ( arguments )
0 1 1 SHOW FULL COLUMNS FROM `comments` 2 false 387 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE);388 }389 else390 {391 // Find all column names392 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE);393 }394 395 $count = 0;396 $columns = array();397 foreach ($result as $row)398
-
MODPATH/orm/classes/Kohana/ORM.php [ 1665 ] » Kohana_Database_MySQL->list_columns ( arguments )
0 comments 1660 * @return array1661 */1662 public function list_columns()1663 {1664 // Proxy to database1665 return $this->_db->list_columns($this->_table_name);1666 }1667 1668 /**1669 * Returns an ORM model for the given one-one related alias1670 *1671 1672
-
MODPATH/orm/classes/Kohana/ORM.php [ 441 ] » Kohana_ORM->list_columns ( )
436 $this->_table_columns = ORM::$_column_cache[$this->_object_name];437 }438 else439 {440 // Grab column information from database441 $this->_table_columns = $this->list_columns();442 443 // Load column cache444 ORM::$_column_cache[$this->_object_name] = $this->_table_columns;445 }446 }447
-
MODPATH/orm/classes/Kohana/ORM.php [ 386 ] » Kohana_ORM->reload_columns ( )
381 {382 $this->{$property} = $value;383 }384 385 // Load column information386 $this->reload_columns();387 388 // Clear initial model state389 $this->clear();390 }391 392
-
MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize ( )
249 *250 * @param mixed $id Parameter for find or object to load251 */252 public function __construct($id = NULL)253 {254 $this->_initialize();255 256 if ($id !== NULL)257 {258 if (is_array($id))259 {260
-
MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct ( arguments )
0 NULL
41 public static function factory($model, $id = NULL)42 {43 // Set class name44 $model = 'Model_'.$model;45 46 return new $model($id);47 }48 49 /**50 * "Has one" relationships51 * @var array52 53
-
APPPATH/classes/Widget/Comments/Last.php [ 13 ] » Kohana_ORM::factory ( arguments )
0 Comment 8 { 9 $_cache_name = __(self::CACHE_NAME, array(':hash' => md5(serialize($this->config))));10 11 if ( ! $comments = unserialize(Cache::instance()->get($_cache_name)))12 {13 $comments = ORM::factory('Comment');14 15 if ($this->config['city'])16 {17 $city_search = $this->config['city'] == 'prokopievsk' ? 'novokuznetsk' : $this->config['city'];18 19
-
MODPATH/widget/classes/Widget.php [ 62 ] » Widget_Comments_Last->render ( )
57 if (Kohana::$profiling)58 {59 $benchmark = Profiler::start('widget', $name);60 }61 62 $result = $widget->render();63 64 if (isset($benchmark))65 {66 Profiler::stop($benchmark);67 }68
-
APPPATH/views/page/gis/profile.php [ 86 ] » Widget::show ( arguments )
0 comments_last 1 array(2) { ["subcategories"] => array(5) { [0] => string(28) "Парикмахерские" [1] => string(29) "Ногтевые студии" [2] => string(25) "Студии загара" [3] => string(33) "Услуги массажиста" [4] => string(39) "Косметические услуги" } ["city"] => string(8) "vladimir" }
81 <strong class="red">Похожие организации:</strong>82 <?=$near_firms?>83 </div>84 </div>85 <? endif ?>86 <? if (isset($profile->rubrics) AND $comments_last = Widget::show('comments_last', array('subcategories' => $profile->rubrics, 'city' => $city->code))): ?>87 <div class="wrap cwell cwell-default">88 <?=$comments_last?>89 </div>90 <? endif ?>91 </div>92
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )
0 /var/home/adminpublic_html/application/views/page/gis/profile.php 56 ob_start();57 58 try59 {60 // Load the view within the current scope61 include $kohana_view_filename;62 }63 catch (Exception $e)64 {65 // Delete the output buffer66 ob_end_clean();67
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )
0 /var/home/adminpublic_html/application/views/page/gis/profile.php 1 array(1) { ["profile"] => object(stdClass)#307 (26) { ["api_version"] => string(3) "1.3" ["response_code"] => string(3) "200" ["id"] => string(16) "8304040094049884" ["lon"] => string(15) "40.455748277703" ["lat"] => string(15) "56.164685018412" ["booklet_url"] => NULL ["booklet_title"] => NULL ["name"] => string(39) "Малина, салон красоты" ["firm_group"] => object(stdClass)#308 (2) { ["id"] => string(16) "8304048683940110" ["count"] => string(1) "1" } ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=143fky88G4HAJ1HJ1629uvly3714432A182945962JrxA84J292168G443424149G1HG8d" ["review_register_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=173fky88G4HAJ1HJ192huvly3714432A162645962JrxA84J2d2e68G443424149G21GH2i" ["address_click_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=1d36ky88G4HAJ1HJ1e24uvly3714432A1g2d45962JrxA84J212A68G443424149G24GH6f" ["city_name"] => string(16) "Владимир" ["project_id"] => string(2) "59" ["city_id"] => string(16) "8304134583222334" ["address"] => string(29) "Комиссарова, 10/13" ["create_time"] => string(22) "2012-11-12 12:32:23+07" ["modification_time"] => string(29) "2015-04-18 05:09:07.640074+06" ["additional_info"] => object(stdClass)#309 (6) { ["currency"] => string(3) "RUB" ["barbershop_details"] => array(1) { [0] => string(14) "hair_extension" } ["barbershop_wifi"] => bool(false) ["barbershop_male_haircut_price"] => int(300) ["barbershop_female_haircut_starting_price"] => int(500) ["beauty_treatments_service"] => array(1) { [0] => string(9) "epilation" } } ["contacts"] => array(1) { [0] => object(stdClass)#310 (2) { ["name"] => string(0) "" ["contacts"] => array(3) { [0] => object(stdClass)#311 (3) { ["type"] => string(5) "phone" ["value"] => string(12) "+74922319087" ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=1138ky88G4HAJ1HJ172euvly3714432A122c45962JrxA84J272d68G443424149G3HGgA" } [1] => object(stdClass)#312 (3) { ["type"] => string(5) "phone" ["value"] => string(12) "+79040345501" ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=173Cky88G4HAJ1HJ172Auvly3714432A1b2445962JrxA84J242e68G443424149G3HG47" } [2] => object(stdClass)#313 (4) { ["type"] => string(9) "vkontakte" ["value"] => string(26) "http://vk.com/id170303773" ["register_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=1e35ky88G4HAJ1HJ102cuvly3714432A1b2e45962JrxA84J262b68G443424149G31GH65" ["alias"] => string(26) "http://vk.com/id170303773" } } } } ["schedule"] => object(stdClass)#314 (7) { ["Mon"] => object(stdClass)#315 (1) { ["working_hours-0"] => object(stdClass)#316 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Tue"] => object(stdClass)#317 (1) { ["working_hours-0"] => object(stdClass)#318 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Wed"] => object(stdClass)#319 (1) { ["working_hours-0"] => object(stdClass)#320 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Thu"] => object(stdClass)#321 (1) { ["working_hours-0"] => object(stdClass)#322 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Fri"] => object(stdClass)#323 (1) { ["working_hours-0"] => object(stdClass)#324 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Sat"] => object(stdClass)#325 (1) { ["working_hours-0"] => object(stdClass)#326 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Sun"] => object(stdClass)#327 (1) { ["working_hours-0"] => object(stdClass)#328 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } } ["payoptions"] => array(1) { [0] => string(4) "Cash" } ["rating"] => string(1) "0" ["rubrics"] => array(5) { [0] => string(28) "Парикмахерские" [1] => string(29) "Ногтевые студии" [2] => string(25) "Студии загара" [3] => string(33) "Услуги массажиста" [4] => string(39) "Косметические услуги" } ["see_also"] => array(2) { [0] => object(stdClass)#329 (8) { ["id"] => string(17) "70000001006754544" ["lon"] => float(40,384553030017) ["lat"] => float(56,144444862593) ["name"] => string(37) "Гейша, салон красоты" ["hash"] => string(105) "982666963714J1H4G960094062773668G445033107282373lyky88H91302756547GB534365d8uv2JrxG3404864477JJ15A8B5G79f" ["city_name"] => string(16) "Владимир" ["address"] => string(20) "Горького, 81" ["ads"] => object(stdClass)#330 (2) { ["sponsored_article"] => object(stdClass)#331 (2) { ["title"] => string(50) "Новый образ — это просто!" ["text"] => string(70) "Наши двери открыты для вас каждый день" } ["warning"] => NULL } } [1] => object(stdClass)#332 (8) { ["id"] => string(16) "8304040093959850" ["lon"] => float(40,404293133155) ["lat"] => float(56,137754769786) ["name"] => string(35) "C.R.CLUB, салон красоты" ["hash"] => string(104) "h8c6d69637144H2J842094046e778668G445432A3A9307A3lyky88HA434259A50J8627076b5huv2JrxG3137552A2HJ3HA987H5h8" ["city_name"] => string(16) "Владимир" ["address"] => string(19) "Зелёная, 1а" ["ads"] => object(stdClass)#333 (2) { ["sponsored_article"] => object(stdClass)#334 (2) { ["title"] => string(36) "C.R. CLUB, салон красоты" ["text"] => string(77) "Мы работаем для всех, кто хочет измениться" } ["warning"] => string(141) "Имеются противопоказания, необходимо проконсультироваться со специалистом." } } } ["city"] => object(stdClass)#83 (30) { ["id"] => int(59) ["name"] => string(16) "Владимир" ["code"] => string(8) "vladimir" ["geo_id"] => string(16) "8303937014726658" ["country_code"] => string(2) "ru" ["language"] => string(2) "ru" ["transport_routes_count"] => int(64) ["timezone"] => string(13) "Europe/Moscow" ["actual_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["road_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["centroid"] => string(42) "POINT(40.388842362249392 56.1427926814219)" ["geoscount"] => int(35545) ["firmscount"] => int(8913) ["filialscount"] => int(11335) ["rubricscount"] => int(943) ["settlements"] => array(1) { [0] => string(14) "Суздаль" } ["flamp"] => bool(true) ["zoomlevel"] => string(2) "11" ["transport"] => bool(true) ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#84 (3) { ["genitive"] => string(18) "Владимира" ["prepositional"] => string(18) "Владимире" ["accusative"] => string(16) "Владимир" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(false) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#85 (2) { ["title"] => string(34) "Владимира, Суздаля" ["description"] => string(34) "Владимира, Суздаля" } ["timezone_as_offset"] => int(180) ["lon"] => string(18) "40.388842362249392" ["lat"] => string(16) "56.1427926814219" } } }
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 output348 return View::capture($this->_file, $this->_data);349 }350 351 } // End View352
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render ( )
223 */224 public function __toString()225 {226 try227 {228 return $this->render();229 }230 catch (Exception $e)231 {232 /**233 * Display the exception message.234 235
-
APPPATH/views/layout.php [ 96 ] » Kohana_View->__toString ( )
91 (adsbygoogle = window.adsbygoogle || []).push({}); 92 </script> 93 </div> 94 <? endif ?> 95 <div class="content clearfix"> 96 <?=$content?> 97 </div> 98 </div> 99 100 <div class="container">101 <footer class="clearfix">102
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )
0 /var/home/adminpublic_html/application/views/layout.php 56 ob_start();57 58 try59 {60 // Load the view within the current scope61 include $kohana_view_filename;62 }63 catch (Exception $e)64 {65 // Delete the output buffer66 ob_end_clean();67
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )
0 /var/home/adminpublic_html/application/views/layout.php 1 array(4) { ["head_include"] => string(82) "<link rel="canonical" href="/vladimir/profile/8304040094049884" />" ["title"] => string(74) "Малина, салон красоты, Владимир — ГИСВИД" ["description"] => string(259) "Малина, салон красоты в Владимире, ул.Комиссарова, 10/13: контакты, адрес, телефон, часы и режим работы, отзывы, на карте, сайт, E-mail, просмотр улицы." ["content"] => object(View)#576 (2) { ["_file":protected] => string(80) "/var/home/adminpublic_html/application/views/page/gis/profile.php" ["_data":protected] => array(1) { ["profile"] => object(stdClass)#307 (26) { ["api_version"] => string(3) "1.3" ["response_code"] => string(3) "200" ["id"] => string(16) "8304040094049884" ["lon"] => string(15) "40.455748277703" ["lat"] => string(15) "56.164685018412" ["booklet_url"] => NULL ["booklet_title"] => NULL ["name"] => string(39) "Малина, салон красоты" ["firm_group"] => object(stdClass)#308 (2) { ["id"] => string(16) "8304048683940110" ["count"] => string(1) "1" } ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=143fky88G4HAJ1HJ1629uvly3714432A182945962JrxA84J292168G443424149G1HG8d" ["review_register_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=173fky88G4HAJ1HJ192huvly3714432A162645962JrxA84J2d2e68G443424149G21GH2i" ["address_click_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=1d36ky88G4HAJ1HJ1e24uvly3714432A1g2d45962JrxA84J212A68G443424149G24GH6f" ["city_name"] => string(16) "Владимир" ["project_id"] => string(2) "59" ["city_id"] => string(16) "8304134583222334" ["address"] => string(29) "Комиссарова, 10/13" ["create_time"] => string(22) "2012-11-12 12:32:23+07" ["modification_time"] => string(29) "2015-04-18 05:09:07.640074+06" ["additional_info"] => object(stdClass)#309 (6) { ["currency"] => string(3) "RUB" ["barbershop_details"] => array(1) { [0] => string(14) "hair_extension" } ["barbershop_wifi"] => bool(false) ["barbershop_male_haircut_price"] => int(300) ["barbershop_female_haircut_starting_price"] => int(500) ["beauty_treatments_service"] => array(1) { [0] => string(9) "epilation" } } ["contacts"] => array(1) { [0] => object(stdClass)#310 (2) { ["name"] => string(0) "" ["contacts"] => array(3) { [0] => object(stdClass)#311 (3) { ["type"] => string(5) "phone" ["value"] => string(12) "+74922319087" ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=1138ky88G4HAJ1HJ172euvly3714432A122c45962JrxA84J272d68G443424149G3HGgA" } [1] => object(stdClass)#312 (3) { ["type"] => string(5) "phone" ["value"] => string(12) "+79040345501" ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=173Cky88G4HAJ1HJ172Auvly3714432A1b2445962JrxA84J242e68G443424149G3HG47" } [2] => object(stdClass)#313 (4) { ["type"] => string(9) "vkontakte" ["value"] => string(26) "http://vk.com/id170303773" ["register_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=1e35ky88G4HAJ1HJ102cuvly3714432A1b2e45962JrxA84J262b68G443424149G31GH65" ["alias"] => string(26) "http://vk.com/id170303773" } } } } ["schedule"] => object(stdClass)#314 (7) { ["Mon"] => object(stdClass)#315 (1) { ["working_hours-0"] => object(stdClass)#316 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Tue"] => object(stdClass)#317 (1) { ["working_hours-0"] => object(stdClass)#318 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Wed"] => object(stdClass)#319 (1) { ["working_hours-0"] => object(stdClass)#320 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Thu"] => object(stdClass)#321 (1) { ["working_hours-0"] => object(stdClass)#322 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Fri"] => object(stdClass)#323 (1) { ["working_hours-0"] => object(stdClass)#324 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Sat"] => object(stdClass)#325 (1) { ["working_hours-0"] => object(stdClass)#326 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Sun"] => object(stdClass)#327 (1) { ["working_hours-0"] => object(stdClass)#328 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } } ["payoptions"] => array(1) { [0] => string(4) "Cash" } ["rating"] => string(1) "0" ["rubrics"] => array(5) { [0] => string(28) "Парикмахерские" [1] => string(29) "Ногтевые студии" [2] => string(25) "Студии загара" [3] => string(33) "Услуги массажиста" [4] => string(39) "Косметические услуги" } ["see_also"] => array(2) { [0] => object(stdClass)#329 (8) { ["id"] => string(17) "70000001006754544" ["lon"] => float(40,384553030017) ["lat"] => float(56,144444862593) ["name"] => string(37) "Гейша, салон красоты" ["hash"] => string(105) "982666963714J1H4G960094062773668G445033107282373lyky88H91302756547GB534365d8uv2JrxG3404864477JJ15A8B5G79f" ["city_name"] => string(16) "Владимир" ["address"] => string(20) "Горького, 81" ["ads"] => object(stdClass)#330 (2) { ["sponsored_article"] => object(stdClass)#331 (2) { ["title"] => string(50) "Новый образ — это просто!" ["text"] => string(70) "Наши двери открыты для вас каждый день" } ["warning"] => NULL } } [1] => object(stdClass)#332 (8) { ["id"] => string(16) "8304040093959850" ["lon"] => float(40,404293133155) ["lat"] => float(56,137754769786) ["name"] => string(35) "C.R.CLUB, салон красоты" ["hash"] => string(104) "h8c6d69637144H2J842094046e778668G445432A3A9307A3lyky88HA434259A50J8627076b5huv2JrxG3137552A2HJ3HA987H5h8" ["city_name"] => string(16) "Владимир" ["address"] => string(19) "Зелёная, 1а" ["ads"] => object(stdClass)#333 (2) { ["sponsored_article"] => object(stdClass)#334 (2) { ["title"] => string(36) "C.R. CLUB, салон красоты" ["text"] => string(77) "Мы работаем для всех, кто хочет измениться" } ["warning"] => string(141) "Имеются противопоказания, необходимо проконсультироваться со специалистом." } } } ["city"] => object(stdClass)#83 (30) { ["id"] => int(59) ["name"] => string(16) "Владимир" ["code"] => string(8) "vladimir" ["geo_id"] => string(16) "8303937014726658" ["country_code"] => string(2) "ru" ["language"] => string(2) "ru" ["transport_routes_count"] => int(64) ["timezone"] => string(13) "Europe/Moscow" ["actual_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["road_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["centroid"] => string(42) "POINT(40.388842362249392 56.1427926814219)" ["geoscount"] => int(35545) ["firmscount"] => int(8913) ["filialscount"] => int(11335) ["rubricscount"] => int(943) ["settlements"] => array(1) { [0] => string(14) "Суздаль" } ["flamp"] => bool(true) ["zoomlevel"] => string(2) "11" ["transport"] => bool(true) ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#84 (3) { ["genitive"] => string(18) "Владимира" ["prepositional"] => string(18) "Владимире" ["accusative"] => string(16) "Владимир" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(false) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#85 (2) { ["title"] => string(34) "Владимира, Суздаля" ["description"] => string(34) "Владимира, Суздаля" } ["timezone_as_offset"] => int(180) ["lon"] => string(18) "40.388842362249392" ["lat"] => string(16) "56.1427926814219" } } } } }
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 output348 return View::capture($this->_file, $this->_data);349 }350 351 } // End View352
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render ( )
39 */40 public function after()41 {42 if ($this->auto_render === TRUE)43 {44 $this->response->body($this->template->render());45 }46 47 parent::after();48 }49 50
-
APPPATH/classes/Controller/City.php [ 57 ] » Kohana_Controller_Template->after ( )
52 53 View::bind_global('seo_title', $seo_title);54 55 try56 {57 parent::after();58 }59 catch (ErrorException $e)60 {61 throw new HTTP_Exception_500($e->getMessage());62 }63
-
APPPATH/classes/Controller/Gis.php [ 19 ] » Controller_City->after ( )
14 Assets::js('2gis', 'http://catalog.api.2gis.ru/assets/apitracker.js?version=1.3', NULL, FALSE, array('weight' => -8));15 }16 17 public function after()18 {19 parent::after();20 21 if ($this->request->action() == 'profile' AND $this->request->param('id') == '4504127908585253')22 {23 Model::factory('Stat')->cache($this->request->param('id'));24 }25
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Gis->after ( )
82 83 // Execute the action itself84 $this->{$action}();85 86 // Execute the "after action" method87 $this->after();88 89 // Return the response90 return $this->response;91 }92 93
-
{PHP internal call} » Kohana_Controller->execute ( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke ( arguments )
0 object(Controller_Gis)#44 (6) { ["template"] => object(View)#302 (2) { ["_file":protected] => string(70) "/var/home/adminpublic_html/application/views/layout.php" ["_data":protected] => array(4) { ["head_include"] => string(82) "<link rel="canonical" href="/vladimir/profile/8304040094049884" />" ["title"] => string(74) "Малина, салон красоты, Владимир — ГИСВИД" ["description"] => string(259) "Малина, салон красоты в Владимире, ул.Комиссарова, 10/13: контакты, адрес, телефон, часы и режим работы, отзывы, на карте, сайт, E-mail, просмотр улицы." ["content"] => object(View)#576 (2) { ["_file":protected] => string(80) "/var/home/adminpublic_html/application/views/page/gis/profile.php" ["_data":protected] => array(1) { ["profile"] => object(stdClass)#307 (26) { ["api_version"] => string(3) "1.3" ["response_code"] => string(3) "200" ["id"] => string(16) "8304040094049884" ["lon"] => string(15) "40.455748277703" ["lat"] => string(15) "56.164685018412" ["booklet_url"] => NULL ["booklet_title"] => NULL ["name"] => string(39) "Малина, салон красоты" ["firm_group"] => object(stdClass)#308 (2) { ["id"] => string(16) "8304048683940110" ["count"] => string(1) "1" } ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=143fky88G4HAJ1HJ1629uvly3714432A182945962JrxA84J292168G443424149G1HG8d" ["review_register_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=173fky88G4HAJ1HJ192huvly3714432A162645962JrxA84J2d2e68G443424149G21GH2i" ["address_click_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=1d36ky88G4HAJ1HJ1e24uvly3714432A1g2d45962JrxA84J212A68G443424149G24GH6f" ["city_name"] => string(16) "Владимир" ["project_id"] => string(2) "59" ["city_id"] => string(16) "8304134583222334" ["address"] => string(29) "Комиссарова, 10/13" ["create_time"] => string(22) "2012-11-12 12:32:23+07" ["modification_time"] => string(29) "2015-04-18 05:09:07.640074+06" ["additional_info"] => object(stdClass)#309 (6) { ["currency"] => string(3) "RUB" ["barbershop_details"] => array(1) { [0] => string(14) "hair_extension" } ["barbershop_wifi"] => bool(false) ["barbershop_male_haircut_price"] => int(300) ["barbershop_female_haircut_starting_price"] => int(500) ["beauty_treatments_service"] => array(1) { [0] => string(9) "epilation" } } ["contacts"] => array(1) { [0] => object(stdClass)#310 (2) { ["name"] => string(0) "" ["contacts"] => array(3) { [0] => object(stdClass)#311 (3) { ["type"] => string(5) "phone" ["value"] => string(12) "+74922319087" ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=1138ky88G4HAJ1HJ172euvly3714432A122c45962JrxA84J272d68G443424149G3HGgA" } [1] => object(stdClass)#312 (3) { ["type"] => string(5) "phone" ["value"] => string(12) "+79040345501" ["register_bc_url"] => string(106) "http://stat.api.2gis.ru/?v=1.3&hash=173Cky88G4HAJ1HJ172Auvly3714432A1b2445962JrxA84J242e68G443424149G3HG47" } [2] => object(stdClass)#313 (4) { ["type"] => string(9) "vkontakte" ["value"] => string(26) "http://vk.com/id170303773" ["register_bc_url"] => string(107) "http://stat.api.2gis.ru/?v=1.3&hash=1e35ky88G4HAJ1HJ102cuvly3714432A1b2e45962JrxA84J262b68G443424149G31GH65" ["alias"] => string(26) "http://vk.com/id170303773" } } } } ["schedule"] => object(stdClass)#314 (7) { ["Mon"] => object(stdClass)#315 (1) { ["working_hours-0"] => object(stdClass)#316 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Tue"] => object(stdClass)#317 (1) { ["working_hours-0"] => object(stdClass)#318 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Wed"] => object(stdClass)#319 (1) { ["working_hours-0"] => object(stdClass)#320 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Thu"] => object(stdClass)#321 (1) { ["working_hours-0"] => object(stdClass)#322 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Fri"] => object(stdClass)#323 (1) { ["working_hours-0"] => object(stdClass)#324 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Sat"] => object(stdClass)#325 (1) { ["working_hours-0"] => object(stdClass)#326 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } ["Sun"] => object(stdClass)#327 (1) { ["working_hours-0"] => object(stdClass)#328 (2) { ["from"] => string(5) "10:00" ["to"] => string(5) "20:00" } } } ["payoptions"] => array(1) { [0] => string(4) "Cash" } ["rating"] => string(1) "0" ["rubrics"] => array(5) { [0] => string(28) "Парикмахерские" [1] => string(29) "Ногтевые студии" [2] => string(25) "Студии загара" [3] => string(33) "Услуги массажиста" [4] => string(39) "Косметические услуги" } ["see_also"] => array(2) { [0] => object(stdClass)#329 (8) { ["id"] => string(17) "70000001006754544" ["lon"] => float(40,384553030017) ["lat"] => float(56,144444862593) ["name"] => string(37) "Гейша, салон красоты" ["hash"] => string(105) "982666963714J1H4G960094062773668G445033107282373lyky88H91302756547GB534365d8uv2JrxG3404864477JJ15A8B5G79f" ["city_name"] => string(16) "Владимир" ["address"] => string(20) "Горького, 81" ["ads"] => object(stdClass)#330 (2) { ["sponsored_article"] => object(stdClass)#331 (2) { ["title"] => string(50) "Новый образ — это просто!" ["text"] => string(70) "Наши двери открыты для вас каждый день" } ["warning"] => NULL } } [1] => object(stdClass)#332 (8) { ["id"] => string(16) "8304040093959850" ["lon"] => float(40,404293133155) ["lat"] => float(56,137754769786) ["name"] => string(35) "C.R.CLUB, салон красоты" ["hash"] => string(104) "h8c6d69637144H2J842094046e778668G445432A3A9307A3lyky88HA434259A50J8627076b5huv2JrxG3137552A2HJ3HA987H5h8" ["city_name"] => string(16) "Владимир" ["address"] => string(19) "Зелёная, 1а" ["ads"] => object(stdClass)#333 (2) { ["sponsored_article"] => object(stdClass)#334 (2) { ["title"] => string(36) "C.R. CLUB, салон красоты" ["text"] => string(77) "Мы работаем для всех, кто хочет измениться" } ["warning"] => string(141) "Имеются противопоказания, необходимо проконсультироваться со специалистом." } } } ["city"] => object(stdClass)#83 (30) { ["id"] => int(59) ["name"] => string(16) "Владимир" ["code"] => string(8) "vladimir" ["geo_id"] => string(16) "8303937014726658" ["country_code"] => string(2) "ru" ["language"] => string(2) "ru" ["transport_routes_count"] => int(64) ["timezone"] => string(13) "Europe/Moscow" ["actual_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["road_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["centroid"] => string(42) "POINT(40.388842362249392 56.1427926814219)" ["geoscount"] => int(35545) ["firmscount"] => int(8913) ["filialscount"] => int(11335) ["rubricscount"] => int(943) ["settlements"] => array(1) { [0] => string(14) "Суздаль" } ["flamp"] => bool(true) ["zoomlevel"] => string(2) "11" ["transport"] => bool(true) ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#84 (3) { ["genitive"] => string(18) "Владимира" ["prepositional"] => string(18) "Владимире" ["accusative"] => string(16) "Владимир" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(false) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#85 (2) { ["title"] => string(34) "Владимира, Суздаля" ["description"] => string(34) "Владимира, Суздаля" } ["timezone_as_offset"] => int(180) ["lon"] => string(18) "40.388842362249392" ["lat"] => string(16) "56.1427926814219" } } } } } } ["city"] => object(stdClass)#83 (30) { ["id"] => int(59) ["name"] => string(16) "Владимир" ["code"] => string(8) "vladimir" ["geo_id"] => string(16) "8303937014726658" ["country_code"] => string(2) "ru" ["language"] => string(2) "ru" ["transport_routes_count"] => int(64) ["timezone"] => string(13) "Europe/Moscow" ["actual_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["road_extent"] => string(107) "POLYGON((40.178443 56.46782,40.695168 56.461839,40.676114 56.02824,40.165193 56.034124,40.178443 56.46782))" ["centroid"] => string(42) "POINT(40.388842362249392 56.1427926814219)" ["geoscount"] => int(35545) ["firmscount"] => int(8913) ["filialscount"] => int(11335) ["rubricscount"] => int(943) ["settlements"] => array(1) { [0] => string(14) "Суздаль" } ["flamp"] => bool(true) ["zoomlevel"] => string(2) "11" ["transport"] => bool(true) ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#84 (3) { ["genitive"] => string(18) "Владимира" ["prepositional"] => string(18) "Владимире" ["accusative"] => string(16) "Владимир" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(false) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#85 (2) { ["title"] => string(34) "Владимира, Суздаля" ["description"] => string(34) "Владимира, Суздаля" } ["timezone_as_offset"] => int(180) ["lon"] => string(18) "40.388842362249392" ["lat"] => string(16) "56.1427926814219" } ["auto_render"] => bool(true) ["_devel_auth":protected] => object(Auth_File)#301 (3) { ["_users":protected] => array(1) { ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096" } ["_session":protected] => object(Session_Native)#300 (5) { ["_name":protected] => string(7) "session" ["_lifetime":protected] => int(0) ["_encrypted":protected] => bool(false) ["_data":protected] => &array(2) { ["last_active"] => int(1429434121) ["security_token"] => string(40) "5ab58abc56e1532e5c5c5120df8d4e90ff5c5451" } ["_destroyed":protected] => bool(false) } ["_config":protected] => array(7) { ["driver"] => string(4) "file" ["hash_method"] => string(6) "sha256" ["hash_key"] => string(10) "eqi87mup9q" ["lifetime"] => int(3600) ["session_type"] => string(6) "native" ["session_key"] => string(10) "auth_devel" ["users"] => array(1) { ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096" } } } ["request"] => object(Request)#38 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => string(50) "/vladimir/profile/8304040093990027" ["_route":protected] => object(Route)#35 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(24) "<city>(/<action>(/<id>))" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(3) "gis" ["action"] => string(5) "index" } ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#39 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(3) "Gis" ["_action":protected] => string(7) "profile" ["_uri":protected] => string(33) "vladimir/profile/8304040094049884" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(8) "vladimir" ["id"] => string(16) "8304040094049884" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(2) { ["city"] => string(13) "p_kamchatskiy" ["session"] => NULL } ["_client":protected] => object(Request_Client_Internal)#40 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } } ["response"] => object(Response)#41 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#42 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => 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');103
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request ( arguments )
0 object(Request)#38 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => string(50) "/vladimir/profile/8304040093990027" ["_route":protected] => object(Route)#35 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(24) "<city>(/<action>(/<id>))" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(3) "gis" ["action"] => string(5) "index" } ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#39 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(3) "Gis" ["_action":protected] => string(7) "profile" ["_uri":protected] => string(33) "vladimir/profile/8304040094049884" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(8) "vladimir" ["id"] => string(16) "8304040094049884" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(2) { ["city"] => string(13) "p_kamchatskiy" ["session"] => NULL } ["_client":protected] => object(Request_Client_Internal)#40 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } }
1 object(Response)#41 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#42 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => 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 callbacks117 foreach ($this->header_callbacks() as $header => $callback)118 {119 if ($response->headers($header))120
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute ( arguments )
0 object(Request)#38 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => string(50) "/vladimir/profile/8304040093990027" ["_route":protected] => object(Route)#35 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(24) "<city>(/<action>(/<id>))" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(3) "gis" ["action"] => string(5) "index" } ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#39 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(3) "Gis" ["_action":protected] => string(7) "profile" ["_uri":protected] => string(33) "vladimir/profile/8304040094049884" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(8) "vladimir" ["id"] => string(16) "8304040094049884" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(2) { ["city"] => string(13) "p_kamchatskiy" ["session"] => NULL } ["_client":protected] => object(Request_Client_Internal)#40 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => 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.996 997
-
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 }122