MODPATH/mysqli/classes/Database/MySQLi.php [ 174 ]
169 {170 // This benchmark is worthless171 Profiler::delete($benchmark);172 }173 174 throw new Database_Exception(':error [ :query ]',175 array(':error' => mysqli_error($this->_connection), ':query' => $sql),176 mysqli_errno($this->_connection));177 }178 179 if (isset($benchmark))
MODPATH/database/classes/Kohana/Database/Query.php [ 251 ]»Database_MySQLi->query(arguments)
0
integer 1
1
string(1948) "SELECT `product`.`id` AS `id`, `product`.`ordering` AS `ordering`, `product`.`alias_cat` AS `alias_cat`, `product`.`alias` AS `a …"
2
string(13) "Model_Product"
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params);247 }248 }249 250 // Execute the query251 $result = $db->query($this->_type, $sql, $as_object, $object_params);252 253 if (isset($cache_key) AND $this->_lifetime > 0)254 {255 // Cache the result array256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
MODPATH/orm/classes/Kohana/ORM.php [ 1063 ]»Kohana_Database_Query->execute(arguments)
0
object Database_MySQLi(6)
{ protected _connection_id => string(40) "cc6c966feee19784a7ecb7144a9662cd07969c13" protected _identifier => string(1) "`" public last_query => string(265) "SELECT COUNT(`product`.`id`) AS `records_found` FROM `products` AS `product` JOIN `products_categories` ON (`products_categories …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
{ 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 error_list => 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(5) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(9) "localhost" "database" => string(4) "floy" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE )}1058 }1059 1060 if ($multiple === TRUE)1061 {1062 // Return database iterator casting to this object type1063 $result = $this->_db_builder->as_object(get_class($this))->execute($this->_db);1064 1065 $this->reset();1066 1067 return $result;1068 }
MODPATH/orm/classes/Kohana/ORM.php [ 1004 ]»Kohana_ORM->_load_result(arguments)
0
bool TRUE
999 }1000 }1001 1002 $this->_build(Database::SELECT);1003 1004 return $this->_load_result(TRUE);1005 }1006 1007 /**1008 * Returns an array of columns to include in the select query. This method1009 * can be overridden to change the default select behavior.
APPPATH/classes/Controller/Index/Category.php [ 669 ]»Kohana_ORM->find_all()
664 //->where("publish", "=", "1")665 //->where("count_all", "!=", 0)666 //->where('filters', 'like', '%"'. $filter .'"%')667 ->limit(40)668 ->order_by('count_all', 'desc')669 ->find_all()->as_array();670 671 // Контент главного шаблона672 $content = View::factory($this->mobile . 'index/v_brend_filter', array(673 'config_filters' => $config_filters,674 'availiableModels' => $availiableModels,
APPPATH/classes/Controller/Index/Category.php [ 39 ]»Controller_Index_Category->brend_page_filter(arguments)
0
object Model_Category(34)
{ protected _has_many => array(1) ( "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(19) "products_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(35) ( "id" => string(3) "106" "ordering" => string(3) "113" "ordering_check" => string(2) "09" "model" => string(1) "2" "brend" => string(1) "0" "serie" => string(1) "0" "alias" => string(5) "meizu" "meta_title" => string(84) "【ᐉ Купить чехлы для Meizu ᐊ】 Чехлы на Мейзу - Floy" "meta_description" => string(179) "Floy - чехлы на все смартфоны Meizu ✅ Оригинальный чехол Meizu ✅ Переходи и заказывай по лучшим ценам - Floy" "meta_object" => string(54949) "{"title":"\u0427\u0435\u0445\u043b\u044b \u0434\u043b\u044f Meizu \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043e\u0432 | \u041 …" "title" => string(5) "Meizu" "title_rus" => string(10) "Мейзу" "title_rus_2" => string(0) "" "title_long" => string(5) "Meizu" "short_description" => string(0) "" "description" => string(13450) "<p>Смартфоны компании <strong>Meizu </strong>занимают не последнее место в бюджетном сегменте аппаратов, продаваемых в Украине. …" "image_file" => string(9) "meizu.jpg" "printcase" => string(1) "1" "publish" => string(1) "1" "views_count" => string(5) "21282" "views_count_old" => string(4) "6323" "inventory" => string(1) "0" "date_create" => string(19) "2018-07-05 15:32:20" "hide_in_menu" => string(1) "0" "rack_num" => string(0) "" "last_parse" => string(1) "0" "itsell_cat_id" => string(0) "" "export_in_prom" => string(1) "1" "vdmt_kod_cat" => string(0) "" "endorphone_id" => string(1) "0" "gen_itsprint" => string(1) "0" "gen_vprint" => string(1) "0" "export_printcase" => string(1) "1" "url_vdmt_constructor" => string(0) "" "gen_print" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(35) ( "id" => string(3) "106" "ordering" => string(3) "113" "ordering_check" => string(2) "09" "model" => string(1) "2" "brend" => string(1) "0" "serie" => string(1) "0" "alias" => string(5) "meizu" "meta_title" => string(84) "【ᐉ Купить чехлы для Meizu ᐊ】 Чехлы на Мейзу - Floy" "meta_description" => string(179) "Floy - чехлы на все смартфоны Meizu ✅ Оригинальный чехол Meizu ✅ Переходи и заказывай по лучшим ценам - Floy" "meta_object" => string(54949) "{"title":"\u0427\u0435\u0445\u043b\u044b \u0434\u043b\u044f Meizu \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043e\u0432 | \u041 …" "title" => string(5) "Meizu" "title_rus" => string(10) "Мейзу" "title_rus_2" => string(0) "" "title_long" => string(5) "Meizu" "short_description" => string(0) "" "description" => string(13450) "<p>Смартфоны компании <strong>Meizu </strong>занимают не последнее место в бюджетном сегменте аппаратов, продаваемых в Украине. …" "image_file" => string(9) "meizu.jpg" "printcase" => string(1) "1" "publish" => string(1) "1" "views_count" => string(5) "21282" "views_count_old" => string(4) "6323" "inventory" => string(1) "0" "date_create" => string(19) "2018-07-05 15:32:20" "hide_in_menu" => string(1) "0" "rack_num" => string(0) "" "last_parse" => string(1) "0" "itsell_cat_id" => string(0) "" "export_in_prom" => string(1) "1" "vdmt_kod_cat" => string(0) "" "endorphone_id" => string(1) "0" "gen_itsprint" => string(1) "0" "gen_vprint" => string(1) "0" "export_printcase" => string(1) "1" "url_vdmt_constructor" => string(0) "" "gen_print" => string(1) "0" ) 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(35) ( "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" ) "ordering" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "ordering" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordering_check" => array(12) ( "type" => string(6) "string" "column_name" => string(14) "ordering_check" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(1) "3" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "model" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(5) "model" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "brend" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "brend" "column_default" => string(1) "0" "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" ) "serie" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "serie" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "alias" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "alias" "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(15) "utf8_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(15) "utf8_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" "character_maximum_length" => string(5) "65535" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_object" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "meta_object" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "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 11 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_rus" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "title_rus" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_rus_2" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "title_rus_2" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_long" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "title_long" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "short_description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(17) "short_description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image_file" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "image_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "printcase" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "printcase" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "publish" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(7) "publish" "column_default" => string(1) "1" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "views_count_old" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(15) "views_count_old" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "inventory" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "inventory" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "character_maximum_length" => string(2) "10" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_create" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "date_create" "column_default" => string(17) "CURRENT_TIMESTAMP" "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "hide_in_menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "hide_in_menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "rack_num" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "rack_num" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 25 "character_maximum_length" => string(2) "10" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "last_parse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "last_parse" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 26 "display" => string(2) "12" "comment" => string(59) "когда парсили последний раз itsell " "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "itsell_cat_id" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "itsell_cat_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 27 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "export_in_prom" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(14) "export_in_prom" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "vdmt_kod_cat" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "vdmt_kod_cat" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "endorphone_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "endorphone_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "gen_itsprint" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "gen_itsprint" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "gen_vprint" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "gen_vprint" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 32 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "export_printcase" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(16) "export_printcase" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 33 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url_vdmt_constructor" => array(12) ( "type" => string(6) "string" "column_name" => string(20) "url_vdmt_constructor" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 34 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "gen_print" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "gen_print" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 35 "display" => string(1) "1" "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(3) "106" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
{ protected _connection_id => string(40) "cc6c966feee19784a7ecb7144a9662cd07969c13" protected _identifier => string(1) "`" public last_query => string(265) "SELECT COUNT(`product`.`id`) AS `records_found` FROM `products` AS `product` JOIN `products_categories` ON (`products_categories …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(8) "category"}{ 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 error_list => 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(5) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(9) "localhost" "database" => string(4) "floy" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }34 if ($cat->model == 2) {35 if ($this->request->param('page') != "") {36 HTTP::redirect("/$cat->alias", 301);37 } else {38 if ($this->request->param('filter') != "") {39 $this->brend_page_filter($cat);40 } else {41 $this->brend_page($cat);42 }43 }44 } else {
SYSPATH/classes/Kohana/Controller.php [ 84 ]»Controller_Index_Category->action_index()
79 array(':uri' => $this->request->uri())80 )->request($this->request);81 }82 83 // Execute the action itself84 $this->{$action}();85 86 // Execute the "after action" method87 $this->after();88 89 // Return the response
{PHP internal call}»Kohana_Controller->execute()
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ]»ReflectionMethod->invoke(arguments)
0
object Controller_Index_Category(10)
{ public template => object View(2)
{ protected _file => string(83) "/var/www/admin/data/www/floy.com.ua/application/views/mobile/index/v_base_index.php" protected _data => array(20) ( "page_title" => string(11) "Floy.com.ua" "page_description" => NULL "banners" => array(0) "scripts" => array(1) ( 0 => string(23) "_media/js/index/main.js" ) "styles" => array(2) ( 0 => string(51) "_media/scripts/bootstrap-grid/css/bootstrap-min.css" 1 => string(28) "_media/css/index/default.css" ) "caption" => string(109) "3D чехлы на телефон 📲 Meizu : 🔎 0 3d чехлов для телефона Мейзу" "deliveryDescription" => array(3) ( "n_pochta" => string(49) "На отделение <br> Срок: 1-2 дня" "ukrpochta" => string(60) "На отделение <br> Срок: около 2-4 дня" "samovuvoz" => string(193) "Товар можно забрать по адресу: Полтава, ул. Соборности 29А - ТЦ “Злато Місто” (возле магазина спорттоваров)" ) "uri" => string(19) "meizu/filter/3dcase" "types" => array(6) ( "smartfony" => string(18) "Смартфоны" "chekhly" => string(10) "Чехлы" "plenki" => string(28) "Стекла и пленки" "komlekt" => string(26) "Комплектующие" "zapchasti" => string(16) "Запчасти" "accessories" => string(20) "Аксессуары" ) "meta_html" => bool FALSE "delivery" => array(3) ( "n_pochta" => array(6) ( "service" => string(21) "Новая Почта" "title" => string(45) "На отделение Новой Почты" "time" => string(10) "1-2 дня" "price" => integer 60 "addition_payment" => integer 25 "url" => string(24) "https://novaposhta.ua/ru" ) "ukrpochta" => array(6) ( "service" => string(17) "Укр Почта" "title" => string(41) "На отделение Укр Почты" "time" => string(23) "около 2-4 дней" "price" => integer 55 "addition_payment" => integer 15 "url" => string(21) "https://ukrposhta.ua/" ) "samovuvoz" => array(5) ( "service" => string(18) "Самовывоз" "title" => string(18) "Самовывоз" "time" => string(0) "" "price" => integer 0 "addition_payment" => integer 0 ) ) "controller" => string(8) "Category" "action" => string(5) "index" "meta_description" => string(180) "FLOY ⛟ БЕСПЛАТНАЯ ДОСТАВКА. 3D чехлы на телефон 📲 Meizu : 🔎 0 3d чехлов для телефона Мейзу в Украине." "meta_title" => string(92) "3D чехлы на телефон 📲 Meizu : 🔎 0 3d чехлов для Мейзу" "breadcrumbs" => array(2) ( "" => string(19) "Магазин FLOY" "filter/3dcase" => string(13) "3D чехлы" ) "brend_alias" => string(5) "meizu" "page_image" => string(38) "/_media/files/img_categories/meizu.jpg" "canonical" => string(6) "/meizu" "noindex" => bool TRUE ) }
protected auth => NULL protected user => NULL public settings => object Config_Group(18){ public per_page_admin => string(3) "200" public per_page_products => string(2) "32" public per_page_articles => string(2) "15" public per_page_index => string(2) "12" public site_title => string(11) "Floy.com.ua" public site_description => string(166) "Аксессуары для телефонов. Чехлы, защитные пленки, комплектующие и запчасти для смартфонов." public site_name => string(92) "Чехлы для телефона и мобильные аксессуары - «ФЛОЙ»" public base_url => string(19) "https://floy.com.ua" public admin_site_title => string(23) "Админ-панель" public admin_email => string(14) "admin@admin.ru" public send_pay_cart => string(19) "5375 4114 1300 4602" public send_pay_fio => string(14) "Ірина Н." public send_pay_wmu => string(13) "U407257446688" public send_pay_wmr => string(13) "R839671019742" public send_pay_wmz => string(13) "Z969457455692" public princase_price => string(3) "249" public index_ukrpochta => string(5) "36020" public adres_ukrpochta => string(88) "г. Полтава, вул. Соборности 29А - ТЦ “Злато Місто”" }
public session => NULL public mobile => string(7) "mobile/" 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(54) "<category>(/filter/<filter>)(/srt/<srt>)(/page-<page>)" protected _regex => array(4) ( "category" => string(14) "[a-zA-Z0-9_-]+" "filter" => string(14) "[a-zA-Z0-9_-]+" "srt" => string(11) "chp|exp|dsc" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "directory" => string(5) "Index" "controller" => string(8) "category" "action" => string(5) "index" ) protected _route_regex => string(130) "#^(?P<category>[a-zA-Z0-9_-]+)(?:/filter/(?P<filter>[a-zA-Z0-9_-]+))?(?:/srt/(?P<srt>chp|exp|dsc))?(?:/page-(?P<page>[0-9]+))?$# …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(8) "Category" protected _action => string(5) "index" protected _uri => string(19) "meizu/filter/3dcase" protected _external => bool FALSE protected _params => array(2) ( "category" => string(5) "meizu" "filter" => string(6) "3dcase" ) protected _get => array(1) ( "desktop" => string(1) "0" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
public config => object Config_Group(21){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ public attributes_type => array(12) ( "color" => string(8) "Цвет" "image" => string(16) "Картинка" "image_cn" => string(16) "Картинка" "image_ck" => string(16) "Картинка" "image_ua" => string(18) "Символика" "skin_texture" => string(16) "Текстура" "alpha_print" => string(10) "AlphaPrint" "alpha_itsPrint" => string(8) "itsPrint" "alpha_vdmt" => string(4) "VDMT" "alpha_vdmt2" => string(6) "VPrint" "alpha_print_gen" => string(18) "AlphaPrint-ген." "itsellopt" => string(9) "ItsellOpt" ) public order_way => array(10) ( "order" => string(10) "Заказ" "quick_order" => string(25) "Быстрый заказ" "socseti_reklama" => string(31) "Соцсети - РЕКЛАМА" "steklomarket" => string(12) "StekloMarket" "prom_ua" => string(7) "Prom.ua" "phone" => string(14) "Телефон" "office" => string(15) "В оффисе" "waite" => string(18) "Ожидающие" "mobile" => string(31) "Мобильная версия" "other" => string(12) "Другое" ) public status_order => array(21) ( "new" => string(10) "Новый" "ready_send" => string(30) "Готов к отправке" "waiting_payment" => string(21) "Ждет оплаты" "sent" => string(18) "Отправлен" "not_call" => string(27) "Не дозвонились" "not_in_stock" => string(24) "Нет в наличии" "refusal" => string(10) "Отказ" "for_print" => string(24) "Для печати VDMT" "for_print_case" => string(26) "Для печати - CASE" "problem" => string(31) "Проблемный заказ" "open" => string(16) "Открытый" "taken" => string(14) "Получен" "return" => string(14) "Возврат" "exchange" => string(10) "Обмен" "not_taken" => string(17) "Не забран" "call_not_taken" => string(36) "Не забран (обзвонен)" "return_not_taken" => string(36) "Не забран (ВЕРНУЛСЯ)" "dropshipping" => string(18) "Дроп. - Itsell" "dropshipping_caseshop" => string(20) "Дроп. - CaseShop" "print_VDMT" => string(19) "Печать - VDMT" "other" => string(12) "Другое" ) public rezult_call => array(15) ( "new_order" => string(21) "Новый заказ" "pay_order" => string(25) "Оплата заказа" "consult" => string(32) "Консультирование" "edit_order" => string(31) "Изменение заказа" "not_in_stock" => string(24) "Нет в наличии" "-" => string(19) "-------------------" "confirmed_order" => string(31) "Подтвердил заказ" "not_answer" => string(28) "Не берет трубку" "no_connection" => string(17) "Нет связи" "otklonyaet" => string(18) "Отклоняет" "call_back" => string(20) "Перезвонит" "call_waiting" => string(27) "Ожидает звонка" "cancel" => string(10) "Отказ" "cold_call" => string(29) "Холодный звонок" "other" => string(12) "Другое" ) public status_waits => array(4) ( "waits_wait" => string(21) "Будет ждать" "waits_not_calls" => string(26) "Недозвонились" "waits_send_email_sms" => string(20) "Отпр. sms, email" "waits_infromed" => string(18) "Обработан" ) public status_waits_stock => array(4) ( "waits_stock_3d" => string(19) "Через 3 дня" "waits_stock_1w" => string(23) "Через неделю" "waits_stock_3w" => string(25) "Через 3 недели" "waits_stock_no" => string(15) "Не будет" ) public status_callme => array(4) ( "callme_new" => string(10) "Новый" "callme_not_calls" => string(26) "Недозвонились" "callme_ready" => string(18) "ОБРАБОТАН" "best_offer" => string(21) "Лучшая цена" ) public characteristics => array(12) ( "brend" => string(26) "Производитель" "country" => string(39) "Страна производитель" "compatibility" => string(26) "Совместимость" "capacity" => string(14) "Емкость" "power_output" => string(17) "Сила тока" "volt" => string(20) "Напряжение" "type_rospayki" => string(35) "Распайка гарнитуры" "material" => string(16) "Материал" "size" => string(12) "Размер" "weight" => string(6) "Вес" "guaranty" => string(31) "Гарантийный срок" "other" => string(12) "Другое" ) public characteristics_smartphone => array(16) ( "os" => string(39) "Операционная система" "screen_size" => string(25) "Размер экрана" "screen_resolution" => string(33) "Разрешение экрана" "type_of_matrix" => string(21) "Тип матрицы" "number_of_sim" => string(23) "К-во сим-карт" "number_of_cores" => string(35) "К-во ядер процесора" "frequency_of_the_core" => string(33) "Частота процесора" "camera" => string(19) "Камера (Мп)" "autofocus" => string(18) "Автофокус" "front_camera" => string(24) "Фронт. камера" "random_access_memory" => string(35) "Оперативная память" "smart_memory" => string(29) "Память телефона" "memory_card_support" => string(40) "Поддержка карт памяти" "wireless_technology" => string(45) "Безпроводные технологии" "battery" => string(14) "Батарея" "interfaces" => string(20) "Интерфейсы" ) public product_type => array(6) ( "smartfony" => string(18) "Смартфоны" "chekhly" => string(10) "Чехлы" "plenki" => string(28) "Стекла и пленки" "komlekt" => string(26) "Комплектующие" "zapchasti" => string(16) "Запчасти" "accessories" => string(20) "Аксессуары" ) public product_type_steklo => array(31) ( 0 => string(6) "Нет" "001" => string(1) "1" "002" => string(1) "2" "003" => string(1) "3" "004" => string(1) "4" "005" => string(1) "5" "006" => string(1) "6" "007" => string(1) "7" "008" => string(1) "8" "009" => string(1) "9" "010" => string(2) "10" "011" => string(2) "11" "012" => string(2) "12" "013" => string(2) "13" "014" => string(2) "14" "015" => string(2) "15" "016" => string(2) "16" "017" => string(2) "17" "018" => string(2) "18" "019" => string(2) "19" "020" => string(2) "20" "021" => string(2) "21" "022" => string(2) "22" "023" => string(2) "23" "024" => string(2) "24" "025" => string(2) "25" "026" => string(2) "26" "027" => string(2) "27" "028" => string(2) "28" "029" => string(2) "29" "030" => string(2) "30" ) public product_type_title => array(4) ( "chekhly" => string(10) "Чехлы" "plenki" => string(43) "Защитные стекла, пленки" "komlekt" => string(75) "Зарядные устройства, гарнитуры, USB кабеля" "zapchasti" => string(76) "Аккумуляторы, тачскрины, крышки, запчасти" ) public static_page_title => array(7) ( "otzyvy-klientov" => string(51) "Отзывы наших клиентов (FaceBook)" "about" => string(36) "О интернет-магазине" "dostavka" => string(43) "Как мы доставляем товар" "oplata" => string(52) "Как вы можете оплатить товар" "garantii" => string(39) "Гарантийные условия !" "search" => string(26) "Поиск по сайту" "terms" => string(52) "Условия использования сайта" ) public static_page_links => array(7) ( "otzyvy-klientov" => string(12) "Отзывы" "about" => string(19) "О магазине" "dostavka" => string(16) "Доставка" "oplata" => string(12) "Оплата" "garantii" => string(16) "Гарантии" "search" => string(10) "Поиск" "terms" => string(41) "Условия использования" ) public delivery => array(3) ( "n_pochta" => array(6) ( "service" => string(21) "Новая Почта" "title" => string(45) "На отделение Новой Почты" "time" => string(10) "1-2 дня" "price" => integer 60 "addition_payment" => integer 25 "url" => string(24) "https://novaposhta.ua/ru" ) "ukrpochta" => array(6) ( "service" => string(17) "Укр Почта" "title" => string(41) "На отделение Укр Почты" "time" => string(23) "около 2-4 дней" "price" => integer 55 "addition_payment" => integer 15 "url" => string(21) "https://ukrposhta.ua/" ) "samovuvoz" => array(5) ( "service" => string(18) "Самовывоз" "title" => string(18) "Самовывоз" "time" => string(0) "" "price" => integer 0 "addition_payment" => integer 0 ) ) public delivery_description => array(3) ( "n_pochta" => string(49) "На отделение <br> Срок: 1-2 дня" "ukrpochta" => string(60) "На отделение <br> Срок: около 2-4 дня" "samovuvoz" => string(193) "Товар можно забрать по адресу: Полтава, ул. Соборности 29А - ТЦ “Злато Місто” (возле магазина спорттоваров)" ) public sorting => array(4) ( "rat" => string(21) "по рейтингу" "chp" => string(37) "от дешевых к дорогим" "exp" => string(37) "от дорогих к дешевым" "dsc" => string(32) "по размеру скидки" ) public article_type => array(4) ( "main" => string(16) "Основные" "info" => string(37) "Полезная информация" "new" => string(14) "Новости" "akcii" => string(10) "Акции" ) public marks => array(8) ( 0 => string(17) "Без метки" "akcia" => string(10) "Акция" "novinka" => string(14) "Новинка" "skoro" => string(28) "Скоро в продаже" "hit" => string(6) "Хит" "sale" => string(20) "Распродажа" "markdown" => string(12) "Уценка" "sk" => string(2) "sk" ) public operators => array(3) ( "kyivstar" => array(5) ( 0 => string(3) "098" 1 => string(3) "068" 2 => string(3) "096" 3 => string(3) "097" 4 => string(3) "067" ) "vodafone" => array(4) ( 0 => string(3) "050" 1 => string(3) "099" 2 => string(3) "066" 3 => string(3) "095" ) "life" => array(3) ( 0 => string(3) "063" 1 => string(3) "093" 2 => string(3) "073" ) ) public type_cost => array(30) ( 0 => string(0) "" "avans" => string(10) "Аванс" 4 => string(7) "-------" "nalogi" => string(12) "Налоги" "arenda" => string(12) "Аренда" "elektrika" => string(26) "Електричество" "otoplenie" => string(18) "Отопление" "internet" => string(16) "Интернет" "mobil_sv" => string(29) "Мобильная связь" "binotel" => string(33) "Бинотел телефония" "hosting" => string(14) "Хостинг" "korobki" => string(14) "Коробки" "vizitki" => string(14) "Визитки" 1 => string(7) "-------" "mobiking" => string(8) "Mobiking" "itsell" => string(6) "Itsell" "cifroteh" => string(16) "Цифротех" "atic" => string(4) "Atic" "mayami" => string(10) "Маями" "kitay" => string(10) "Китай" "drugoy_postavchik" => string(31) "Другой поставщик" 2 => string(7) "-------" "reklama_net" => string(36) "Реклама в интернете" "reklama_gorod" => string(30) "Реклама в городе" "advego" => string(12) "Адвего" "miralinks" => string(9) "Miralinks" "gogetlinks" => string(10) "GoGetLinks" "drugoy_seo" => string(37) "Дргугое продвижение" 3 => string(7) "-------" "drugoye" => string(27) "Другие расходы" ) }
}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(54) "<category>(/filter/<filter>)(/srt/<srt>)(/page-<page>)" protected _regex => array(4) ( "category" => string(14) "[a-zA-Z0-9_-]+" "filter" => string(14) "[a-zA-Z0-9_-]+" "srt" => string(11) "chp|exp|dsc" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "directory" => string(5) "Index" "controller" => string(8) "category" "action" => string(5) "index" ) protected _route_regex => string(130) "#^(?P<category>[a-zA-Z0-9_-]+)(?:/filter/(?P<filter>[a-zA-Z0-9_-]+))?(?:/srt/(?P<srt>chp|exp|dsc))?(?:/page-(?P<page>[0-9]+))?$# …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(8) "Category" protected _action => string(5) "index" protected _uri => string(19) "meizu/filter/3dcase" protected _external => bool FALSE protected _params => array(2) ( "category" => string(5) "meizu" "filter" => string(6) "3dcase" ) protected _get => array(1) ( "desktop" => string(1) "0" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0"}109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol()));110 111 if (($cache = $this->cache()) instanceof HTTP_Cache)112 return $cache->execute($this, $request, $response);113 114 $response = $this->execute_request($request, $response);115 116 // Execute response callbacks117 foreach ($this->header_callbacks() as $header => $callback)118 {119 if ($response->headers($header))
SYSPATH/classes/Kohana/Request.php [ 986 ]»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(54) "<category>(/filter/<filter>)(/srt/<srt>)(/page-<page>)" protected _regex => array(4) ( "category" => string(14) "[a-zA-Z0-9_-]+" "filter" => string(14) "[a-zA-Z0-9_-]+" "srt" => string(11) "chp|exp|dsc" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "directory" => string(5) "Index" "controller" => string(8) "category" "action" => string(5) "index" ) protected _route_regex => string(130) "#^(?P<category>[a-zA-Z0-9_-]+)(?:/filter/(?P<filter>[a-zA-Z0-9_-]+))?(?:/srt/(?P<srt>chp|exp|dsc))?(?:/page-(?P<page>[0-9]+))?$# …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(8) "Category" protected _action => string(5) "index" protected _uri => string(19) "meizu/filter/3dcase" protected _external => bool FALSE protected _params => array(2) ( "category" => string(5) "meizu" "filter" => string(6) "3dcase" ) protected _get => array(1) ( "desktop" => string(1) "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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(982 ':uri' => $this->_uri,983 ));984 }985 986 return $this->_client->execute($this);987 }988 989 /**990 * Returns whether this request is the initial request Kohana received.991 * Can be used to test for sub requests.
DOCROOT/index.php [ 118 ]»Kohana_Request->execute()
113 /**114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].115 * If no source is specified, the URI will be automatically detected.116 */117 echo Request::factory(TRUE, array(), FALSE)118 ->execute()119 ->send_headers(TRUE)120 ->body();121 }