APPPATH/views/public/shop/oferta.php [ 22 ]
17 <!-- Main Content -->
18 <div id="Content">
19 <div class="content_wrapper clearfix">
20 <div class="sections_group">
21 <div class="entry-content">
22 <div class="section" style="padding-top:80px; padding-bottom:30px; background-image:url(<?=$product->getPhoto()->big?>); background-repeat:no-repeat; background-position:center center; background-attachment:fixed; background-size:cover; -webkit-background-size:cover" >
23 <div class="section_wrapper clearfix">
24 <div class="items_group clearfix">
25 <!-- One full width row-->
26 <div class="column one column_column ">
27 <div class="column_attr align_center" style=" padding:0 5%;">
-
APPPATH/views/public/shop/oferta.php [ 22 ] » Kohana_Core::error_handler(arguments)
0integer 2
1string(39) "Attempt to read property "big" on false"2string(68) "/home2/natural1/public_html/application/views/public/shop/oferta.php"3integer 22
17 <!-- Main Content --> 18 <div id="Content"> 19 <div class="content_wrapper clearfix"> 20 <div class="sections_group"> 21 <div class="entry-content"> 22 <div class="section" style="padding-top:80px; padding-bottom:30px; background-image:url(<?=$product->getPhoto()->big?>); background-repeat:no-repeat; background-position:center center; background-attachment:fixed; background-size:cover; -webkit-background-size:cover" > 23 <div class="section_wrapper clearfix"> 24 <div class="items_group clearfix"> 25 <!-- One full width row--> 26 <div class="column one column_column "> 27 <div class="column_attr align_center" style=" padding:0 5%;"> -
SYSPATH/classes/Kohana/View.php [ 63 ] » include(arguments)
0string(68) "/home2/natural1/public_html/application/views/public/shop/oferta.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/oferta.php"1array(1) ( "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" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "manufacturer_category_id" => NULL "category_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "technical_specifications" => NULL "specifications" => NULL "price" => NULL "price_promo" => NULL "order" => NULL "show_on_homepage" => NULL "show_on_homepage2" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "import_id" => NULL "search_cache" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)){ protected _has_one => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => NULL "name" => NULL "product_id" => NULL "color_id" => NULL "order" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(5) ( "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" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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(3) "999" "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" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ public last_query => string(39) "SHOW FULL COLUMNS FROM `product_photos`" 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(13) "product_photo" 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(39) "SHOW FULL COLUMNS FROM `product_photos`" 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" }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(1) ( "view" => object View(2)
{ protected _file => string(68) "/home2/natural1/public_html/application/views/public/shop/oferta.php" protected _data => array(1) ( "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" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "manufacturer_category_id" => NULL "category_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "technical_specifications" => NULL "specifications" => NULL "price" => NULL "price_promo" => NULL "order" => NULL "show_on_homepage" => NULL "show_on_homepage2" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "import_id" => NULL "search_cache" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)) }{ protected _has_one => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => NULL "name" => NULL "product_id" => NULL "color_id" => NULL "order" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(5) ( "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" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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(3) "999" "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" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ public last_query => string(39) "SHOW FULL COLUMNS FROM `product_photos`" 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(13) "product_photo" 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(39) "SHOW FULL COLUMNS FROM `product_photos`" 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" }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(13) "oferta(/<id>)" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(6) "oferta" "directory" => string(6) "public" ) protected _route_regex => string(38) "#^oferta(?:/(?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) "oferta" protected _uri => string(11) "oferta/1812" protected _external => bool FALSE protected _params => array(1) ( "id" => string(4) "1812" ) 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(1) ( "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/oferta.php" protected _data => array(1) ( "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" => NULL "product_photo_id" => NULL "manufacturer_id" => NULL "manufacturer_category_id" => NULL "category_id" => NULL "name" => NULL "alias" => NULL "description" => NULL "technical_specifications" => NULL "specifications" => NULL "price" => NULL "price_promo" => NULL "order" => NULL "show_on_homepage" => NULL "show_on_homepage2" => NULL "created" => NULL "modified" => NULL "meta_title" => NULL "meta_description" => NULL "is_active" => NULL "stock" => NULL "code" => NULL "import_id" => NULL "search_cache" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(1) ( "photo" => object Model_Product_Photo(36)) }{ protected _has_one => array(0) protected _belongs_to => array(1) ( "product" => array(2) ( "foreign_key" => string(10) "product_id" "model" => string(7) "Product" ) ) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => NULL "name" => NULL "product_id" => NULL "color_id" => NULL "order" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(13) "product_photo" protected _object_plural => string(14) "product_photos" protected _table_name => string(14) "product_photos" protected _table_columns => array(5) ( "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" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "product_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "color_id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "color_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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(3) "999" "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" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(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 => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ public last_query => string(39) "SHOW FULL COLUMNS FROM `product_photos`" 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(13) "product_photo" 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(39) "SHOW FULL COLUMNS FROM `product_photos`" 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 _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(13) "oferta(/<id>)" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(6) "oferta" "directory" => string(6) "public" ) protected _route_regex => string(38) "#^oferta(?:/(?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) "oferta" protected _uri => string(11) "oferta/1812" protected _external => bool FALSE protected _params => array(1) ( "id" => string(4) "1812" ) 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(13) "oferta(/<id>)" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(6) "oferta" "directory" => string(6) "public" ) protected _route_regex => string(38) "#^oferta(?:/(?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) "oferta" protected _uri => string(11) "oferta/1812" protected _external => bool FALSE protected _params => array(1) ( "id" => string(4) "1812" ) 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 }