APPPATH/classes/controller/catalog.php [ 287 ]
282 $data['product'] = ORM::factory('product')
283 ->where('translit', '=', $translit)
284 ->and_where('product_partition_id', '=', $data['product_partition'])
285 ->find();
286 */
287 if ($data['product']->is_package) {
288 $data['product_price'] = $data['product']->product_price->find();
289 }
290
291 if ($data['product']->loaded()) {
292 $this->template->title = $data['product']->title;
-
APPPATH/classes/controller/catalog.php [ 287 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(24) "Undefined variable: data"
2
string(76) "/home/u37/web/ud74.ru/public_html/application/classes/controller/catalog.php"
3
integer 287
4
array(4) ( "url" => string(8) "32-klass" "translit" => string(61) "laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass" "value" => object Model_Product_Partition(34)
{ protected _table_name => string(17) "product_partition" protected _primary_key => string(20) "product_partition_id" protected _has_many => array(3) ( "product" => array(4) ( "model" => string(7) "product" "foreign_key" => string(20) "product_partition_id" "through" => NULL "far_key" => string(10) "product_id" ) "product_partition" => array(4) ( "model" => string(17) "product_partition" "foreign_key" => string(27) "parent_product_partition_id" "through" => NULL "far_key" => string(20) "product_partition_id" ) "property_catalog" => array(5) ( "model" => string(16) "property_catalog" "foreign_key" => string(20) "product_partition_id" "through" => string(34) "product_partition_property_catalog" "far_key" => string(19) "property_catalog_id" "auto_save" => bool TRUE ) ) protected _belongs_to => array(1) ( "parent_product_partition" => array(2) ( "model" => string(17) "product_partition" "foreign_key" => string(27) "parent_product_partition_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(15) ( "product_partition_id" => string(3) "420" "parent_product_partition_id" => string(3) "419" "name" => string(13) "32 класс" "position" => string(3) "266" "title" => string(13) "32 Класс" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "url" => string(8) "32-klass" "product_partition_description" => string(0) "" "picture_path" => string(29) "/upload/images/Laminat/32.jpg" "measure" => NULL "is_visible" => string(1) "1" "filter_main" => NULL "product_manufactor_id" => NULL "is_collection" => string(1) "1" ) protected _changed => array(0) protected _original_values => array(15) ( "product_partition_id" => string(3) "420" "parent_product_partition_id" => string(3) "419" "name" => string(13) "32 класс" "position" => string(3) "266" "title" => string(13) "32 Класс" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "url" => string(8) "32-klass" "product_partition_description" => string(0) "" "picture_path" => string(29) "/upload/images/Laminat/32.jpg" "measure" => NULL "is_visible" => string(1) "1" "filter_main" => NULL "product_manufactor_id" => NULL "is_collection" => string(1) "1" ) 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(17) "product_partition" protected _object_plural => string(18) "product_partitions" protected _table_columns => array(15) ( "product_partition_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(20) "product_partition_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(4) "ИД" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_product_partition_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(27) "parent_product_partition_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(63) "Родительский раздел (NULL - корневой)" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "150" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(39) "Наименование раздела" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "position" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "position" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "display" => string(2) "11" "comment" => string(44) "Позиция для отображения" "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 TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(9) "SEO Title" "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 TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(15) "SEO Description" "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 TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(8) "SEO Keys" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(14) "Роутинг" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_partition_description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(29) "product_partition_description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(16) "Описание" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "picture_path" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "picture_path" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(36) "Путь до изображения" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "measure" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "measure" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "character_maximum_length" => string(3) "150" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(8) "Мера" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_visible" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(10) "is_visible" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "display" => string(1) "1" "comment" => string(20) "Отображать" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "filter_main" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(11) "filter_main" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_manufactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(21) "product_manufactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_collection" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(13) "is_collection" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "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_value => string(3) "420" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"product" => object Model_Product(34){ protected _connection_id => string(40) "ea0ee1279d7dc7b324ec9a8a9d9197e33369cbc4" protected _identifier => string(1) "`" public last_query => string(172) "SELECT `product`.* FROM `product` AS `product` WHERE `translit` = 'laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass …" 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(17) "product_partition" }{ 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(6) ( "type" => string(6) "mysqli" "connection" => array(5) ( "hostname" => string(9) "localhost" "database" => string(8) "u37_ud74" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(7) "product" protected _primary_key => string(10) "product_id" protected _belongs_to => array(2) ( "product_partition" => array(2) ( "model" => string(17) "product_partition" "foreign_key" => string(20) "product_partition_id" ) "product_manufactor" => array(2) ( "model" => string(18) "product_manufactor" "foreign_key" => string(21) "product_manufactor_id" ) ) protected _has_many => array(5) ( "product_photo" => array(5) ( "model" => string(13) "product_photo" "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(16) "product_photo_id" "auto_save" => bool TRUE ) "product_price" => array(5) ( "model" => string(13) "product_price" "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(16) "product_price_id" "auto_save" => bool TRUE ) "similar" => array(4) ( "model" => string(7) "product" "foreign_key" => string(10) "product_id" "through" => string(15) "product_similar" "far_key" => string(11) "product2_id" ) "product_property" => array(4) ( "model" => string(16) "product_property" "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(19) "product_property_id" ) "property" => array(5) ( "model" => string(8) "property" "foreign_key" => string(10) "product_id" "through" => string(16) "product_property" "far_key" => string(11) "property_id" "auto_save" => bool TRUE ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(20) ( "product_id" => NULL "product_partition_id" => NULL "name" => NULL "product_description" => NULL "position" => NULL "picture_path" => NULL "title" => NULL "meta_description" => NULL "meta_keywords" => NULL "url" => NULL "price" => NULL "is_visible" => NULL "is_markdown" => NULL "is_hit" => NULL "translit" => NULL "is_sale" => NULL "product_manufactor_id" => NULL "is_package" => NULL "old_price" => NULL "package_param" => 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(7) "product" protected _object_plural => string(8) "products" protected _table_columns => array(20) ( "product_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(17) "ИД товара" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_partition_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(20) "product_partition_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(32) "ИД раздела товара" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "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(18) "utf8mb3_general_ci" "comment" => string(24) "Наименование" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(19) "product_description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(16) "Описание" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "position" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "position" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(44) "Позиция для отображения" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "picture_path" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "picture_path" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "150" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(30) "Путь до картинки" "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 TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(9) "SEO Title" "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 TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(20) "SEO meta Description" "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 TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(13) "SEO meta Keys" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(14) "Роутинг" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(12) ( "type" => string(5) "float" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(5) "float" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "numeric_scale" => string(1) "2" "numeric_precision" => string(2) "10" "comment" => string(8) "Цена" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_visible" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(10) "is_visible" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "display" => string(1) "1" "comment" => string(25) "Отображать ли" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_markdown" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(11) "is_markdown" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(1) "1" "comment" => string(18) "Уцененный" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_hit" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "is_hit" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(1) "1" "comment" => string(6) "Хит" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "translit" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "translit" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(16) "Транслит" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_sale" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(7) "is_sale" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "display" => string(1) "1" "comment" => string(20) "Распродажа" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_manufactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(21) "product_manufactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(31) "ИД производителя" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_package" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(10) "is_package" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "display" => string(1) "1" "comment" => string(14) "Фасовка" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_price" => array(10) ( "type" => string(5) "float" "column_name" => string(9) "old_price" "column_default" => NULL "data_type" => string(5) "float" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "package_param" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "package_param" "column_default" => string(12) "Ширина" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "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" ) ) 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_MySQLi(6)
){ protected _connection_id => string(40) "ea0ee1279d7dc7b324ec9a8a9d9197e33369cbc4" protected _identifier => string(1) "`" public last_query => string(172) "SELECT `product`.* FROM `product` AS `product` WHERE `translit` = 'laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass …" 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(7) "product" }{ 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(6) ( "type" => string(6) "mysqli" "connection" => array(5) ( "hostname" => string(9) "localhost" "database" => string(8) "u37_ud74" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }282 $data['product'] = ORM::factory('product') 283 ->where('translit', '=', $translit) 284 ->and_where('product_partition_id', '=', $data['product_partition']) 285 ->find(); 286 */ 287 if ($data['product']->is_package) { 288 $data['product_price'] = $data['product']->product_price->find(); 289 } 290 291 if ($data['product']->loaded()) { 292 $this->template->title = $data['product']->title;
-
{PHP internal call} » Controller_Catalog->action_html()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Catalog(4)
{ public template => object View(2)
{ protected _file => string(60) "/home/u37/web/ud74.ru/public_html/application/views/main.php" protected _data => array(5) ( "content_nav_top" => string(979) "<section class="b-menu"> <nav> <a href="/" title="Главная">Главная</a> <a titl …" "content_nav_bottom" => string(1431) "<nav> <a title="Главная" href="/"><span>Главная</span></a> <div class="item"> <a …" "content_left" => object View(2)
public auto_render => bool TRUE public request => object Request(21){ protected _file => string(68) "/home/u37/web/ud74.ru/public_html/application/views/content_left.php" protected _data => array(1) ( "product_partitions" => object Database_Mysqli_Result(7)
"basket_summ" => integer 0 "basket_quantity" => integer 0 ) }{ protected _internal_row => integer 0 protected _query => string(140) "SELECT `product_partition`.* FROM `product_partition` AS `product_partition` WHERE `parent_product_partition_id` IS NULL ORDER B …" 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 6 protected _current_row => integer 0 protected _as_object => string(23) "Model_Product_Partition" protected _object_params => NULL }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(115) "http://ud74.ru/products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass.html" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(45) "products/(<parent_url>/)<url>/<translit>.html" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(4) "html" ) protected _route_regex => string(103) "#^products/(?:(?P<parent_url>[^/.,;?\n]++)/)?(?P<url>[^/.,;?\n]++)/(?P<translit>[^/.,;?\n]++)\.html$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "catalog" protected _action => string(4) "html" protected _uri => string(100) "products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass.html" protected _external => bool FALSE protected _params => array(3) ( "parent_url" => string(15) "egger-germaniya" "url" => string(8) "32-klass" "translit" => string(61) "laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass" ) protected _get => array(1) ( "products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass_html" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => 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" }113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(115) "http://ud74.ru/products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass.html" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(45) "products/(<parent_url>/)<url>/<translit>.html" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(4) "html" ) protected _route_regex => string(103) "#^products/(?:(?P<parent_url>[^/.,;?\n]++)/)?(?P<url>[^/.,;?\n]++)/(?P<translit>[^/.,;?\n]++)\.html$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "catalog" protected _action => string(4) "html" protected _uri => string(100) "products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass.html" protected _external => bool FALSE protected _params => array(3) ( "parent_url" => string(15) "egger-germaniya" "url" => string(8) "32-klass" "translit" => string(61) "laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass" ) protected _get => array(1) ( "products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass_html" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(115) "http://ud74.ru/products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass.html" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(45) "products/(<parent_url>/)<url>/<translit>.html" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(4) "html" ) protected _route_regex => string(103) "#^products/(?:(?P<parent_url>[^/.,;?\n]++)/)?(?P<url>[^/.,;?\n]++)/(?P<translit>[^/.,;?\n]++)\.html$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "catalog" protected _action => string(4) "html" protected _uri => string(100) "products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass.html" protected _external => bool FALSE protected _params => array(3) ( "parent_url" => string(15) "egger-germaniya" "url" => string(8) "32-klass" "translit" => string(61) "laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass" ) protected _get => array(1) ( "products/egger-germaniya/32-klass/laminat-egger-pro-8-32-dub-greyson-naturalnyy-epl096-32-klass_html" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 120 ] » Kohana_Request->execute()
115 /** 116 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 117 * If no source is specified, the URI will be automatically detected. 118 */ 119 echo Request::factory() 120 ->execute() 121 ->send_headers() 122 ->body(); 123 } 124