APPPATH/classes/Controller/Index/Ca.php [ 273 ]
268 {
269 $mini_num[$tgood->go_id] = 1;
270 $mini[$tgood->go_id]='';
271 }
272
273 if($tgood->br_id != ''){$sbrend[$tgood->go_id]="ТМ “".$brend_mas[$tgood->br_id]."”";}else{$sbrend[$tgood->go_id]='';}
274
275 $in_cart[$tgood->go_id]['name'] = 'cti_in_cart';
276 $in_cart[$tgood->go_id]['num'] = '';
277 if(isset($products_s)){
278 if (array_key_exists($tgood->go_id, $products_s)) {
-
APPPATH/classes/Controller/Index/Ca.php [ 273 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(20) "Undefined offset: 23"
2
string(81) "/home/nn342420/kharkovkanc.com.ua/www/application/classes/Controller/Index/Ca.php"
3
integer 273
4
array(52) ( "products_s" => NULL "id" => integer 19994 "catalog" => object Model_Catalog(34)
{ protected _table_name => string(7) "catalog" protected _primary_key => string(5) "ca_id" protected _has_many => array(1) ( "good" => array(4) ( "foreign_key" => string(5) "ca_id" "through" => NULL "far_key" => string(7) "good_id" "model" => string(4) "good" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "ca_id" => string(5) "19994" "ca_father" => NULL "ca_name" => string(67) "Брошурування (пружини та обкладинки)" ) protected _changed => array(0) protected _original_values => array(3) ( "ca_id" => string(5) "19994" "ca_father" => NULL "ca_name" => string(67) "Брошурування (пружини та обкладинки)" ) 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(7) "catalog" protected _object_plural => string(8) "catalogs" protected _table_columns => array(3) ( "ca_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "ca_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(15) "ID товара" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "ca_father" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "ca_father" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(39) "Родительский каталог" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ca_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "ca_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(29) "Название товара" "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_value => string(5) "19994" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"ca_count" => integer 1 "cavid" => NULL "minicost" => integer 0 "name_catalog" => string(67) "Брошурування (пружини та обкладинки)" "brend_mas" => array(1) ( 0 => string(0) "" ) "ca_line" => string(140) "<a href="/">Каталог товарів</a> :: <a href="/ca/19994">Брошурування (пружини та обкладинки)</a>" "maint_percentage" => integer 0 "usbrpr" => array(0) "sort_go" => NULL "sort" => string(7) "go_name" "sel_sort" => array(3) ( "go_name" => string(12) "Назвою" "go_cost" => string(10) "Ціною" "br_id" => string(14) "Брендом" ) "sel_br" => string(0) "" "minicost_sel" => integer 0 "maxcost_sel" => integer 999999 "bar_sort" => string(235) "<span class=stext>Сортувати за </span><select name="sort"> <option value="go_name" selected="selected">Назвою</option> <option v …" "title" => array(1) ( 37681 => string(137) "Обкладинки_А4_"Buromax"_КАРТОННІ_"під_шкіру"_250г_білі_ціна_за_1_шт_BM0580-12" ) "name" => array(1) ( 37681 => string(141) "Обкладинки А4 "Buromax" КАРТОННІ "під шкіру" 250г білі, ціна за 1 шт., BM.0580-12" ) "text" => array(1) ( 37681 => string(401) "<br /><div class="cti_text">Обложка с фактурной поверхность "под кожу" BUROMAX для переплета и профессионального оформ …" ) "cost" => array(1) ( 37681 => string(4) "3,42" ) "pack" => array(1) ( 37681 => string(54) "Кількість в упаковці: 50 шт.<br />" ) "box" => array(1) ( 37681 => string(50) "Кількість у ящику: 3000 шт.<br />" ) "cost_fuul" => array(1) ( 37681 => string(0) "" ) "good_folder" => array(1) ( 37681 => string(7) "0037681" ) "foto" => array(1) ( 37681 => string(203) "<img border="0" title="Обкладинки А4 "Buromax" КАРТОННІ "під шкіру" 250г білі, ціна за 1 шт., BM.0580-12" sr …" ) "sbrend" => array(0) "ost" => array(1) ( 37681 => string(45) "Постачання від 3 до 7 днів" ) "mini" => array(1) ( 37681 => string(107) "<div class="cti_in_mini">Мінімальна кількість для замовлення 50 шт.</div>" ) "mini_num" => array(1) ( 37681 => string(2) "50" ) "looking" => array(1) ( 37681 => integer 0 ) "tingoods" => object Model_Good(34){ protected _connection_id => string(40) "03c0dce3fb49ca958c92441df2ae0c0bb939e637" protected _identifier => string(1) "`" public last_query => string(440) "SELECT `good`.`go_id` AS `go_id`, `good`.`ca_id` AS `ca_id`, `good`.`go_name` AS `go_name`, `good`.`go_cost` AS `go_cost`, `good …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(20) "nn342420.mysql.tools" "database" => string(11) "nn342420_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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(7) "catalog" }{ protected _table_name => string(5) "goods" protected _primary_key => string(5) "go_id" protected _belongs_to => array(1) ( "catalog" => array(2) ( "foreign_key" => string(5) "ca_id" "model" => string(7) "catalog" ) ) protected _has_many => array(1) ( "groups" => array(4) ( "foreign_key" => string(7) "good_id" "through" => string(12) "groups_goods" "far_key" => string(8) "group_id" "model" => string(5) "group" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "go_id" => NULL "ca_id" => NULL "go_name" => NULL "go_cost" => NULL "go_text" => NULL "go_pack" => NULL "go_box" => NULL "go_mini" => NULL "go_ost" => NULL "go_main" => NULL "br_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "good" protected _object_plural => string(5) "goods" protected _table_columns => array(11) ( "go_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "go_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(39) "Идентифекатор товара" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "ca_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "ca_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(43) "Идентификатор каталога" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "go_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(29) "Название товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_cost" => array(12) ( "type" => string(5) "float" "column_name" => string(7) "go_cost" "column_default" => NULL "data_type" => string(5) "float" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "numeric_scale" => string(1) "2" "numeric_precision" => string(2) "12" "comment" => string(21) "Цена товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "go_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(29) "Описание товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_pack" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_pack" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(53) "Кодичество товара в упаковке" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_box" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "go_box" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(51) "Количество товара в коробке" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_mini" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_mini" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(2) "11" "comment" => string(63) "Минимальное количество для заказа" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_ost" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "go_ost" "column_default" => string(7) "1000000" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(34) "Останток на складе" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_main" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_main" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "1" "comment" => string(81) "Показывать на главной странице 1- показывать" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "br_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "br_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(15) "ID бренда" "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_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"incat" => array(3) ( 0 => string(5) "36334" 1 => string(5) "36335" 2 => integer 19994 ) "value" => integer 19994 "tcount" => integer 14 "goods" => object Model_Good(34){ protected _connection_id => string(40) "03c0dce3fb49ca958c92441df2ae0c0bb939e637" protected _identifier => string(1) "`" public last_query => string(440) "SELECT `good`.`go_id` AS `go_id`, `good`.`ca_id` AS `ca_id`, `good`.`go_name` AS `go_name`, `good`.`go_cost` AS `go_cost`, `good …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(20) "nn342420.mysql.tools" "database" => string(11) "nn342420_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "good" }{ protected _table_name => string(5) "goods" protected _primary_key => string(5) "go_id" protected _belongs_to => array(1) ( "catalog" => array(2) ( "foreign_key" => string(5) "ca_id" "model" => string(7) "catalog" ) ) protected _has_many => array(1) ( "groups" => array(4) ( "foreign_key" => string(7) "good_id" "through" => string(12) "groups_goods" "far_key" => string(8) "group_id" "model" => string(5) "group" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "go_id" => NULL "ca_id" => NULL "go_name" => NULL "go_cost" => NULL "go_text" => NULL "go_pack" => NULL "go_box" => NULL "go_mini" => NULL "go_ost" => NULL "go_main" => NULL "br_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "good" protected _object_plural => string(5) "goods" protected _table_columns => array(11) ( "go_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "go_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(39) "Идентифекатор товара" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "ca_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "ca_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(43) "Идентификатор каталога" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "go_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(29) "Название товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_cost" => array(12) ( "type" => string(5) "float" "column_name" => string(7) "go_cost" "column_default" => NULL "data_type" => string(5) "float" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "numeric_scale" => string(1) "2" "numeric_precision" => string(2) "12" "comment" => string(21) "Цена товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "go_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(29) "Описание товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_pack" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_pack" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(53) "Кодичество товара в упаковке" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_box" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "go_box" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(51) "Количество товара в коробке" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_mini" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_mini" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(2) "11" "comment" => string(63) "Минимальное количество для заказа" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_ost" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "go_ost" "column_default" => string(7) "1000000" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(34) "Останток на складе" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_main" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_main" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "1" "comment" => string(81) "Показывать на главной странице 1- показывать" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "br_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "br_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(15) "ID бренда" "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_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"brends" => object Database_MySQL_Result(7){ protected _connection_id => string(40) "03c0dce3fb49ca958c92441df2ae0c0bb939e637" protected _identifier => string(1) "`" public last_query => string(440) "SELECT `good`.`go_id` AS `go_id`, `good`.`ca_id` AS `ca_id`, `good`.`go_name` AS `go_name`, `good`.`go_cost` AS `go_cost`, `good …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(20) "nn342420.mysql.tools" "database" => string(11) "nn342420_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "good" }{ protected _internal_row => integer 0 protected _query => string(392) "SELECT `good`.`go_id` AS `go_id`, `good`.`ca_id` AS `ca_id`, `good`.`go_name` AS `go_name`, `good`.`go_cost` AS `go_cost`, `good …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(10) "Model_Good" protected _object_params => NULL }
"tgoods" => object Database_MySQL_Result(7){ protected _internal_row => integer 1 protected _query => string(440) "SELECT `good`.`go_id` AS `go_id`, `good`.`ca_id` AS `ca_id`, `good`.`go_name` AS `go_name`, `good`.`go_cost` AS `go_cost`, `good …" protected _result => resource(mysql result) protected _total_rows => integer 14 protected _current_row => integer 0 protected _as_object => string(10) "Model_Good" protected _object_params => NULL }
"sgoods" => array(1) ( 0 => string(5) "37681" ) "n" => integer 0 "maxcost" => float 3.42 "tgood" => object Model_Good(34){ protected _table_name => string(5) "goods" protected _primary_key => string(5) "go_id" protected _belongs_to => array(1) ( "catalog" => array(2) ( "foreign_key" => string(5) "ca_id" "model" => string(7) "catalog" ) ) protected _has_many => array(1) ( "groups" => array(4) ( "foreign_key" => string(7) "good_id" "through" => string(12) "groups_goods" "far_key" => string(8) "group_id" "model" => string(5) "group" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "go_id" => string(5) "37681" "ca_id" => string(5) "36334" "go_name" => string(121) "Обкладинки А4 "Buromax" КАРТОННІ "під шкіру" 250г білі, ціна за 1 шт., BM.0580-12" "go_cost" => string(4) "3.42" "go_text" => string(459) "Обложка с фактурной поверхность "под кожу" BUROMAX для переплета и профессионального оформления документов! Обеспечивает защиту …" "go_pack" => string(2) "50" "go_box" => string(4) "3000" "go_mini" => string(2) "50" "go_ost" => string(1) "0" "go_main" => string(1) "0" "br_id" => string(2) "23" ) protected _changed => array(0) protected _original_values => array(11) ( "go_id" => string(5) "37681" "ca_id" => string(5) "36334" "go_name" => string(121) "Обкладинки А4 "Buromax" КАРТОННІ "під шкіру" 250г білі, ціна за 1 шт., BM.0580-12" "go_cost" => string(4) "3.42" "go_text" => string(459) "Обложка с фактурной поверхность "под кожу" BUROMAX для переплета и профессионального оформления документов! Обеспечивает защиту …" "go_pack" => string(2) "50" "go_box" => string(4) "3000" "go_mini" => string(2) "50" "go_ost" => string(1) "0" "go_main" => string(1) "0" "br_id" => string(2) "23" ) 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(4) "good" protected _object_plural => string(5) "goods" protected _table_columns => array(11) ( "go_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "go_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(39) "Идентифекатор товара" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "ca_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "ca_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(43) "Идентификатор каталога" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "go_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(29) "Название товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_cost" => array(12) ( "type" => string(5) "float" "column_name" => string(7) "go_cost" "column_default" => NULL "data_type" => string(5) "float" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "numeric_scale" => string(1) "2" "numeric_precision" => string(2) "12" "comment" => string(21) "Цена товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "go_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(29) "Описание товара" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_pack" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_pack" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(53) "Кодичество товара в упаковке" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_box" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "go_box" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(51) "Количество товара в коробке" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_mini" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_mini" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(2) "11" "comment" => string(63) "Минимальное количество для заказа" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_ost" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "go_ost" "column_default" => string(7) "1000000" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(34) "Останток на складе" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "go_main" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "go_main" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "1" "comment" => string(81) "Показывать на главной странице 1- показывать" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "br_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "br_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(15) "ID бренда" "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_value => string(5) "37681" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"precbrend" => integer 0 "total_percentage" => integer 0 "tcost" => float 3.42 "tit" => string(137) "Обкладинки А4 "Buromax" КАРТОННІ "під шкіру" 250г білі ціна за 1 шт BM0580-12" "folder_goods" => string(7) "0037681" "num_didg" => integer 2 "or" => integer 3 "file_img" => string(58) "/home/nn342420/kharkovkanc.com.ua/www//foto/ph_0037681.jpg" "go_mini" => string(2) "50" ){ protected _connection_id => string(40) "03c0dce3fb49ca958c92441df2ae0c0bb939e637" protected _identifier => string(1) "`" public last_query => string(440) "SELECT `good`.`go_id` AS `go_id`, `good`.`ca_id` AS `ca_id`, `good`.`go_name` AS `go_name`, `good`.`go_cost` AS `go_cost`, `good …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(20) "nn342420.mysql.tools" "database" => string(11) "nn342420_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "good" }268 { 269 $mini_num[$tgood->go_id] = 1; 270 $mini[$tgood->go_id]=''; 271 } 272 273 if($tgood->br_id != ''){$sbrend[$tgood->go_id]="ТМ “".$brend_mas[$tgood->br_id]."”";}else{$sbrend[$tgood->go_id]='';} 274 275 $in_cart[$tgood->go_id]['name'] = 'cti_in_cart'; 276 $in_cart[$tgood->go_id]['num'] = ''; 277 if(isset($products_s)){ 278 if (array_key_exists($tgood->go_id, $products_s)) {
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Ca->action_index()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Index_Ca(7)
{ public template => object View(2)
{ protected _file => string(73) "/home/nn342420/kharkovkanc.com.ua/www/application/views/index/v_index.php" protected _data => array(19) ( "open_site" => string(0) "" "site_name" => string(20) "ХарківКанц" "site_description" => string(72) "Інтернет-магазин канцтоварів в Харкові" "site_keywords" => string(311) "харків канц, Купити канцтовари, інтернет-магазин канцтоварів, Харків, магазин, канцтовари, kharkovkanc.com.ua, канцтовари оптом, …" "site_showpres" => string(4) "0.00" "site_minzak" => string(3) "500" "page_title" => NULL "styles" => array(3) ( 0 => string(18) "media/css/main.css" 1 => string(19) "media/css/fonts.css" 2 => string(28) "/lib/UItTop/css/ui.totop.css" ) "scripts" => array(9) ( 0 => string(28) "media/js/jquery-1.8.2.min.js" 1 => string(17) "media/js/vcart.js" 2 => string(18) "media/js/search.js" 3 => string(22) "media/js/jquery_002.js" 4 => string(21) "media/js/bootstrap.js" 5 => string(22) "media/js/jquery_003.js" 6 => string(24) "/lib/UItTop/js/easing.js" 7 => string(33) "/lib/UItTop/js/jquery.ui.totop.js" 8 => string(21) "/lib/UItTop/js/top.js" ) "block_header" => array(1) ( 0 => object Response(5)
protected user => NULL protected auth => object Auth_ORM(2){ protected _status => integer 200 protected _header => object HTTP_Header(0)
) "block_center" => NULL "block_footer" => array(1) ( 0 => object Response(5){ }
protected _body => string(2183) "<div id='logobox'> <div id='logo'> <a href="/" title="Главная страница"></a> </div> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) "user_percentage" => integer 0 "user_vip" => integer 0 "usbrpr" => array(0) "vnal" => NULL "vnalchek" => string(510) " <div id="aut1"> <form method="GET" action="/ca_run/3/1/" name="myform"> <input …" "page_verts" => object Database_MySQL_Result(7){ }
protected _body => string(170) "Канцтовари у Харкові | інтернет-магазин | Сайт зроблений в <a href="http://itlux.com.ua">ITlux.com.ua</a> | © 2013 - 2022 " protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _internal_row => integer 0 protected _query => string(366) "SELECT `page`.`pg_id` AS `pg_id`, `page`.`pg_alias` AS `pg_alias`, `page`.`pg_father` AS `pg_father`, `page`.`pg_name` AS `pg_na …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(10) "Model_Page" protected _object_params => NULL }
"user" => string(0) "" ) }{ protected _session => object Session_Cookie(5)
protected session => object Session_Database(11){ protected _name => string(7) "session" protected _lifetime => integer 432000 protected _encrypted => string(7) "default" protected _data => array(0) protected _destroyed => bool FALSE }
protected _config => object Config_Group(7){ public driver => string(3) "ORM" public hash_method => string(6) "sha256" public hash_key => string(25) "ggdfklgdhgkldfhgkl456436g" public lifetime => integer 1209600 public session_type => string(6) "cookie" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _db => object Database_MySQL(6)
public auto_render => bool TRUE public request => object Request(19){ protected _connection_id => string(40) "03c0dce3fb49ca958c92441df2ae0c0bb939e637" protected _identifier => string(1) "`" public last_query => string(440) "SELECT `good`.`go_id` AS `go_id`, `good`.`ca_id` AS `ca_id`, `good`.`go_name` AS `go_name`, `good`.`go_cost` AS `go_cost`, `good …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(20) "nn342420.mysql.tools" "database" => string(11) "nn342420_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _table => string(8) "sessions" protected _columns => array(3) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "65f969f33e93b7-64412213" protected _update_id => NULL protected _name => string(7) "session" protected _lifetime => integer 432000 protected _encrypted => string(7) "default" protected _data => array(0) protected _destroyed => bool FALSE }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(19) "ca(/<id>(/<param>))" protected _regex => array(1) ( "param" => string(2) ".+" ) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(5) "index" "controller" => string(2) "ca" ) protected _route_regex => string(53) "#^ca(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<param>.+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(2) "Ca" protected _action => string(5) "index" protected _uri => string(76) "ca/19994/Брошурування_(пружини_та_обкладинки)" protected _external => bool FALSE protected _params => array(2) ( "id" => string(5) "19994" "param" => string(67) "Брошурування_(пружини_та_обкладинки)" ) 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 => string(8) "HTTP/1.0" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(19) "ca(/<id>(/<param>))" protected _regex => array(1) ( "param" => string(2) ".+" ) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(5) "index" "controller" => string(2) "ca" ) protected _route_regex => string(53) "#^ca(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<param>.+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(2) "Ca" protected _action => string(5) "index" protected _uri => string(76) "ca/19994/Брошурування_(пружини_та_обкладинки)" protected _external => bool FALSE protected _params => array(2) ( "id" => string(5) "19994" "param" => string(67) "Брошурування_(пружини_та_обкладинки)" ) 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 => 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 callbacks 117 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 FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(19) "ca(/<id>(/<param>))" protected _regex => array(1) ( "param" => string(2) ".+" ) protected _defaults => array(3) ( "directory" => string(5) "index" "action" => string(5) "index" "controller" => string(2) "ca" ) protected _route_regex => string(53) "#^ca(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<param>.+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(2) "Ca" protected _action => string(5) "index" protected _uri => string(76) "ca/19994/Брошурування_(пружини_та_обкладинки)" protected _external => bool FALSE protected _params => array(2) ( "id" => string(5) "19994" "param" => string(67) "Брошурування_(пружини_та_обкладинки)" ) 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) }
}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 }