SYSPATH/classes/kohana/route.php [ 301 ]
296 list($key, $param) = $match;297298 if ( ! isset($params[$param]))299 {300 // Ungrouped parameters are required301 throw new Kohana_Exception('Required route parameter not passed: :param',302 array(':param' => $param));303 }304305 $uri = str_replace($key, $params[$param], $uri);306 }
APPPATH/classes/url.php [ 36 ]» Kohana_Route->uri(arguments)
params
array(2)( "id" =>NULL "label" =>string(0) "" )
31 // return $protocol . 'images.' . str_replace('http://', '', url::base(FALSE,TRUE));32 return $protocol . str_replace('http://', '', url::base(FALSE,TRUE)).'images/';33 }3435 public static function route($route, $params = null) {36 return url::base(true, true) . Route::get($route)->uri($params);37 }3839 /**40 * Sprawdzenie czy podany seo_url juz istnieje41 * Jesli istnieje to wygenerowanie pokrewnego na zasadzie dolozenia z tylu podkreslenia
APPPATH/classes/model/brand.php [ 15 ]» URL::route(arguments)
route
string(10) "brand/show"
params
array(2)( "id" =>NULL "label" =>string(0) "" )
10 protected $_has_many = array(11 'categories' => array('model' => 'brandcat', 'foreign_key' => 'brand_id'),12 );1314 public function url() {15 return url::route('brand/show', array('id' => $this->brand_id, 'label' => url::title($this->name)));16 }1718 public $avatarPath = 'brands/';19 public $avatar2Path = 'brands_imgs/';20
APPPATH/views/brand/show.php [ 18 ]» Model_Brand->url()
13 <img src="<?php echo $brand->getAvatarUrl('x101'); ?>"/>14 <p><?php if((!preg_match('~,[\d]+,[\d]+,[\d]+$~Usmi',$_SERVER['REQUEST_URI']) or (preg_match('~,[\d]+,[\d]+,0$~Usmi',$_SERVER['REQUEST_URI'])) )) echo $brand->description(I18n::$lang); ?></p>15 </div>1617 <?php18 if( $wcurl = $brand->url() ){19 if( !empty($wcurl) && ($wcurl!=false) && ($wcurl!=NULL) ){20 echo '<!-- w canonical:[[['.$wcurl.']]] -->';21 }22 }23 ?>
SYSPATH/classes/kohana/view.php [ 49 ]» include(arguments)
0
string(71) "/home/laminart/public_html/laminart.pl/application/views/brand/show.php"
44 ob_start();4546 try47 {48 // Load the view within the current scope49 include $kohana_view_filename;50 }51 catch (Exception $e)52 {53 // Delete the output buffer54 ob_end_clean();
SYSPATH/classes/kohana/view.php [ 303 ]» Kohana_View::capture(arguments)
kohana_view_filename
string(71) "/home/laminart/public_html/laminart.pl/application/views/brand/show.php"
kohana_view_data
array(8)( "brand" =>objectModel_Brand(36)
{ protected _table_name =>string(5) "brand" protected _primary_key =>string(8) "brand_id" protected _belongs_to =>array(1)( "category" =>array(2)( "model" =>string(10) "productcat" "foreign_key" =>string(11) "category_id" ) )protected _has_many =>array(1)( "categories" =>array(4)( "model" =>string(8) "brandcat" "foreign_key" =>string(8) "brand_id" "through" =>NULL "far_key" =>string(11) "category_id" ) )public avatarPath =>string(7) "brands/" public avatar2Path =>string(12) "brands_imgs/" protected _has_one =>array(0)protected _load_with =>array(0)protected _validate =>NULLprotected _rules =>array(0)protected _callbacks =>array(0)protected _filters =>array(0)protected _labels =>array(0)protected _object =>array(7)( "brand_id" =>NULL "category_id" =>NULL "name" =>NULL "description_pl" =>NULL "description_en" =>NULL "description_ru" =>NULL "active" =>NULL )protected _changed =>array(0)protected _related =>array(0)protected _loaded =>bool FALSE protected _saved =>bool FALSE protected _sorting =>array(1)( "brand_id" =>string(3) "ASC" )protected _foreign_key_suffix =>string(3) "_id" protected _object_name =>string(5) "brand" protected _object_plural =>string(6) "brands" protected _table_columns =>array(7)( "brand_id" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(8) "brand_id" "column_default" =>NULL "data_type" =>string(3) "int" "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" ) "category_id" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(11) "category_id" "column_default" =>NULL "data_type" =>string(3) "int" "is_nullable" =>bool FALSE "ordinal_position" =>integer 2 "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "name" =>array(12)( "type" =>string(6) "string" "column_name" =>string(4) "name" "column_default" =>NULL "data_type" =>string(7) "varchar" "is_nullable" =>bool FALSE "ordinal_position" =>integer 3 "character_maximum_length" =>string(3) "255" "collation_name" =>string(18) "utf8mb3_general_ci" "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "description_pl" =>array(12)( "type" =>string(6) "string" "column_name" =>string(14) "description_pl" "column_default" =>NULL "data_type" =>string(7) "varchar" "is_nullable" =>bool FALSE "ordinal_position" =>integer 4 "character_maximum_length" =>string(4) "3000" "collation_name" =>string(18) "utf8mb3_general_ci" "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "description_en" =>array(12)( "type" =>string(6) "string" "column_name" =>string(14) "description_en" "column_default" =>NULL "data_type" =>string(7) "varchar" "is_nullable" =>bool FALSE "ordinal_position" =>integer 5 "character_maximum_length" =>string(4) "3000" "collation_name" =>string(18) "utf8mb3_general_ci" "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "description_ru" =>array(12)( "type" =>string(6) "string" "column_name" =>string(14) "description_ru" "column_default" =>NULL "data_type" =>string(7) "varchar" "is_nullable" =>bool FALSE "ordinal_position" =>integer 6 "character_maximum_length" =>string(4) "3000" "collation_name" =>string(18) "utf8mb3_general_ci" "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "active" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(6) "active" "column_default" =>NULL "data_type" =>string(3) "int" "is_nullable" =>bool FALSE "ordinal_position" =>integer 7 "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) )protected _ignored_columns =>array(0)protected _updated_column =>NULLprotected _created_column =>NULLprotected _primary_val =>string(4) "name" protected _table_names_plural =>bool TRUE protected _reload_on_wakeup =>bool TRUE protected _db =>objectDatabase_MySQLi(6)
"brandId" =>string(2) "28" "categoryId" =>NULL "brandCatId" =>string(3) "102" "category" =>objectModel_BrandCat(34){ protected _connection_id =>string(40) "963fafa64fbff0d1859eb17f83970de3c01735e4" protected _identifier =>string(1) "`" public last_query =>string(127) "SELECT `productcat`.* FROM `productcat` WHERE `productcat`.`category_id` = NULL ORDER BY `productcat`.`category_id` ASC LIMIT 1" protected _instance =>string(7) "default" protected _connection =>objectmysqli(19)
protected _db_applied =>array(0)protected _db_pending =>array(0)protected _db_reset =>bool TRUE protected _db_builder =>NULLprotected _with_applied =>array(0)protected _preload_data =>array(0) }{ public affected_rows =>NULLpublic client_info =>NULLpublic client_version =>NULLpublic connect_errno =>NULLpublic connect_error =>NULLpublic errno =>NULLpublic error =>NULLpublic error_list =>NULLpublic field_count =>NULLpublic host_info =>NULLpublic info =>NULLpublic insert_id =>NULLpublic server_info =>NULLpublic server_version =>NULLpublic stat =>NULLpublic sqlstate =>NULLpublic protocol_version =>NULLpublic thread_id =>NULLpublic warning_count =>NULL }
protected _config =>array(6)( "type" =>string(6) "mysqli" "connection" =>array(5)( "hostname" =>string(9) "localhost" "username" =>string(17) "laminart_database" "password" =>string(12) "rpQj8e*IBFZ-" "persistent" =>bool TRUE "database" =>string(17) "laminart_database" ) "table_prefix" =>string(0) "" "charset" =>string(4) "utf8" "caching" =>bool FALSE "profiling" =>bool TRUE ) }{ protected _table_name =>string(8) "brandcat" protected _primary_key =>string(11) "category_id" protected _belongs_to =>array(2)( "brand" =>array(2)( "model" =>string(5) "brand" "foreign_key" =>string(8) "brand_id" ) "parent" =>array(2)( "model" =>string(8) "brandcat" "foreign_key" =>string(9) "parent_id" ) )protected _has_many =>array(2)( "categories" =>array(4)( "model" =>string(8) "brandcat" "foreign_key" =>string(9) "parent_id" "through" =>NULL "far_key" =>string(11) "category_id" ) "products" =>array(4)( "model" =>string(7) "product" "foreign_key" =>string(11) "category_id" "through" =>NULL "far_key" =>string(10) "product_id" ) )protected _rules =>array(1)( "name" =>array(1)( "not_empty" =>NULL ) )protected _has_one =>array(0)protected _load_with =>array(0)protected _validate =>NULLprotected _callbacks =>array(0)protected _filters =>array(0)protected _labels =>array(0)protected _object =>array(8)( "category_id" =>string(3) "102" "parent_id" =>NULL "brand_id" =>NULL "name_pl" =>NULL "name_en" =>NULL "name_ru" =>NULL "order" =>NULL "active" =>NULL )protected _changed =>array(0)protected _related =>array(0)protected _loaded =>bool FALSE protected _saved =>bool TRUE protected _sorting =>array(1)( "category_id" =>string(3) "ASC" )protected _foreign_key_suffix =>string(3) "_id" protected _object_name =>string(8) "brandcat" protected _object_plural =>string(9) "brandcats" protected _table_columns =>array(8)( "category_id" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(11) "category_id" "column_default" =>NULL "data_type" =>string(3) "int" "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" ) "parent_id" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(9) "parent_id" "column_default" =>NULL "data_type" =>string(3) "int" "is_nullable" =>bool TRUE "ordinal_position" =>integer 2 "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(3) "MUL" "privileges" =>string(31) "select,insert,update,references" ) "brand_id" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(8) "brand_id" "column_default" =>NULL "data_type" =>string(3) "int" "is_nullable" =>bool FALSE "ordinal_position" =>integer 3 "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "name_pl" =>array(12)( "type" =>string(6) "string" "column_name" =>string(7) "name_pl" "column_default" =>NULL "data_type" =>string(7) "varchar" "is_nullable" =>bool FALSE "ordinal_position" =>integer 4 "character_maximum_length" =>string(3) "255" "collation_name" =>string(18) "utf8mb3_general_ci" "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "name_en" =>array(12)( "type" =>string(6) "string" "column_name" =>string(7) "name_en" "column_default" =>NULL "data_type" =>string(7) "varchar" "is_nullable" =>bool FALSE "ordinal_position" =>integer 5 "character_maximum_length" =>string(3) "255" "collation_name" =>string(18) "utf8mb3_general_ci" "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "name_ru" =>array(12)( "type" =>string(6) "string" "column_name" =>string(7) "name_ru" "column_default" =>NULL "data_type" =>string(7) "varchar" "is_nullable" =>bool FALSE "ordinal_position" =>integer 6 "character_maximum_length" =>string(3) "255" "collation_name" =>string(18) "utf8mb3_general_ci" "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "order" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(5) "order" "column_default" =>string(1) "0" "data_type" =>string(3) "int" "is_nullable" =>bool FALSE "ordinal_position" =>integer 7 "comment" =>string(0) "" "extra" =>string(0) "" "key" =>string(0) "" "privileges" =>string(31) "select,insert,update,references" ) "active" =>array(12)( "type" =>string(3) "int" "min" =>string(11) "-2147483648" "max" =>string(10) "2147483647" "column_name" =>string(6) "active" "column_default" =>NULL "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" ) )protected _ignored_columns =>array(0)protected _updated_column =>NULLprotected _created_column =>NULLprotected _primary_val =>string(4) "name" protected _table_names_plural =>bool TRUE protected _reload_on_wakeup =>bool TRUE protected _db =>objectDatabase_MySQLi(6)
"products" =>objectDatabase_MySQLi_Result(6){ protected _connection_id =>string(40) "963fafa64fbff0d1859eb17f83970de3c01735e4" protected _identifier =>string(1) "`" public last_query =>string(127) "SELECT `productcat`.* FROM `productcat` WHERE `productcat`.`category_id` = NULL ORDER BY `productcat`.`category_id` ASC LIMIT 1" protected _instance =>string(7) "default" protected _connection =>objectmysqli(19)
protected _db_applied =>array(0)protected _db_pending =>array(0)protected _db_reset =>bool TRUE protected _db_builder =>NULLprotected _with_applied =>array(0)protected _preload_data =>array(0) }{ public affected_rows =>NULLpublic client_info =>NULLpublic client_version =>NULLpublic connect_errno =>NULLpublic connect_error =>NULLpublic errno =>NULLpublic error =>NULLpublic error_list =>NULLpublic field_count =>NULLpublic host_info =>NULLpublic info =>NULLpublic insert_id =>NULLpublic server_info =>NULLpublic server_version =>NULLpublic stat =>NULLpublic sqlstate =>NULLpublic protocol_version =>NULLpublic thread_id =>NULLpublic warning_count =>NULL }
protected _config =>array(6)( "type" =>string(6) "mysqli" "connection" =>array(5)( "hostname" =>string(9) "localhost" "username" =>string(17) "laminart_database" "password" =>string(12) "rpQj8e*IBFZ-" "persistent" =>bool TRUE "database" =>string(17) "laminart_database" ) "table_prefix" =>string(0) "" "charset" =>string(4) "utf8" "caching" =>bool FALSE "profiling" =>bool TRUE ) }{ protected _internal_row =>integer 0 protected _query =>string(132) "SELECT `product`.* FROM `product` WHERE `category_id` = '102' AND `active` = 1 ORDER BY `product`.`product_id` ASC LIMIT 12 OFFS …" protected _result =>objectmysqli_result(5)
"pager" =>string(0) "" "global" =>array(0) ){ public current_field =>NULLpublic field_count =>NULLpublic lengths =>NULLpublic num_rows =>NULLpublic type =>NULL }
protected _total_rows =>integer 12 protected _current_row =>integer 0 protected _as_object =>string(13) "Model_Product" }298 {299 throw new Kohana_View_Exception('You must set the file to use within your view before rendering');300 }301302 // Combine local and global data and capture the output303 return View::capture($this->_file, $this->_data + View::$_global_data);304 }305306 }// End View
SYSPATH/classes/kohana/view.php [ 193 ]» Kohana_View->render()
188 */189 public function __toString()190 {191 try192 {193 return $this->render();194 }195 catch (Exception $e)196 {197 // Display the exception message198 Kohana::exception_handler($e);
APPPATH/views/_layouts/main.php [ 122 ]» Kohana_View->__toString()
117 }118 ?>119 <body id="<?php echo $bodyId; ?>">120 <div id=wrapper>121 <?php echo Partials::top(); ?>122 <?php echo $content; ?>123 <?php echo Partials::footer_menu(); ?>124 <?php echo ORM::factory('config', 5)->value; ?>125 </div> <!-- end of wrapper -->126127
APPPATH/views/_layouts/page.php [ 1 ]» include(arguments)
0
string(74) "/home/laminart/public_html/laminart.pl/application/views/_layouts/main.php"
1 <?php include 'main.php'; ?>
SYSPATH/classes/kohana/view.php [ 49 ]» include(arguments)
0
string(74) "/home/laminart/public_html/laminart.pl/application/views/_layouts/page.php"
44 ob_start();4546 try47 {48 // Load the view within the current scope49 include $kohana_view_filename;50 }51 catch (Exception $e)52 {53 // Delete the output buffer54 ob_end_clean();
SYSPATH/classes/kohana/view.php [ 303 ]» Kohana_View::capture(arguments)
kohana_view_filename
string(74) "/home/laminart/public_html/laminart.pl/application/views/_layouts/page.php"
kohana_view_data
array(3)( "global" =>array(0) "content" =>objectView(2)
{ protected _file =>string(71) "/home/laminart/public_html/laminart.pl/application/views/brand/show.php" protected _data =>array(8)( "brand" =>objectModel_Brand(36)
"title" =>NULL){ protected _table_name =>string(5) "brand" protected _primary_key =>string(8) "brand_id" protected _belongs_to =>array(1)( "category" =>array(2) ( ... ) )protected _has_many =>array(1)( "categories" =>array(4) ( ... ) )public avatarPath =>string(7) "brands/" public avatar2Path =>string(12) "brands_imgs/" protected _has_one =>array(0)protected _load_with =>array(0)protected _validate =>NULLprotected _rules =>array(0)protected _callbacks =>array(0)protected _filters =>array(0)protected _labels =>array(0)protected _object =>array(7)( "brand_id" =>NULL "category_id" =>NULL "name" =>NULL "description_pl" =>NULL "description_en" =>NULL "description_ru" =>NULL "active" =>NULL )protected _changed =>array(0)protected _related =>array(0)protected _loaded =>bool FALSE protected _saved =>bool FALSE protected _sorting =>array(1)( "brand_id" =>string(3) "ASC" )protected _foreign_key_suffix =>string(3) "_id" protected _object_name =>string(5) "brand" protected _object_plural =>string(6) "brands" protected _table_columns =>array(7)( "brand_id" =>array(12) ( ... ) "category_id" =>array(12) ( ... ) "name" =>array(12) ( ... ) "description_pl" =>array(12) ( ... ) "description_en" =>array(12) ( ... ) "description_ru" =>array(12) ( ... ) "active" =>array(12) ( ... ) )protected _ignored_columns =>array(0)protected _updated_column =>NULLprotected _created_column =>NULLprotected _primary_val =>string(4) "name" protected _table_names_plural =>bool TRUE protected _reload_on_wakeup =>bool TRUE protected _db =>objectDatabase_MySQLi(6)
"brandId" =>string(2) "28" "categoryId" =>NULL "brandCatId" =>string(3) "102" "category" =>objectModel_BrandCat(34){ protected _connection_id =>string(40) "963fafa64fbff0d1859eb17f83970de3c01735e4" protected _identifier =>string(1) "`" public last_query =>string(127) "SELECT `productcat`.* FROM `productcat` WHERE `productcat`.`category_id` = NULL ORDER BY `productcat`.`category_id` ASC LIMIT 1" protected _instance =>string(7) "default" protected _connection =>objectmysqli(19)
protected _db_applied =>array(0)protected _db_pending =>array(0)protected _db_reset =>bool TRUE protected _db_builder =>NULLprotected _with_applied =>array(0)protected _preload_data =>array(0) }{ public affected_rows =>NULLpublic client_info =>NULLpublic client_version =>NULLpublic connect_errno =>NULLpublic connect_error =>NULLpublic errno =>NULLpublic error =>NULLpublic error_list =>NULLpublic field_count =>NULLpublic host_info =>NULLpublic info =>NULLpublic insert_id =>NULLpublic server_info =>NULLpublic server_version =>NULLpublic stat =>NULLpublic sqlstate =>NULLpublic protocol_version =>NULLpublic thread_id =>NULLpublic warning_count =>NULL }
protected _config =>array(6) ( ... ) }{ protected _table_name =>string(8) "brandcat" protected _primary_key =>string(11) "category_id" protected _belongs_to =>array(2)( "brand" =>array(2) ( ... ) "parent" =>array(2) ( ... ) )protected _has_many =>array(2)( "categories" =>array(4) ( ... ) "products" =>array(4) ( ... ) )protected _rules =>array(1)( "name" =>array(1) ( ... ) )protected _has_one =>array(0)protected _load_with =>array(0)protected _validate =>NULLprotected _callbacks =>array(0)protected _filters =>array(0)protected _labels =>array(0)protected _object =>array(8)( "category_id" =>string(3) "102" "parent_id" =>NULL "brand_id" =>NULL "name_pl" =>NULL "name_en" =>NULL "name_ru" =>NULL "order" =>NULL "active" =>NULL )protected _changed =>array(0)protected _related =>array(0)protected _loaded =>bool FALSE protected _saved =>bool TRUE protected _sorting =>array(1)( "category_id" =>string(3) "ASC" )protected _foreign_key_suffix =>string(3) "_id" protected _object_name =>string(8) "brandcat" protected _object_plural =>string(9) "brandcats" protected _table_columns =>array(8)( "category_id" =>array(12) ( ... ) "parent_id" =>array(12) ( ... ) "brand_id" =>array(12) ( ... ) "name_pl" =>array(12) ( ... ) "name_en" =>array(12) ( ... ) "name_ru" =>array(12) ( ... ) "order" =>array(12) ( ... ) "active" =>array(12) ( ... ) )protected _ignored_columns =>array(0)protected _updated_column =>NULLprotected _created_column =>NULLprotected _primary_val =>string(4) "name" protected _table_names_plural =>bool TRUE protected _reload_on_wakeup =>bool TRUE protected _db =>objectDatabase_MySQLi(6)
"products" =>objectDatabase_MySQLi_Result(6){ protected _connection_id =>string(40) "963fafa64fbff0d1859eb17f83970de3c01735e4" protected _identifier =>string(1) "`" public last_query =>string(127) "SELECT `productcat`.* FROM `productcat` WHERE `productcat`.`category_id` = NULL ORDER BY `productcat`.`category_id` ASC LIMIT 1" protected _instance =>string(7) "default" protected _connection =>objectmysqli(19)
protected _db_applied =>array(0)protected _db_pending =>array(0)protected _db_reset =>bool TRUE protected _db_builder =>NULLprotected _with_applied =>array(0)protected _preload_data =>array(0) }{ public affected_rows =>NULLpublic client_info =>NULLpublic client_version =>NULLpublic connect_errno =>NULLpublic connect_error =>NULLpublic errno =>NULLpublic error =>NULLpublic error_list =>NULLpublic field_count =>NULLpublic host_info =>NULLpublic info =>NULLpublic insert_id =>NULLpublic server_info =>NULLpublic server_version =>NULLpublic stat =>NULLpublic sqlstate =>NULLpublic protocol_version =>NULLpublic thread_id =>NULLpublic warning_count =>NULL }
protected _config =>array(6) ( ... ) }{ protected _internal_row =>integer 0 protected _query =>string(132) "SELECT `product`.* FROM `product` WHERE `category_id` = '102' AND `active` = 1 ORDER BY `product`.`product_id` ASC LIMIT 12 OFFS …" protected _result =>objectmysqli_result(5)
"pager" =>string(0) "" "global" =>array(0) ) }{ public current_field =>NULLpublic field_count =>NULLpublic lengths =>NULLpublic num_rows =>NULLpublic type =>NULL }
protected _total_rows =>integer 12 protected _current_row =>integer 0 protected _as_object =>string(13) "Model_Product" }298 {299 throw new Kohana_View_Exception('You must set the file to use within your view before rendering');300 }301302 // Combine local and global data and capture the output303 return View::capture($this->_file, $this->_data + View::$_global_data);304 }305306 }// End View
SYSPATH/classes/kohana/view.php [ 193 ]» Kohana_View->render()
188 */189 public function __toString()190 {191 try192 {193 return $this->render();194 }195 catch (Exception $e)196 {197 // Display the exception message198 Kohana::exception_handler($e);
APPPATH/bootstrap.php [ 126 ]» Kohana_View->__toString()
121122 try {123 $request = Request::instance();124 $request->execute();125 $request->send_headers();126 echo $request->response;127 }catch (Exception $e) {128129 if (Kohana::$environment != Kohana::PRODUCTION) {130 throw $e;131 }else {
DOCROOT/index.php [ 99 ]» require(arguments)
0
string(64) "/home/laminart/public_html/laminart.pl/application/bootstrap.php"
94 { 95 // Load empty core extension 96 require SYSPATH.'classes/kohana'.EXT; 97 } 98 // Bootstrap the application 99 require APPPATH.'bootstrap'.EXT;