SYSPATH/classes/Kohana/Arr.php [ 104 ]
99 // The path has already been separated into keys
100 $keys = $path;
101 }
102 else
103 {
104 if (array_key_exists($path, $array))
105 {
106 // No need to do extra processing
107 return $array[$path];
108 }
109
-
SYSPATH/classes/Kohana/Config.php [ 116 ] » Kohana_Arr::path(arguments)
0object Config_Group(1)
{ public default_driver => NULL }1string(14) "default_driver"2NULL
3string(1) "."111 112 if (isset($this->_groups[$group])) 113 { 114 if (isset($path)) 115 { 116 return Arr::path($this->_groups[$group], $path, NULL, '.'); 117 } 118 return $this->_groups[$group]; 119 } 120 121 $config = array(); -
MODPATH/image/classes/Kohana/Image.php [ 50 ] » Kohana_Config->load(arguments)
0string(5) "image"45 public static function factory($file, $driver = NULL) 46 { 47 if ($driver === NULL) 48 { 49 // Use the driver from configuration file or default one 50 $configured_driver = Kohana::$config->load('image.default_driver'); 51 $driver = ($configured_driver) ? $configured_driver : Image::$default_driver; 52 } 53 54 // Set the class name 55 $class = 'Image_'.$driver; -
APPPATH/views/public/shop/produs.php [ 41 ] » Kohana_Image::factory(arguments)
0string(74) "/home2/natural1/public_html//html/media/products/0/1/797/big/usa-pvc_1.png"36 <?php foreach($photos as $key => $photo): 37 38 $src_big = ($photo->getPhoto() ? $photo->getPhoto()->big : '/html/images/anunt.png'); 39 $src_small = ($photo->getPhoto() ? $photo->getPhoto()->big : '/html/images/anunt.png'); 40 41 $img = Image::factory(DOCROOT.$src_small); 42 43 ?> 44 <dl class='gallery-item'> 45 <dt class='gallery-icon '> 46 <a href='<?=$src_big?>'><img src="<?=$src_small?>" class="attachment-thumbnail" /></a> -
SYSPATH/classes/Kohana/View.php [ 63 ] » include(arguments)
0string(68) "/home2/natural1/public_html/application/views/public/shop/produs.php"58 ob_start(); 59 60 try 61 { 62 // Load the view within the current scope 63 include $kohana_view_filename; 64 } 65 catch (Throwable $e) 66 { 67 // Delete the output buffer 68 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 360 ] » Kohana_View::capture(arguments)
0string(68) "/home2/natural1/public_html/application/views/public/shop/produs.php"1array(5) ( "product" => object Model_Product(36)
{ protected _has_one => array(0) protected _belongs_to => array(2) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _has_many => array(3) ( "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" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(24) ( "id" => string(4) "1797" "product_photo_id" => string(4) "2677" "manufacturer_id" => string(1) "0" "manufacturer_category_id" => string(1) "0" "category_id" => string(4) "2087" "name" => string(7) "Usa PVC" "alias" => string(7) "usa-pvc" "description" => string(1176) "<p><strong>Profil</strong></p> <ul style="list-style-type:none"> <li> <p>Profile cu 5 sau cu 6 camere de la Veka sau Prof …" "technical_specifications" => string(0) "" "specifications" => string(0) "" "price" => string(0) "" "price_promo" => string(1) "0" "order" => string(5) "99999" "show_on_homepage" => string(1) "n" "show_on_homepage2" => string(1) "n" "created" => string(10) "1499405792" "modified" => string(10) "1504512375" "meta_title" => string(0) "" "meta_description" => string(0) "" "is_active" => string(1) "y" "stock" => string(1) "0" "code" => string(0) "" "import_id" => string(1) "0" "search_cache" => string(8) "Usa PVC " ) protected _changed => array(0) protected _original_values => array(24) ( "id" => string(4) "1797" "product_photo_id" => string(4) "2677" "manufacturer_id" => string(1) "0" "manufacturer_category_id" => string(1) "0" "category_id" => string(4) "2087" "name" => string(7) "Usa PVC" "alias" => string(7) "usa-pvc" "description" => string(1176) "<p><strong>Profil</strong></p> <ul style="list-style-type:none"> <li> <p>Profile cu 5 sau cu 6 camere de la Veka sau Prof …" "technical_specifications" => string(0) "" "specifications" => string(0) "" "price" => string(0) "" "price_promo" => string(1) "0" "order" => string(5) "99999" "show_on_homepage" => string(1) "n" "show_on_homepage2" => string(1) "n" "created" => string(10) "1499405792" "modified" => string(10) "1504512375" "meta_title" => string(0) "" "meta_description" => string(0) "" "is_active" => string(1) "y" "stock" => string(1) "0" "code" => string(0) "" "import_id" => string(1) "0" "search_cache" => string(8) "Usa PVC " ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(24) ( "id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(12) ( "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 TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(12) ( "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 TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_category_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(24) "manufacturer_category_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(11) "category_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "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 TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "150" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 8 "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "technical_specifications" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(24) "technical_specifications" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "specifications" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(14) "specifications" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 11 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb3_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" => string(1) "0" "data_type" => string(14) "float unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 TRUE "ordinal_position" => integer 13 "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 TRUE "ordinal_position" => integer 14 "collation_name" => string(18) "utf8mb3_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" ) "show_on_homepage2" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "show_on_homepage2" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "collation_name" => string(18) "utf8mb3_unicode_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(12) ( "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 TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(12) ( "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 TRUE "ordinal_position" => integer 17 "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 TRUE "ordinal_position" => integer 18 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 19 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 20 "collation_name" => string(18) "utf8mb3_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(12) ( "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 TRUE "ordinal_position" => integer 21 "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 TRUE "ordinal_position" => integer 22 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "import_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "import_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "search_cache" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "search_cache" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "1797" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)"photos" => object Database_MySQLi_Result(7){ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ protected _query => string(299) "SELECT `product_photo`.`id` AS `id`, `product_photo`.`name` AS `name`, `product_photo`.`product_id` AS `product_id`, `product_ph …" protected _result => object mysqli_result(0)"category" => object Model_Category(36){ }protected _total_rows => integer 3 protected _current_row => integer 1 protected _as_object => string(19) "Model_Product_Photo" protected _object_params => NULL protected _internal_row => integer 2 }{ protected _has_one => array(0) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) 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" ) "attributes" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(19) "category_attributes" "far_key" => string(12) "attribute_id" "model" => string(9) "Attribute" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(4) "2087" "name" => string(7) "Usi PVC" "description" => string(129) "Usile PVC pot fi echipate cu sticla securizata sau decorativa, dar si cu o gama diversa de paneluri ornamentale din PVC sau HPL …" "alias" => string(7) "usi-pvc" "ordine" => string(3) "999" "photo" => string(16) "usi-pvc_2087.jpg" "parent_id" => string(4) "2061" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(4) "2087" "name" => string(7) "Usi PVC" "description" => string(129) "Usile PVC pot fi echipate cu sticla securizata sau decorativa, dar si cu o gama diversa de paneluri ornamentale din PVC sau HPL …" "alias" => string(7) "usi-pvc" "ordine" => string(3) "999" "photo" => string(16) "usi-pvc_2087.jpg" "parent_id" => string(4) "2061" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _related => array(1) ( "parent" => object Model_Category(36)"files" => object Database_MySQLi_Result(7){ protected _has_one => array(0) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) 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" ) "attributes" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(19) "category_attributes" "far_key" => string(12) "attribute_id" "model" => string(9) "Attribute" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(4) "2061" "name" => string(13) "Tamplarie PVC" "description" => string(544) "Tamplaria PVC a castigat foarte usor incredera clientilor, lista avantajelor tamplariei PVC este impresionanta in raport cu inve …" "alias" => string(13) "tamplarie-pvc" "ordine" => string(3) "999" "photo" => string(22) "tamplarie-pvc_2061.jpg" "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(4) "2061" "name" => string(13) "Tamplarie PVC" "description" => string(544) "Tamplaria PVC a castigat foarte usor incredera clientilor, lista avantajelor tamplariei PVC este impresionanta in raport cu inve …" "alias" => string(13) "tamplarie-pvc" "ordine" => string(3) "999" "photo" => string(22) "tamplarie-pvc_2061.jpg" "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(11) ( "id" => array(12) ( "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 "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(3) "100" "collation_name" => string(18) "utf8mb3_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(18) "utf8mb3_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(3) "100" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(12) ( "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 "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(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_general_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "materials" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "materials" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "2061" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)) 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(11) ( "id" => array(12) ( "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 "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(3) "100" "collation_name" => string(18) "utf8mb3_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(18) "utf8mb3_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(3) "100" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(12) ( "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 "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(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_general_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "materials" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "materials" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "2087" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ protected _query => string(194) "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(0)"similar_products" => object Database_MySQLi_Result(7){ }protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(18) "Model_Product_File" protected _object_params => NULL protected _internal_row => integer 0 }{ protected _query => string(1112) "SELECT `product`.`id` AS `id`, `product`.`product_photo_id` AS `product_photo_id`, `product`.`manufacturer_id` AS `manufacturer_ …" protected _result => object mysqli_result(0)){ }protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(13) "Model_Product" protected _object_params => NULL protected _internal_row => integer 0 }355 { 356 throw new View_Exception('You must set the file to use within your view before rendering'); 357 } 358 359 // Combine local and global data and capture the output 360 return View::capture($this->_file, $this->_data); 361 } 362 363 } -
SYSPATH/classes/Kohana/View.php [ 237 ] » Kohana_View->render()
232 */ 233 public function __toString() 234 { 235 try 236 { 237 return $this->render(); 238 } 239 catch (Throwable $e) 240 { 241 /** 242 * Display the exception message. -
APPPATH/views/public/shop/layout.php [ 123 ] » Kohana_View->__toString()
118 <!-- Header Searchform area--> 119 </div> 120 </div> 121 </div> 122 </div> 123 <?= isset($view) ? $view : 'no view assigned' ?> 124 <footer id="Footer" class="clearfix"> 125 <div class="widgets_wrapper"> 126 <div class="container"> 127 <div class="column one"> 128 <!-- Text Area --> -
SYSPATH/classes/Kohana/View.php [ 63 ] » include(arguments)
0string(68) "/home2/natural1/public_html/application/views/public/shop/layout.php"58 ob_start(); 59 60 try 61 { 62 // Load the view within the current scope 63 include $kohana_view_filename; 64 } 65 catch (Throwable $e) 66 { 67 // Delete the output buffer 68 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 360 ] » Kohana_View::capture(arguments)
0string(68) "/home2/natural1/public_html/application/views/public/shop/layout.php"1array(2) ( "menu" => string(7) "produse" "view" => object View(2)
{ protected _file => string(68) "/home2/natural1/public_html/application/views/public/shop/produs.php" protected _data => array(5) ( "product" => object Model_Product(36)){ protected _has_one => array(0) protected _belongs_to => array(2) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _has_many => array(3) ( "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" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(24) ( "id" => string(4) "1797" "product_photo_id" => string(4) "2677" "manufacturer_id" => string(1) "0" "manufacturer_category_id" => string(1) "0" "category_id" => string(4) "2087" "name" => string(7) "Usa PVC" "alias" => string(7) "usa-pvc" "description" => string(1176) "<p><strong>Profil</strong></p> <ul style="list-style-type:none"> <li> <p>Profile cu 5 sau cu 6 camere de la Veka sau Prof …" "technical_specifications" => string(0) "" "specifications" => string(0) "" "price" => string(0) "" "price_promo" => string(1) "0" "order" => string(5) "99999" "show_on_homepage" => string(1) "n" "show_on_homepage2" => string(1) "n" "created" => string(10) "1499405792" "modified" => string(10) "1504512375" "meta_title" => string(0) "" "meta_description" => string(0) "" "is_active" => string(1) "y" "stock" => string(1) "0" "code" => string(0) "" "import_id" => string(1) "0" "search_cache" => string(8) "Usa PVC " ) protected _changed => array(0) protected _original_values => array(24) ( "id" => string(4) "1797" "product_photo_id" => string(4) "2677" "manufacturer_id" => string(1) "0" "manufacturer_category_id" => string(1) "0" "category_id" => string(4) "2087" "name" => string(7) "Usa PVC" "alias" => string(7) "usa-pvc" "description" => string(1176) "<p><strong>Profil</strong></p> <ul style="list-style-type:none"> <li> <p>Profile cu 5 sau cu 6 camere de la Veka sau Prof …" "technical_specifications" => string(0) "" "specifications" => string(0) "" "price" => string(0) "" "price_promo" => string(1) "0" "order" => string(5) "99999" "show_on_homepage" => string(1) "n" "show_on_homepage2" => string(1) "n" "created" => string(10) "1499405792" "modified" => string(10) "1504512375" "meta_title" => string(0) "" "meta_description" => string(0) "" "is_active" => string(1) "y" "stock" => string(1) "0" "code" => string(0) "" "import_id" => string(1) "0" "search_cache" => string(8) "Usa PVC " ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(24) ( "id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(12) ( "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 TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(12) ( "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 TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_category_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(24) "manufacturer_category_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(11) "category_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "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 TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "150" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 8 "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "technical_specifications" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(24) "technical_specifications" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "specifications" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(14) "specifications" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 11 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb3_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" => string(1) "0" "data_type" => string(14) "float unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 TRUE "ordinal_position" => integer 13 "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 TRUE "ordinal_position" => integer 14 "collation_name" => string(18) "utf8mb3_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" ) "show_on_homepage2" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "show_on_homepage2" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "collation_name" => string(18) "utf8mb3_unicode_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(12) ( "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 TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(12) ( "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 TRUE "ordinal_position" => integer 17 "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 TRUE "ordinal_position" => integer 18 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 19 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 20 "collation_name" => string(18) "utf8mb3_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(12) ( "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 TRUE "ordinal_position" => integer 21 "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 TRUE "ordinal_position" => integer 22 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "import_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "import_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "search_cache" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "search_cache" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "1797" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)"photos" => object Database_MySQLi_Result(7){ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ protected _query => string(299) "SELECT `product_photo`.`id` AS `id`, `product_photo`.`name` AS `name`, `product_photo`.`product_id` AS `product_id`, `product_ph …" protected _result => object mysqli_result(0)"category" => object Model_Category(36){ }protected _total_rows => integer 3 protected _current_row => integer 1 protected _as_object => string(19) "Model_Product_Photo" protected _object_params => NULL protected _internal_row => integer 2 }{ protected _has_one => array(0) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) 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" ) "attributes" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(19) "category_attributes" "far_key" => string(12) "attribute_id" "model" => string(9) "Attribute" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(4) "2087" "name" => string(7) "Usi PVC" "description" => string(129) "Usile PVC pot fi echipate cu sticla securizata sau decorativa, dar si cu o gama diversa de paneluri ornamentale din PVC sau HPL …" "alias" => string(7) "usi-pvc" "ordine" => string(3) "999" "photo" => string(16) "usi-pvc_2087.jpg" "parent_id" => string(4) "2061" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(4) "2087" "name" => string(7) "Usi PVC" "description" => string(129) "Usile PVC pot fi echipate cu sticla securizata sau decorativa, dar si cu o gama diversa de paneluri ornamentale din PVC sau HPL …" "alias" => string(7) "usi-pvc" "ordine" => string(3) "999" "photo" => string(16) "usi-pvc_2087.jpg" "parent_id" => string(4) "2061" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _related => array(1) ( "parent" => object Model_Category(36)"files" => object Database_MySQLi_Result(7){ protected _has_one => array(0) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) 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" ) "attributes" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(19) "category_attributes" "far_key" => string(12) "attribute_id" "model" => string(9) "Attribute" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(4) "2061" "name" => string(13) "Tamplarie PVC" "description" => string(544) "Tamplaria PVC a castigat foarte usor incredera clientilor, lista avantajelor tamplariei PVC este impresionanta in raport cu inve …" "alias" => string(13) "tamplarie-pvc" "ordine" => string(3) "999" "photo" => string(22) "tamplarie-pvc_2061.jpg" "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(4) "2061" "name" => string(13) "Tamplarie PVC" "description" => string(544) "Tamplaria PVC a castigat foarte usor incredera clientilor, lista avantajelor tamplariei PVC este impresionanta in raport cu inve …" "alias" => string(13) "tamplarie-pvc" "ordine" => string(3) "999" "photo" => string(22) "tamplarie-pvc_2061.jpg" "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(11) ( "id" => array(12) ( "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 "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(3) "100" "collation_name" => string(18) "utf8mb3_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(18) "utf8mb3_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(3) "100" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(12) ( "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 "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(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_general_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "materials" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "materials" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "2061" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)) 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(11) ( "id" => array(12) ( "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 "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(3) "100" "collation_name" => string(18) "utf8mb3_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(18) "utf8mb3_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(3) "100" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(12) ( "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 "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(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_general_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "materials" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "materials" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "2087" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ protected _query => string(194) "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(0)"similar_products" => object Database_MySQLi_Result(7){ }protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(18) "Model_Product_File" protected _object_params => NULL protected _internal_row => integer 0 }{ protected _query => string(1112) "SELECT `product`.`id` AS `id`, `product`.`product_photo_id` AS `product_photo_id`, `product`.`manufacturer_id` AS `manufacturer_ …" protected _result => object mysqli_result(0)) }{ }protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(13) "Model_Product" protected _object_params => NULL protected _internal_row => integer 0 }355 { 356 throw new View_Exception('You must set the file to use within your view before rendering'); 357 } 358 359 // Combine local and global data and capture the output 360 return View::capture($this->_file, $this->_data); 361 } 362 363 } -
SYSPATH/classes/Kohana/Controller/Template.php [ 45 ] » Kohana_View->render()
40 */ 41 public function after() 42 { 43 if ($this->auto_render === TRUE) 44 { 45 $this->response->body($this->template->render()); 46 } 47 48 parent::after(); 49 } 50 -
SYSPATH/classes/Kohana/Controller.php [ 88 ] » Kohana_Controller_Template->after()
83 84 // Execute the action itself 85 $this->{$action}(); 86 87 // Execute the "after action" method 88 $this->after(); 89 90 // Return the response 91 return $this->response; 92 } 93 -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Public_Index(5)
{ public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(18) "p(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(6) "produs" "directory" => string(6) "public" ) protected _route_regex => string(62) "#^p(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(6) "Public" protected _controller => string(5) "Index" protected _action => string(6) "produs" protected _uri => string(14) "p/usa-pvc/1797" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(7) "usa-pvc" "id" => string(4) "1797" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ 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 _previous_environment => NULL }}{ protected _status => integer 200 protected _header => object HTTP_Header(0)public template => object View(2){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _file => string(68) "/home2/natural1/public_html/application/views/public/shop/layout.php" protected _data => array(2) ( "menu" => string(7) "produse" "view" => object View(2)public auto_render => bool TRUE public _session => object Session_Native(5){ protected _file => string(68) "/home2/natural1/public_html/application/views/public/shop/produs.php" protected _data => array(5) ( "product" => object Model_Product(36)) }{ protected _has_one => array(0) protected _belongs_to => array(2) ( "photo" => array(2) ( "foreign_key" => string(16) "product_photo_id" "model" => string(13) "Product_Photo" ) "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) ) protected _has_many => array(3) ( "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" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(24) ( "id" => string(4) "1797" "product_photo_id" => string(4) "2677" "manufacturer_id" => string(1) "0" "manufacturer_category_id" => string(1) "0" "category_id" => string(4) "2087" "name" => string(7) "Usa PVC" "alias" => string(7) "usa-pvc" "description" => string(1176) "<p><strong>Profil</strong></p> <ul style="list-style-type:none"> <li> <p>Profile cu 5 sau cu 6 camere de la Veka sau Prof …" "technical_specifications" => string(0) "" "specifications" => string(0) "" "price" => string(0) "" "price_promo" => string(1) "0" "order" => string(5) "99999" "show_on_homepage" => string(1) "n" "show_on_homepage2" => string(1) "n" "created" => string(10) "1499405792" "modified" => string(10) "1504512375" "meta_title" => string(0) "" "meta_description" => string(0) "" "is_active" => string(1) "y" "stock" => string(1) "0" "code" => string(0) "" "import_id" => string(1) "0" "search_cache" => string(8) "Usa PVC " ) protected _changed => array(0) protected _original_values => array(24) ( "id" => string(4) "1797" "product_photo_id" => string(4) "2677" "manufacturer_id" => string(1) "0" "manufacturer_category_id" => string(1) "0" "category_id" => string(4) "2087" "name" => string(7) "Usa PVC" "alias" => string(7) "usa-pvc" "description" => string(1176) "<p><strong>Profil</strong></p> <ul style="list-style-type:none"> <li> <p>Profile cu 5 sau cu 6 camere de la Veka sau Prof …" "technical_specifications" => string(0) "" "specifications" => string(0) "" "price" => string(0) "" "price_promo" => string(1) "0" "order" => string(5) "99999" "show_on_homepage" => string(1) "n" "show_on_homepage2" => string(1) "n" "created" => string(10) "1499405792" "modified" => string(10) "1504512375" "meta_title" => string(0) "" "meta_description" => string(0) "" "is_active" => string(1) "y" "stock" => string(1) "0" "code" => string(0) "" "import_id" => string(1) "0" "search_cache" => string(8) "Usa PVC " ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(24) ( "id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "product_photo_id" => array(12) ( "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 TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_id" => array(12) ( "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 TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "manufacturer_category_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(24) "manufacturer_category_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(11) "category_id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "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 TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "150" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 8 "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "technical_specifications" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(24) "technical_specifications" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "specifications" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(14) "specifications" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 11 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb3_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" => string(1) "0" "data_type" => string(14) "float unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 TRUE "ordinal_position" => integer 13 "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 TRUE "ordinal_position" => integer 14 "collation_name" => string(18) "utf8mb3_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" ) "show_on_homepage2" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "show_on_homepage2" "column_default" => string(1) "n" "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "collation_name" => string(18) "utf8mb3_unicode_ci" "options" => array(2) ( 0 => string(1) "n" 1 => string(1) "y" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "created" => array(12) ( "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 TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modified" => array(12) ( "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 TRUE "ordinal_position" => integer 17 "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 TRUE "ordinal_position" => integer 18 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 19 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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 TRUE "ordinal_position" => integer 20 "collation_name" => string(18) "utf8mb3_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(12) ( "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 TRUE "ordinal_position" => integer 21 "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 TRUE "ordinal_position" => integer 22 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "import_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "import_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "search_cache" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "search_cache" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => array(2) ( "column" => string(8) "modified" "format" => bool TRUE ) protected _created_column => array(2) ( "column" => string(7) "created" "format" => bool TRUE ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "1797" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)"photos" => object Database_MySQLi_Result(7){ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ protected _query => string(299) "SELECT `product_photo`.`id` AS `id`, `product_photo`.`name` AS `name`, `product_photo`.`product_id` AS `product_id`, `product_ph …" protected _result => object mysqli_result(0)"category" => object Model_Category(36){ }protected _total_rows => integer 3 protected _current_row => integer 1 protected _as_object => string(19) "Model_Product_Photo" protected _object_params => NULL protected _internal_row => integer 2 }{ protected _has_one => array(0) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) 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" ) "attributes" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(19) "category_attributes" "far_key" => string(12) "attribute_id" "model" => string(9) "Attribute" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(4) "2087" "name" => string(7) "Usi PVC" "description" => string(129) "Usile PVC pot fi echipate cu sticla securizata sau decorativa, dar si cu o gama diversa de paneluri ornamentale din PVC sau HPL …" "alias" => string(7) "usi-pvc" "ordine" => string(3) "999" "photo" => string(16) "usi-pvc_2087.jpg" "parent_id" => string(4) "2061" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(4) "2087" "name" => string(7) "Usi PVC" "description" => string(129) "Usile PVC pot fi echipate cu sticla securizata sau decorativa, dar si cu o gama diversa de paneluri ornamentale din PVC sau HPL …" "alias" => string(7) "usi-pvc" "ordine" => string(3) "999" "photo" => string(16) "usi-pvc_2087.jpg" "parent_id" => string(4) "2061" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _related => array(1) ( "parent" => object Model_Category(36)"files" => object Database_MySQLi_Result(7){ protected _has_one => array(0) protected _belongs_to => array(1) ( "parent" => array(2) ( "foreign_key" => string(9) "parent_id" "model" => string(8) "Category" ) ) 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" ) "attributes" => array(4) ( "foreign_key" => string(11) "category_id" "through" => string(19) "category_attributes" "far_key" => string(12) "attribute_id" "model" => string(9) "Attribute" ) "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 _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(4) "2061" "name" => string(13) "Tamplarie PVC" "description" => string(544) "Tamplaria PVC a castigat foarte usor incredera clientilor, lista avantajelor tamplariei PVC este impresionanta in raport cu inve …" "alias" => string(13) "tamplarie-pvc" "ordine" => string(3) "999" "photo" => string(22) "tamplarie-pvc_2061.jpg" "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => string(0) "" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(4) "2061" "name" => string(13) "Tamplarie PVC" "description" => string(544) "Tamplaria PVC a castigat foarte usor incredera clientilor, lista avantajelor tamplariei PVC este impresionanta in raport cu inve …" "alias" => string(13) "tamplarie-pvc" "ordine" => string(3) "999" "photo" => string(22) "tamplarie-pvc_2061.jpg" "parent_id" => string(1) "0" "produse" => string(1) "0" "order" => string(3) "999" "active" => string(1) "y" "materials" => 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(8) "category" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(11) ( "id" => array(12) ( "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 "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(3) "100" "collation_name" => string(18) "utf8mb3_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(18) "utf8mb3_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(3) "100" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(12) ( "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 "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(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_general_ci" "options" => array(2) ( ... ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "materials" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "materials" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "2061" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)) 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(11) ( "id" => array(12) ( "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 "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(3) "100" "collation_name" => string(18) "utf8mb3_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(18) "utf8mb3_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(3) "100" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ordine" => array(12) ( "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 "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(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "produse" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(12) ( "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 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "active" "column_default" => string(1) "y" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(18) "utf8mb3_general_ci" "options" => array(2) ( 0 => string(1) "y" 1 => string(1) "n" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "materials" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "materials" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(4) "2087" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( ... ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ public last_query => string(445) "SELECT `category`.`id` AS `id`, `category`.`name` AS `name`, `category`.`description` AS `description`, `category`.`alias` AS `a …" protected _identifier => string(1) "`" protected _instance => string(7) "default" protected _connection => object mysqli(0)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" protected _rules => array(0) protected _filters => array(1) ( 1 => array(1) ( "trim" => array(0) ) ) }{ }protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(16) "natural1_natural" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) protected _connection_id => string(40) "56af7b383587b03cbb9bc4a5ff24ac1effd7cf8a" }{ protected _query => string(194) "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(0)"similar_products" => object Database_MySQLi_Result(7){ }protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(18) "Model_Product_File" protected _object_params => NULL protected _internal_row => integer 0 }{ protected _query => string(1112) "SELECT `product`.`id` AS `id`, `product`.`product_photo_id` AS `product_photo_id`, `product`.`manufacturer_id` AS `manufacturer_ …" protected _result => object mysqli_result(0)) }{ }protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(13) "Model_Product" protected _object_params => NULL protected _internal_row => integer 0 }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }}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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(18) "p(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(6) "produs" "directory" => string(6) "public" ) protected _route_regex => string(62) "#^p(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(6) "Public" protected _controller => string(5) "Index" protected _action => string(6) "produs" protected _uri => string(14) "p/usa-pvc/1797" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(7) "usa-pvc" "id" => string(4) "1797" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ 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 _previous_environment => NULL }}1object 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 [ 998 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(18) "p(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(6) "produs" "directory" => string(6) "public" ) protected _route_regex => string(62) "#^p(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(6) "Public" protected _controller => string(5) "Index" protected _action => string(6) "produs" protected _uri => string(14) "p/usa-pvc/1797" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(7) "usa-pvc" "id" => string(4) "1797" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ 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 _previous_environment => NULL }}993 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 994 ':uri' => $this->_uri, 995 )); 996 } 997 998 return $this->_client->execute($this); 999 } 1000 1001 /** 1002 * Returns whether this request is the initial request Kohana received. 1003 * Can be used to test for sub requests. -
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }