APPPATH/views/public/shop/category.php [ 32 ]
27 ?>
28 <h1 class="title"><?=$product->name?></h1>
29 <div class="row row-fluid">
30 <?$photo = $product->getPhoto();$files = $product->files->find_all();?>
31 <div class="col-md-12">
32 <img src="<?=$photo->big?>" class="margin-auto img-responsive" />
33 <?if(count($colors)):?>
34 <hr/>
35 <b class="display-block padding-bottom-10">Culori</b>
36 <div class="row">
37 <?foreach($colors as $color):?>
-
APPPATH/views/public/shop/category.php [ 32 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(36) "Trying to get property of non-object"
2
string(71) "/home/isomatarad/public_html/application/views/public/shop/category.php"
3
integer 32
4
array(13) ( "kohana_view_filename" => string(71) "/home/isomatarad/public_html/application/views/public/shop/category.php" "kohana_view_data" => array(5) ( "category" => object Model_Category(36)
{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"product" => object Model_Product(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(13) "Product_Photo" ) "files" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(12) "Product_File" ) "comments" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(15) "Product_Comment" ) "colors" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(14) "product_colors" "far_key" => string(8) "color_id" "model" => string(5) "Color" ) "sizes" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "product_sizes" "far_key" => string(6) "siz_id" "model" => string(4) "Size" ) "categories" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(18) "product_categories" "far_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _belongs_to => array(6) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "unit" => array(2) ( "foreign_key" => string(7) "unit_id" "model" => string(4) "Unit" ) "color" => array(2) ( "foreign_key" => string(8) "color_id" "model" => string(5) "Color" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "group" => array(2) ( "foreign_key" => string(8) "group_id" "model" => string(5) "Group" ) "manufacturer" => array(2) ( "foreign_key" => string(15) "manufacturer_id" "model" => string(12) "Manufacturer" ) ) protected _rules => array(0) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "id" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "price" => NULL "price_promo" => NULL "weight" => NULL "order" => NULL "show_on_homepage" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "group_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)
"product_category" => object Model_Category(36){ protected _has_many => array(0) protected _rules => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "id" => NULL "name" => NULL "product_id" => NULL "color_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(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(4) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) 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_name => string(8) "products" protected _table_columns => array(19) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(16) "product_photo_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(15) "manufacturer_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "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 FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_unicode_ci" "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 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_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 6 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price_promo" => array(11) ( "type" => string(5) "float" "min" => string(1) "0" "column_name" => string(11) "price_promo" "column_default" => NULL "data_type" => string(14) "float unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "weight" => array(10) ( "type" => string(5) "float" "column_name" => string(6) "weight" "column_default" => string(1) "0" "data_type" => string(5) "float" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(5) "99999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_on_homepage" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "show_on_homepage" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(7) "created" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(2) "10" "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 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "is_active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "stock" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "stock" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "code" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "code" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "group_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "group_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" 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) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(13) "product_photo" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"manufacturer" => object Model_Manufacturer(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(2) ( "products" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(10) "product_id" "model" => string(7) "Product" ) "categories" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(11) "category_id" "model" => string(21) "Manufacturer_Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(0) "" ) protected _changed => array(0) protected _original_values => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(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(12) "manufacturer" protected _object_plural => string(13) "manufacturers" protected _table_name => string(13) "manufacturers" protected _table_columns => array(5) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "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 3 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "4" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"categories" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(12) "manufacturer" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 7 protected _query => string(563) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _result => object mysqli_result(5)
) "category" => object Model_Category(36){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 7 protected _current_row => integer 7 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"product" => object Model_Product(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(13) "Product_Photo" ) "files" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(12) "Product_File" ) "comments" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(15) "Product_Comment" ) "colors" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(14) "product_colors" "far_key" => string(8) "color_id" "model" => string(5) "Color" ) "sizes" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "product_sizes" "far_key" => string(6) "siz_id" "model" => string(4) "Size" ) "categories" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(18) "product_categories" "far_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _belongs_to => array(6) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "unit" => array(2) ( "foreign_key" => string(7) "unit_id" "model" => string(4) "Unit" ) "color" => array(2) ( "foreign_key" => string(8) "color_id" "model" => string(5) "Color" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "group" => array(2) ( "foreign_key" => string(8) "group_id" "model" => string(5) "Group" ) "manufacturer" => array(2) ( "foreign_key" => string(15) "manufacturer_id" "model" => string(12) "Manufacturer" ) ) protected _rules => array(0) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "id" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "price" => NULL "price_promo" => NULL "weight" => NULL "order" => NULL "show_on_homepage" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "group_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)
"product_category" => object Model_Category(36){ protected _has_many => array(0) protected _rules => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "id" => NULL "name" => NULL "product_id" => NULL "color_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(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(4) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) 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_name => string(8) "products" protected _table_columns => array(19) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(16) "product_photo_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(15) "manufacturer_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "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 FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_unicode_ci" "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 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_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 6 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price_promo" => array(11) ( "type" => string(5) "float" "min" => string(1) "0" "column_name" => string(11) "price_promo" "column_default" => NULL "data_type" => string(14) "float unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "weight" => array(10) ( "type" => string(5) "float" "column_name" => string(6) "weight" "column_default" => string(1) "0" "data_type" => string(5) "float" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(5) "99999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_on_homepage" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "show_on_homepage" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(7) "created" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(2) "10" "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 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "is_active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "stock" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "stock" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "code" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "code" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "group_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "group_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" 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) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(13) "product_photo" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"manufacturer" => object Model_Manufacturer(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(2) ( "products" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(10) "product_id" "model" => string(7) "Product" ) "categories" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(11) "category_id" "model" => string(21) "Manufacturer_Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(0) "" ) protected _changed => array(0) protected _original_values => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(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(12) "manufacturer" protected _object_plural => string(13) "manufacturers" protected _table_name => string(13) "manufacturers" protected _table_columns => array(5) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "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 3 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "4" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"categories" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(12) "manufacturer" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 7 protected _query => string(563) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _result => object mysqli_result(5)
"c" => object Model_Category(36){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 7 protected _current_row => integer 7 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => string(2) "45" "name" => string(11) "Produse Noi" "description" => string(0) "" "alias" => string(11) "produse-noi" "ordine" => string(3) "999" "photo" => NULL "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "slider_from_parent" => string(1) "n" ) protected _changed => array(0) protected _original_values => array(10) ( "id" => string(2) "45" "name" => string(11) "Produse Noi" "description" => string(0) "" "alias" => string(11) "produse-noi" "ordine" => string(3) "999" "photo" => NULL "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "slider_from_parent" => string(1) "n" ) 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(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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(2) "45" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"children" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 0 protected _query => string(448) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _result => object mysqli_result(5)
"cc" => object Model_Category(36){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => string(2) "31" "name" => string(30) "Pardoseli pe bază de rășini" "description" => string(0) "" "alias" => string(27) "pardoseli-pe-baza-de-rasini" "ordine" => string(3) "999" "photo" => NULL "parent_id" => string(1) "7" "produse" => string(1) "0" "order" => string(3) "999" "slider_from_parent" => string(1) "y" ) protected _changed => array(0) protected _original_values => array(10) ( "id" => string(2) "31" "name" => string(30) "Pardoseli pe bază de rășini" "description" => string(0) "" "alias" => string(27) "pardoseli-pe-baza-de-rasini" "ordine" => string(3) "999" "photo" => NULL "parent_id" => string(1) "7" "produse" => string(1) "0" "order" => string(3) "999" "slider_from_parent" => string(1) "y" ) 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(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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(2) "31" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"colors" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 0 protected _query => string(389) "SELECT `color`.`id` AS `id`, `color`.`name` AS `name`, `color`.`alias` AS `alias`, `color`.`hexa` AS `hexa`, `color`.`created` A …" protected _result => object mysqli_result(5)
"photo" => bool FALSE "files" => object Database_MySQLi_Result(7){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(11) "Model_Color" protected _object_params => NULL }{ protected _internal_row => integer 0 protected _query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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 0 protected _current_row => integer 0 protected _as_object => string(18) "Model_Product_File" protected _object_params => NULL }27 ?> 28 <h1 class="title"><?=$product->name?></h1> 29 <div class="row row-fluid"> 30 <?$photo = $product->getPhoto();$files = $product->files->find_all();?> 31 <div class="col-md-12"> 32 <img src="<?=$photo->big?>" class="margin-auto img-responsive" /> 33 <?if(count($colors)):?> 34 <hr/> 35 <b class="display-block padding-bottom-10">Culori</b> 36 <div class="row"> 37 <?foreach($colors as $color):?>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(71) "/home/isomatarad/public_html/application/views/public/shop/category.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(71) "/home/isomatarad/public_html/application/views/public/shop/category.php"
1
array(5) ( "category" => object Model_Category(36)
{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"product" => object Model_Product(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(13) "Product_Photo" ) "files" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(12) "Product_File" ) "comments" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(15) "Product_Comment" ) "colors" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(14) "product_colors" "far_key" => string(8) "color_id" "model" => string(5) "Color" ) "sizes" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "product_sizes" "far_key" => string(6) "siz_id" "model" => string(4) "Size" ) "categories" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(18) "product_categories" "far_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _belongs_to => array(6) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "unit" => array(2) ( "foreign_key" => string(7) "unit_id" "model" => string(4) "Unit" ) "color" => array(2) ( "foreign_key" => string(8) "color_id" "model" => string(5) "Color" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "group" => array(2) ( "foreign_key" => string(8) "group_id" "model" => string(5) "Group" ) "manufacturer" => array(2) ( "foreign_key" => string(15) "manufacturer_id" "model" => string(12) "Manufacturer" ) ) protected _rules => array(0) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "id" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "price" => NULL "price_promo" => NULL "weight" => NULL "order" => NULL "show_on_homepage" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "group_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)
"product_category" => object Model_Category(36){ protected _has_many => array(0) protected _rules => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "id" => NULL "name" => NULL "product_id" => NULL "color_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(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(4) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) 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_name => string(8) "products" protected _table_columns => array(19) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(16) "product_photo_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(15) "manufacturer_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "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 FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_unicode_ci" "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 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_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 6 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price_promo" => array(11) ( "type" => string(5) "float" "min" => string(1) "0" "column_name" => string(11) "price_promo" "column_default" => NULL "data_type" => string(14) "float unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "weight" => array(10) ( "type" => string(5) "float" "column_name" => string(6) "weight" "column_default" => string(1) "0" "data_type" => string(5) "float" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(5) "99999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_on_homepage" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "show_on_homepage" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(7) "created" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(2) "10" "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 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "is_active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "stock" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "stock" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "code" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "code" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "group_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "group_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" 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) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(13) "product_photo" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"manufacturer" => object Model_Manufacturer(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(2) ( "products" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(10) "product_id" "model" => string(7) "Product" ) "categories" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(11) "category_id" "model" => string(21) "Manufacturer_Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(0) "" ) protected _changed => array(0) protected _original_values => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(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(12) "manufacturer" protected _object_plural => string(13) "manufacturers" protected _table_name => string(13) "manufacturers" protected _table_columns => array(5) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "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 3 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "4" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"categories" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(12) "manufacturer" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 7 protected _query => string(563) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" 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 7 protected _current_row => integer 7 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
APPPATH/views/public/template.php [ 124 ] » Kohana_View->__toString()
119 </div> 120 <?endif;?> 121 </header> 122 123 <div class="container"> 124 <?=isset($main)?$main:''?> 125 </div> 126 <footer> 127 <div class="container padding-top-20"> 128 <div class="row"> 129 <div class="col-md-8">
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(66) "/home/isomatarad/public_html/application/views/public/template.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(66) "/home/isomatarad/public_html/application/views/public/template.php"
1
array(2) ( "main" => object View(2)
{ protected _file => string(71) "/home/isomatarad/public_html/application/views/public/shop/category.php" protected _data => array(5) ( "category" => object Model_Category(36)
"meta_title" => NULL ){ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"product" => object Model_Product(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(13) "Product_Photo" ) "files" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(12) "Product_File" ) "comments" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(15) "Product_Comment" ) "colors" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(14) "product_colors" "far_key" => string(8) "color_id" "model" => string(5) "Color" ) "sizes" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "product_sizes" "far_key" => string(6) "siz_id" "model" => string(4) "Size" ) "categories" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(18) "product_categories" "far_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _belongs_to => array(6) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "unit" => array(2) ( "foreign_key" => string(7) "unit_id" "model" => string(4) "Unit" ) "color" => array(2) ( "foreign_key" => string(8) "color_id" "model" => string(5) "Color" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "group" => array(2) ( "foreign_key" => string(8) "group_id" "model" => string(5) "Group" ) "manufacturer" => array(2) ( "foreign_key" => string(15) "manufacturer_id" "model" => string(12) "Manufacturer" ) ) protected _rules => array(0) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "id" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "price" => NULL "price_promo" => NULL "weight" => NULL "order" => NULL "show_on_homepage" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "group_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)
"product_category" => object Model_Category(36){ protected _has_many => array(0) protected _rules => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "id" => NULL "name" => NULL "product_id" => NULL "color_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(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(4) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) 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_name => string(8) "products" protected _table_columns => array(19) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(16) "product_photo_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(15) "manufacturer_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "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 FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_unicode_ci" "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 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_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 6 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price_promo" => array(11) ( "type" => string(5) "float" "min" => string(1) "0" "column_name" => string(11) "price_promo" "column_default" => NULL "data_type" => string(14) "float unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "weight" => array(10) ( "type" => string(5) "float" "column_name" => string(6) "weight" "column_default" => string(1) "0" "data_type" => string(5) "float" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(5) "99999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_on_homepage" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "show_on_homepage" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(7) "created" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(2) "10" "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 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "is_active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "stock" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "stock" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "code" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "code" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "group_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "group_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" 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) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(13) "product_photo" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"manufacturer" => object Model_Manufacturer(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(2) ( "products" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(10) "product_id" "model" => string(7) "Product" ) "categories" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(11) "category_id" "model" => string(21) "Manufacturer_Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(0) "" ) protected _changed => array(0) protected _original_values => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(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(12) "manufacturer" protected _object_plural => string(13) "manufacturers" protected _table_name => string(13) "manufacturers" protected _table_columns => array(5) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "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 3 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "4" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"categories" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(12) "manufacturer" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 7 protected _query => string(563) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" 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 7 protected _current_row => integer 7 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Shop(4)
{ public template => object View(2)
{ protected _file => string(66) "/home/isomatarad/public_html/application/views/public/template.php" protected _data => array(2) ( "main" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(71) "/home/isomatarad/public_html/application/views/public/shop/category.php" protected _data => array(5) ( "category" => object Model_Category(36)
"meta_title" => NULL ) }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"product" => object Model_Product(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(13) "Product_Photo" ) "files" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(7) "file_id" "model" => string(12) "Product_File" ) "comments" => array(4) ( "foreign_key" => string(10) "product_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(15) "Product_Comment" ) "colors" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(14) "product_colors" "far_key" => string(8) "color_id" "model" => string(5) "Color" ) "sizes" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "product_sizes" "far_key" => string(6) "siz_id" "model" => string(4) "Size" ) "categories" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(18) "product_categories" "far_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _belongs_to => array(6) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "unit" => array(2) ( "foreign_key" => string(7) "unit_id" "model" => string(4) "Unit" ) "color" => array(2) ( "foreign_key" => string(8) "color_id" "model" => string(5) "Color" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "group" => array(2) ( "foreign_key" => string(8) "group_id" "model" => string(5) "Group" ) "manufacturer" => array(2) ( "foreign_key" => string(15) "manufacturer_id" "model" => string(12) "Manufacturer" ) ) protected _rules => array(0) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "id" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "price" => NULL "price_promo" => NULL "weight" => NULL "order" => NULL "show_on_homepage" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "group_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)
"product_category" => object Model_Category(36){ protected _has_many => array(0) protected _rules => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "id" => NULL "name" => NULL "product_id" => NULL "color_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(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(4) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) 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_name => string(8) "products" protected _table_columns => array(19) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(16) "product_photo_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(15) "manufacturer_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "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 FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_unicode_ci" "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 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_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 6 "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price_promo" => array(11) ( "type" => string(5) "float" "min" => string(1) "0" "column_name" => string(11) "price_promo" "column_default" => NULL "data_type" => string(14) "float unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "weight" => array(10) ( "type" => string(5) "float" "column_name" => string(6) "weight" "column_default" => string(1) "0" "data_type" => string(5) "float" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(5) "99999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_on_homepage" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "show_on_homepage" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(7) "created" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(2) "10" "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 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "is_active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "stock" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "stock" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "code" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "code" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "group_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "group_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" 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) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(13) "product_photo" }{ 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(3) ( ... ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(3) ( "children" => array(4) ( "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" "model" => string(8) "Category" ) "slides" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(8) "slide_id" "model" => string(14) "Category_Slide" ) "products" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(18) "product_categories" "far_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => NULL "name" => NULL "description" => NULL "alias" => NULL "ordine" => NULL "photo" => NULL "parent_id" => NULL "produse" => NULL "order" => NULL "slider_from_parent" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "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 3 "collation_name" => string(15) "utf8_general_ci" "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" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "ordine" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "produse" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slider_from_parent" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "slider_from_parent" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"manufacturer" => object Model_Manufacturer(36){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _has_many => array(2) ( "products" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(10) "product_id" "model" => string(7) "Product" ) "categories" => array(4) ( "foreign_key" => string(15) "manufacturer_id" "through" => NULL "far_key" => string(11) "category_id" "model" => string(21) "Manufacturer_Category" ) ) protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(0) "" ) protected _changed => array(0) protected _original_values => array(5) ( "id" => string(1) "4" "name" => string(6) "ISOMAT" "alias" => string(6) "isomat" "order" => string(1) "1" "photo" => string(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(12) "manufacturer" protected _object_plural => string(13) "manufacturers" protected _table_name => string(13) "manufacturers" protected _table_columns => array(5) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "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 3 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "order" "column_default" => string(3) "999" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "photo" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "photo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "4" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"categories" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "411988d10afee12132165c686aa911c259cb9bdb" protected _identifier => string(1) "`" public last_query => string(193) "SELECT `product_file`.`id` AS `id`, `product_file`.`name` AS `name`, `product_file`.`product_id` AS `product_id` FROM `product_f …" 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(12) "manufacturer" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(13) "isomatar_shop" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 7 protected _query => string(563) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" 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 7 protected _current_row => integer 7 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(50) "p(/<manufacturer>(/<category>(/<product>(/<id>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "shop" "action" => string(8) "category" ) protected _route_regex => string(132) "#^p(?:/(?P<manufacturer>[^/.,;?\n]++)(?:/(?P<category>[^/.,;?\n]++)(?:/(?P<product>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Shop" protected _action => string(8) "category" protected _uri => string(58) "p/isomat/categorie/structurata-etics-plaster-fine-25kg/476" protected _external => bool FALSE protected _params => array(4) ( "manufacturer" => string(6) "isomat" "category" => string(9) "categorie" "product" => string(35) "structurata-etics-plaster-fine-25kg" "id" => string(3) "476" ) 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.1" }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.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(50) "p(/<manufacturer>(/<category>(/<product>(/<id>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "shop" "action" => string(8) "category" ) protected _route_regex => string(132) "#^p(?:/(?P<manufacturer>[^/.,;?\n]++)(?:/(?P<category>[^/.,;?\n]++)(?:/(?P<product>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Shop" protected _action => string(8) "category" protected _uri => string(58) "p/isomat/categorie/structurata-etics-plaster-fine-25kg/476" protected _external => bool FALSE protected _params => array(4) ( "manufacturer" => string(6) "isomat" "category" => string(9) "categorie" "product" => string(35) "structurata-etics-plaster-fine-25kg" "id" => string(3) "476" ) 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.1" }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 [ 997 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(50) "p(/<manufacturer>(/<category>(/<product>(/<id>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "shop" "action" => string(8) "category" ) protected _route_regex => string(132) "#^p(?:/(?P<manufacturer>[^/.,;?\n]++)(?:/(?P<category>[^/.,;?\n]++)(?:/(?P<product>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Shop" protected _action => string(8) "category" protected _uri => string(58) "p/isomat/categorie/structurata-etics-plaster-fine-25kg/476" protected _external => bool FALSE protected _params => array(4) ( "manufacturer" => string(6) "isomat" "category" => string(9) "categorie" "product" => string(35) "structurata-etics-plaster-fine-25kg" "id" => string(3) "476" ) 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) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 117 ] » Kohana_Request->execute()
112 /** 113 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 114 * If no source is specified, the URI will be automatically detected. 115 */ 116 echo Request::factory(TRUE, array(), FALSE) 117 ->execute() 118 ->send_headers(TRUE) 119 ->body(); 120 }