MODPATH/orm/classes/Kohana/ORM.php [ 684 ]
679
680 return $model->where($col, '=', $val);
681 }
682 else
683 {
684 throw new Kohana_Exception('The :property property does not exist in the :class class',
685 array(':property' => $column, ':class' => get_class($this)));
686 }
687 }
688
689 /**
-
MODPATH/orm/classes/Kohana/ORM.php [ 600 ] » Kohana_ORM->get(arguments)
0
string(12) "room_type_en"
595 * @param string $column Column name 596 * @return mixed 597 */ 598 public function __get($column) 599 { 600 return $this->get($column); 601 } 602 603 /** 604 * Handles getting of column 605 * Override this method to add custom get behavior
-
APPPATH/classes/Model/Site/Base.php [ 8 ] » Kohana_ORM->__get(arguments)
0
string(12) "room_type_en"
3 class Model_Site_Base extends ORM { 4 5 /* Получение данных в зависимости от текущего языка */ 6 public function get_prop($field, $postfix) { 7 $property = "$field$postfix"; 8 return $this->$property; 9 } 10 11 /* Получение данных вместе с привязанными галереями в зависимости от текущего языка */ 12 public function get_prop_with_gallery($field, $postfix) { 13 $field = $this->get_prop($field, $postfix);
-
APPPATH/views/template/pages/rooms_one.php [ 81 ] » Model_Site_Base->get_prop(arguments)
0
string(9) "room_type"
1
string(3) "_en"
76 <span class="price-value"><?php echo number_format($room->price, 0, '', ' ') ?></span> 77 <span class="price-currency">тг</span> 78 </div> 79 <?php endif ?> 80 <?php if ($room->room_type > 0): ?> 81 <a href="/<?= $lang;?>/booking?room-type=<?= $room->get_prop('room_type', $postfix)?>" class="button"><?= $text["tekst-zabronirovat"];?></a> 82 <?php endif ?> 83 </div> 84 </div> 85 <div class="row"> 86 <div class="col-xs-12 col-sm-9">
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(87) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pages/rooms_one.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(87) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pages/rooms_one.php"
1
array(1) ( "room" => object Model_Rooms(34)
{ protected _table_name => string(5) "rooms" protected _has_many => array(1) ( "files" => array(4) ( "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(15) "Esup_Base_Files" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(24) ( "id" => string(1) "8" "category_id" => string(1) "3" "room" => string(1) "0" "title" => string(56) "Стандартный одноместный номер" "price" => string(1) "0" "text" => string(817) "<ul> <li><span style="font-size:16px">Одна двуспальная кровать</span></li> <li><span style="font-size:16px">Отдельная ванная с …" "link" => string(29) "standartnij-odnomestnij-nomer" "meta_title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "on_main" => string(1) "1" "sort" => string(1) "1" "title_en" => string(20) "Standart single room" "text_en" => string(594) "<ul> <li><span style="font-size:16px">One double bed</span></li> <li><span style="font-size:16px">Private bathroom with shower …" "meta_title_en" => string(0) "" "meta_keywords_en" => string(0) "" "meta_description_en" => string(0) "" "title_kz" => string(49) "Бір кісілік стандарт бөлме" "text_kz" => string(738) "<ul> <li><span style="font-size:16px">Бір орынды төсек</span></li> <li><span style="font-size:16px">Жеке душ</span></li> <li> …" "meta_title_kz" => string(0) "" "meta_keywords_kz" => string(0) "" "meta_description_kz" => string(0) "" "reservation_only" => string(1) "0" "room_type" => string(5) "20324" ) protected _changed => array(0) protected _original_values => array(24) ( "id" => string(1) "8" "category_id" => string(1) "3" "room" => string(1) "0" "title" => string(56) "Стандартный одноместный номер" "price" => string(1) "0" "text" => string(817) "<ul> <li><span style="font-size:16px">Одна двуспальная кровать</span></li> <li><span style="font-size:16px">Отдельная ванная с …" "link" => string(29) "standartnij-odnomestnij-nomer" "meta_title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "on_main" => string(1) "1" "sort" => string(1) "1" "title_en" => string(20) "Standart single room" "text_en" => string(594) "<ul> <li><span style="font-size:16px">One double bed</span></li> <li><span style="font-size:16px">Private bathroom with shower …" "meta_title_en" => string(0) "" "meta_keywords_en" => string(0) "" "meta_description_en" => string(0) "" "title_kz" => string(49) "Бір кісілік стандарт бөлме" "text_kz" => string(738) "<ul> <li><span style="font-size:16px">Бір орынды төсек</span></li> <li><span style="font-size:16px">Жеке душ</span></li> <li> …" "meta_title_kz" => string(0) "" "meta_keywords_kz" => string(0) "" "meta_description_kz" => string(0) "" "reservation_only" => string(1) "0" "room_type" => string(5) "20324" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(5) "rooms" protected _object_plural => string(7) "roomses" protected _table_columns => array(24) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "room" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "room" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "link" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "on_main" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "on_main" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sort" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "sort" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "text_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords_en" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_keywords_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description_en" => array(12) ( "type" => string(6) "string" "column_name" => string(19) "meta_description_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_kz" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "text_kz" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 20 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_keywords_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(19) "meta_description_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "reservation_only" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(16) "reservation_only" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "room_type" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "room_type" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "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 => string(1) "8" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
){ protected _connection_id => string(40) "61d993f2782bb82f941c115f2332c7ceadc68188" protected _identifier => string(1) "`" public last_query => string(679) "SELECT `esup_base_files`.`id` AS `id`, `esup_base_files`.`item_id` AS `item_id`, `esup_base_files`.`table_name` AS `table_name`, …" protected _instance => string(7) "default" protected _connection => object mysqli(18)
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) "rooms" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(25) "srv-db-plesk13.ps.kz:3306" "database" => string(11) "comfor17_db" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool TRUE ) }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
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 /** 233 * Display the exception message.
-
APPPATH/views/template/layout/main.php [ 95 ] » Kohana_View->__toString()
90 </div> 91 </div> 92 <div class="tint"></div> 93 <div class="footer_down"> 94 <?php echo $header ?> 95 <?php echo $content ?> 96 </div> 97 <?php echo $footer ?> 98 <script type="text/javascript"> 99 $(window).load(function(){ 100 $('body').css({'min-height': ($(window).height())+'px'});
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(83) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/layout/main.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(83) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/layout/main.php"
1
array(4) ( "header" => object View(2)
{ protected _file => string(90) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pieces/header_mini.php" protected _data => array(1) ( "menu" => object Database_MySQLi_Result(7)
"content" => object View(2){ protected _internal_row => integer 10 protected _query => string(332) "SELECT `menu`.`id` AS `id`, `menu`.`page_id` AS `page_id`, `menu`.`parent_id` AS `parent_id`, `menu`.`title` AS `title`, `menu`. …" protected _result => object mysqli_result(5)
) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 10 protected _current_row => integer 10 protected _as_object => string(10) "Model_Menu" protected _object_params => NULL }{ protected _file => string(87) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pages/rooms_one.php" protected _data => array(1) ( "room" => object Model_Rooms(34)
"footer" => object View(2){ protected _table_name => string(5) "rooms" protected _has_many => array(1) ( "files" => array(4) ( "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(15) "Esup_Base_Files" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(24) ( "id" => string(1) "8" "category_id" => string(1) "3" "room" => string(1) "0" "title" => string(56) "Стандартный одноместный номер" "price" => string(1) "0" "text" => string(817) "<ul> <li><span style="font-size:16px">Одна двуспальная кровать</span></li> <li><span style="font-size:16px">Отдельная ванная с …" "link" => string(29) "standartnij-odnomestnij-nomer" "meta_title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "on_main" => string(1) "1" "sort" => string(1) "1" "title_en" => string(20) "Standart single room" "text_en" => string(594) "<ul> <li><span style="font-size:16px">One double bed</span></li> <li><span style="font-size:16px">Private bathroom with shower …" "meta_title_en" => string(0) "" "meta_keywords_en" => string(0) "" "meta_description_en" => string(0) "" "title_kz" => string(49) "Бір кісілік стандарт бөлме" "text_kz" => string(738) "<ul> <li><span style="font-size:16px">Бір орынды төсек</span></li> <li><span style="font-size:16px">Жеке душ</span></li> <li> …" "meta_title_kz" => string(0) "" "meta_keywords_kz" => string(0) "" "meta_description_kz" => string(0) "" "reservation_only" => string(1) "0" "room_type" => string(5) "20324" ) protected _changed => array(0) protected _original_values => array(24) ( "id" => string(1) "8" "category_id" => string(1) "3" "room" => string(1) "0" "title" => string(56) "Стандартный одноместный номер" "price" => string(1) "0" "text" => string(817) "<ul> <li><span style="font-size:16px">Одна двуспальная кровать</span></li> <li><span style="font-size:16px">Отдельная ванная с …" "link" => string(29) "standartnij-odnomestnij-nomer" "meta_title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "on_main" => string(1) "1" "sort" => string(1) "1" "title_en" => string(20) "Standart single room" "text_en" => string(594) "<ul> <li><span style="font-size:16px">One double bed</span></li> <li><span style="font-size:16px">Private bathroom with shower …" "meta_title_en" => string(0) "" "meta_keywords_en" => string(0) "" "meta_description_en" => string(0) "" "title_kz" => string(49) "Бір кісілік стандарт бөлме" "text_kz" => string(738) "<ul> <li><span style="font-size:16px">Бір орынды төсек</span></li> <li><span style="font-size:16px">Жеке душ</span></li> <li> …" "meta_title_kz" => string(0) "" "meta_keywords_kz" => string(0) "" "meta_description_kz" => string(0) "" "reservation_only" => string(1) "0" "room_type" => string(5) "20324" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(5) "rooms" protected _object_plural => string(7) "roomses" protected _table_columns => array(24) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "room" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "room" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "link" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "on_main" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "on_main" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sort" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "sort" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "text_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords_en" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_keywords_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description_en" => array(12) ( "type" => string(6) "string" "column_name" => string(19) "meta_description_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_kz" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "text_kz" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 20 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_keywords_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(19) "meta_description_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "reservation_only" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(16) "reservation_only" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "room_type" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "room_type" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "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 => string(1) "8" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) }{ protected _connection_id => string(40) "61d993f2782bb82f941c115f2332c7ceadc68188" protected _identifier => string(1) "`" public last_query => string(679) "SELECT `esup_base_files`.`id` AS `id`, `esup_base_files`.`item_id` AS `item_id`, `esup_base_files`.`table_name` AS `table_name`, …" protected _instance => string(7) "default" protected _connection => object mysqli(18)
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) "rooms" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(25) "srv-db-plesk13.ps.kz:3306" "database" => string(11) "comfor17_db" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool TRUE ) }{ protected _file => string(90) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pieces/footer_mini.php" protected _data => array(0) }
"title" => string(20) "Standart single room" )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
-
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
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->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_Rooms(11)
{ public cache_instance => NULL public template => object View(2)
{ protected _file => string(83) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/layout/main.php" protected _data => array(4) ( "header" => object View(2)
public session => object Session_Native(5){ protected _file => string(90) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pieces/header_mini.php" protected _data => array(1) ( "menu" => object Database_MySQLi_Result(7)
"content" => object View(2){ protected _internal_row => integer 10 protected _query => string(332) "SELECT `menu`.`id` AS `id`, `menu`.`page_id` AS `page_id`, `menu`.`parent_id` AS `parent_id`, `menu`.`title` AS `title`, `menu`. …" protected _result => object mysqli_result(5)
) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 10 protected _current_row => integer 10 protected _as_object => string(10) "Model_Menu" protected _object_params => NULL }{ protected _file => string(87) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pages/rooms_one.php" protected _data => array(1) ( "room" => object Model_Rooms(34)
"footer" => object View(2){ protected _table_name => string(5) "rooms" protected _has_many => array(1) ( "files" => array(4) ( "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(15) "Esup_Base_Files" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(24) ( "id" => string(1) "8" "category_id" => string(1) "3" "room" => string(1) "0" "title" => string(56) "Стандартный одноместный номер" "price" => string(1) "0" "text" => string(817) "<ul> <li><span style="font-size:16px">Одна двуспальная кровать</span></li> <li><span style="font-size:16px">Отдельная ванная с …" "link" => string(29) "standartnij-odnomestnij-nomer" "meta_title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "on_main" => string(1) "1" "sort" => string(1) "1" "title_en" => string(20) "Standart single room" "text_en" => string(594) "<ul> <li><span style="font-size:16px">One double bed</span></li> <li><span style="font-size:16px">Private bathroom with shower …" "meta_title_en" => string(0) "" "meta_keywords_en" => string(0) "" "meta_description_en" => string(0) "" "title_kz" => string(49) "Бір кісілік стандарт бөлме" "text_kz" => string(738) "<ul> <li><span style="font-size:16px">Бір орынды төсек</span></li> <li><span style="font-size:16px">Жеке душ</span></li> <li> …" "meta_title_kz" => string(0) "" "meta_keywords_kz" => string(0) "" "meta_description_kz" => string(0) "" "reservation_only" => string(1) "0" "room_type" => string(5) "20324" ) protected _changed => array(0) protected _original_values => array(24) ( "id" => string(1) "8" "category_id" => string(1) "3" "room" => string(1) "0" "title" => string(56) "Стандартный одноместный номер" "price" => string(1) "0" "text" => string(817) "<ul> <li><span style="font-size:16px">Одна двуспальная кровать</span></li> <li><span style="font-size:16px">Отдельная ванная с …" "link" => string(29) "standartnij-odnomestnij-nomer" "meta_title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "on_main" => string(1) "1" "sort" => string(1) "1" "title_en" => string(20) "Standart single room" "text_en" => string(594) "<ul> <li><span style="font-size:16px">One double bed</span></li> <li><span style="font-size:16px">Private bathroom with shower …" "meta_title_en" => string(0) "" "meta_keywords_en" => string(0) "" "meta_description_en" => string(0) "" "title_kz" => string(49) "Бір кісілік стандарт бөлме" "text_kz" => string(738) "<ul> <li><span style="font-size:16px">Бір орынды төсек</span></li> <li><span style="font-size:16px">Жеке душ</span></li> <li> …" "meta_title_kz" => string(0) "" "meta_keywords_kz" => string(0) "" "meta_description_kz" => string(0) "" "reservation_only" => string(1) "0" "room_type" => string(5) "20324" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(5) "rooms" protected _object_plural => string(7) "roomses" protected _table_columns => array(24) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "room" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "room" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "link" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "on_main" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "on_main" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sort" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "sort" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "text_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords_en" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_keywords_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description_en" => array(12) ( "type" => string(6) "string" "column_name" => string(19) "meta_description_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text_kz" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "text_kz" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_title_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 20 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_keywords_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description_kz" => array(12) ( "type" => string(6) "string" "column_name" => string(19) "meta_description_kz" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "reservation_only" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(16) "reservation_only" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "room_type" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "room_type" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "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 => string(1) "8" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) }{ protected _connection_id => string(40) "61d993f2782bb82f941c115f2332c7ceadc68188" protected _identifier => string(1) "`" public last_query => string(679) "SELECT `esup_base_files`.`id` AS `id`, `esup_base_files`.`item_id` AS `item_id`, `esup_base_files`.`table_name` AS `table_name`, …" protected _instance => string(7) "default" protected _connection => object mysqli(18)
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) "rooms" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(25) "srv-db-plesk13.ps.kz:3306" "database" => string(11) "comfor17_db" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool TRUE ) }{ protected _file => string(90) "/var/www/vhosts/comforthotel.kz/httpdocs/application/views/template/pieces/footer_mini.php" protected _data => array(0) }
"title" => string(20) "Standart single room" ) }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
public config => object Config_Group(2){ public items_per_page => integer 10 public files_dir => string(62) "/var/www/vhosts/comforthotel.kz/httpdocs/static/uploads/files/" }
public config_d => array(28) ( "hostname" => string(15) "smtp.timeweb.ru" "username" => string(23) "noreply@comforthotel.kz" "password" => string(8) "Aa123456" "port" => string(3) "465" "encryption" => string(3) "ssl" "inbox" => string(20) "info@comforthotel.kz" "fb_app_id" => string(0) "" "fb_app_secret" => string(0) "" "fb_access_token" => string(0) "" "fb_group_id" => string(0) "" "vk_app_id" => string(0) "" "vk_app_secret" => string(0) "" "vk_access_token" => string(0) "" "vk_user_id" => string(0) "" "vk_group_id" => string(0) "" "twitter_consumer_key" => string(0) "" "twitter_consumer_secret" => string(0) "" "twitter_access_token" => string(0) "" "twitter_access_token_secret" => string(0) "" "twitter_owner" => string(0) "" "twitter_owner_id" => string(0) "" "twitter_app_id" => string(0) "" "epay_test_mode" => string(1) "1" "boss_password" => string(8) "Aa123456" "robokassa_merchant_login" => string(0) "" "robokassa_password_1" => string(0) "" "robokassa_test_mode" => string(1) "1" "robokassa_password_2" => string(0) "" ) public text => array(74) ( "osnovnoj_meta_title" => string(54) " Comfort Hotel Astana, Astana - official hotel website" "osnovnie_klyuchevie_slova" => string(9) "Undefined" "osnovnoj_meta_description" => string(9) "Undefined" "nazvanie_sajta" => string(36) "Comfort Hotel Astana - Official site" "slogan" => string(9) "Undefined" "yanvar" => string(9) "Undefined" "fevral" => string(9) "Undefined" "mart" => string(9) "Undefined" "aprel" => string(9) "Undefined" "maj" => string(9) "Undefined" "iyun" => string(9) "Undefined" "iyul" => string(9) "Undefined" "avgust" => string(9) "Undefined" "sentyabr" => string(9) "Undefined" "oktyabr" => string(9) "Undefined" "noyabr" => string(9) "Undefined" "dekabr" => string(9) "Undefined" "tekst_vashe_imya" => string(4) "Name" "tekst_vash_email" => string(5) "Email" "tekst_vash_telefon" => string(5) "Phone" "tekst_tekst_soobshcheniya" => string(8) "Comments" "tekst_otpravit" => string(4) "Send" "tekst_proverte_pravilnost_zapolneniya_videlennih_polej" => string(9) "Undefined" "tekst_vash_zapros_prinyat" => string(9) "Undefined" "tekst_kod_s_kartinki" => string(9) "Undefined" "tekst_stranitsa_ne_najdena" => string(9) "Undefined" "tekst_vernutsya_na_glavnuyu" => string(9) "Undefined" "tekst_chto-to_poshlo_ne_tak" => string(9) "Undefined" "tekst_net_zapisej_dlya_otobrazheniya_v_etom_vide" => string(9) "Undefined" "tekst_obratnaya_svyaz" => string(9) "Undefined" "tekst_registratsiya_uspeshno_zavershena" => string(9) "Undefined" "tekst_soobshchenie_sajta" => string(9) "Undefined" "tekst_zakrit" => string(5) "Close" "tekst_registratsiya_na_sajte" => string(9) "Undefined" "tekst_dlya_podtverzhdeniya_registratsii" => string(9) "Undefined" "tekst_esli_vi_ne_registrirovalis" => string(9) "Undefined" "tekst_nevernij_parol" => string(9) "Undefined" "telefon_kompanii" => string(9) "Undefined" "tekst-otmena" => string(6) "Cancel" "tekst-mi-v-sots.-setyah" => string(9) "Undefined" "tekst-sdelano-v-studii" => string(9) "Undefined" "kontaktnij-email" => string(9) "Undefined" "adres-kompanii" => string(9) "Undefined" "tekst-poisk-po-sajtu" => string(9) "Undefined" "tekst-iskat" => string(9) "Undefined" "tekst-rezultati-poiska" => string(9) "Undefined" "tekst-vashe-soobshchenie-uspeshno-otpravleno" => string(9) "Undefined" "telefon-kompanii-2" => string(9) "Undefined" "rezhim-raboti" => string(9) "Undefined" "kontaktnaya-informatsiya-v-podvale-sajta" => string(9) "Undefined" "tekst-data-zaezda" => string(14) "Check-out date" "tekst-data-viezda" => string(13) "Check-in date" "tekst-zabronirovat" => string(4) "Book" "tekst-ostavte-nam-svoj-elektronnij" => string(49) "Leave your email addres and stay in touch with us" "tekst-kommentarij" => string(8) "Comments" "tekst-dalee" => string(4) "Next" "tekst-menyu" => string(11) "Меню en" "tekst-aktsii" => string(8) "Packages" "virtual-tour" => string(12) "Virtual tour" "ssilka-video-o-nas" => string(18) "http://kh.zuber.kz" "tekst-video" => string(41) "https://www.youtube.com/embed/GWXN0YhznFw" "tekst-s" => string(4) "from" "tekst-po" => string(2) "by" "tekst-viberite-uslugu" => string(29) "Выберите услугу" "tekst-promokod" => string(16) "Промокод" "tekst-summa" => string(10) "Сумма" "tekst-ukazhite-vashi-dannie" => string(36) "Укажите ваши данные" "tekst-nevernij-promokod" => string(33) "Неверный промокод" "tekst-promokod-uspeshno-aktivirovan" => string(54) "Промокод успешно активирован" "text-address" => string(41) "Chubary Micro District,60 Kosmonavtov st." "text-phone" => string(16) "+7 7172 24 44 44" "price-room" => string(9) "Room rate" "main-title" => string(20) "COMFORT HOTEL ASTANA" "text-from" => string(4) "from" ) public lang => string(2) "en" public postfix => string(3) "_en" public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.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(17) "<lang>/rooms/<id>" protected _regex => array(2) ( "lang" => string(8) "[a-z]{2}" "id" => string(7) "[\w+-]+" ) protected _defaults => array(2) ( "controller" => string(5) "Rooms" "action" => string(4) "Room" ) protected _route_regex => string(46) "#^(?P<lang>[a-z]{2})/rooms/(?P<id>[\w+-]+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Rooms" protected _action => string(4) "Room" protected _uri => string(38) "en/rooms/standartnij-odnomestnij-nomer" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "en" "id" => string(29) "standartnij-odnomestnij-nomer" ) 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 TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(17) "<lang>/rooms/<id>" protected _regex => array(2) ( "lang" => string(8) "[a-z]{2}" "id" => string(7) "[\w+-]+" ) protected _defaults => array(2) ( "controller" => string(5) "Rooms" "action" => string(4) "Room" ) protected _route_regex => string(46) "#^(?P<lang>[a-z]{2})/rooms/(?P<id>[\w+-]+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Rooms" protected _action => string(4) "Room" protected _uri => string(38) "en/rooms/standartnij-odnomestnij-nomer" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "en" "id" => string(29) "standartnij-odnomestnij-nomer" ) 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 TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(17) "<lang>/rooms/<id>" protected _regex => array(2) ( "lang" => string(8) "[a-z]{2}" "id" => string(7) "[\w+-]+" ) protected _defaults => array(2) ( "controller" => string(5) "Rooms" "action" => string(4) "Room" ) protected _route_regex => string(46) "#^(?P<lang>[a-z]{2})/rooms/(?P<id>[\w+-]+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Rooms" protected _action => string(4) "Room" protected _uri => string(38) "en/rooms/standartnij-odnomestnij-nomer" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "en" "id" => string(29) "standartnij-odnomestnij-nomer" ) 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 [ 130 ] » Kohana_Request->execute()
125 /** 126 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 127 * If no source is specified, the URI will be automatically detected. 128 */ 129 echo Request::factory(TRUE, array(), FALSE) 130 ->execute() 131 ->send_headers(TRUE) 132 ->body(); 133 }