MODPATH/kohana-3.3-mysqli-master/classes/Database/MySQLi.php [ 174 ]
169 {
170 // This benchmark is worthless
171 Profiler::delete($benchmark);
172 }
173
174 throw new Database_Exception(':error [ :query ]',
175 array(':error' => mysqli_error($this->_connection), ':query' => $sql),
176 mysqli_errno($this->_connection));
177 }
178
179 if (isset($benchmark))
-
APPPATH/classes/Database/Query.php [ 95 ] » Database_MySQLi->query(arguments)
0
integer 1
1
string(1183) "SELECT `catalog`.`id_category` AS `id_category`, `catalog`.`name` AS `name`, `catalog`.`id` AS `id_catalog_c`, `catalog`.`descri …"
2
bool FALSE
3
array(0)
90 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 91 } 92 } 93 94 // Execute the query 95 $result = $db->query($this->_type, $sql, $as_object, $object_params); 96 97 if (isset($cache_key) AND $this->_lifetime > 0) 98 { 99 // Cache the result array 100 if( $table_name )
-
MODPATH/orm/classes/Kohana/ORM.php [ 1069 ] » Database_Query->execute(arguments)
0
object Database_MySQLi(6)
{ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }1064 return $result; 1065 } 1066 else 1067 { 1068 // Load the result as an associative array 1069 $result = $this->_db_builder->as_assoc()->execute($this->_db); 1070 1071 $this->reset(); 1072 1073 if ($result->count() === 1) 1074 {
-
MODPATH/orm/classes/Kohana/ORM.php [ 976 ] » Kohana_ORM->_load_result(arguments)
0
bool FALSE
971 } 972 } 973 974 $this->_build(Database::SELECT); 975 976 return $this->_load_result(FALSE); 977 } 978 979 /** 980 * Finds multiple database rows and returns an iterator of the rows found. 981 *
-
APPPATH/classes/Controller/Site/Catalog.php [ 57 ] » Kohana_ORM->find()
52 } 53 54 public function action_index() 55 { 56 $alias = $this->request->param('alias', null); 57 $item = ORM::factory('ItemCatalog')->where('alias', '=', $alias)->find(); 58 59 if( ! $item->loaded() ) Throw HTTP_Exception::factory(404, 'Не удалось найти товар'); 60 61 $category = $item->catalog->categoryCatalog; 62
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site_Catalog->action_index()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Site_Catalog(12)
{ protected _el_link => array(0) protected _el_link_layer => array(0) protected _crumb => NULL protected _item_info => NULL protected _category => NULL protected _meta_info => NULL public template => object View(2)
{ protected _file => string(79) "/home/admin/web/teleland.by/public_html/application/views/site/v_main_layer.php" protected _data => array(7) ( "title" => string(0) "" "description" => string(0) "" "keywords" => string(0) "" "active_categories" => array(0) "body_class_controller" => string(78) "content-v1 product lang_en patternnone layout-full header-v1 secondImage-0" "body_id_controller" => string(7) "product" "active_category" => object Model_Category(41)
protected cache => object Cache_Sqlite(2){ protected _table_name => string(8) "category" protected _errors => array(0) protected _warnings => array(0) protected _image_utils => NULL protected _categoryTypes => object CategoryTypes(7)
) }{ protected _main => object Model_CategoriesTypes(37)
protected _has_many => array(13) ( "categoryImg" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(14) "categoryimg_id" "model" => string(11) "CategoryImg" ) "materials" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(11) "material_id" "model" => string(8) "Material" ) "catalogParamGroup" => array(4) ( "foreign_key" => string(11) "id_category" "through" => string(24) "category_m2m_param_group" "far_key" => string(22) "id_catalog_param_group" "model" => string(17) "CatalogParamGroup" ) "tags" => array(4) ( "foreign_key" => string(11) "id_category" "through" => string(17) "tags_m2m_category" "far_key" => string(7) "id_tags" "model" => string(4) "Tags" ) "itemsGroup" => array(4) ( "foreign_key" => string(11) "id_category" "through" => string(24) "category_m2m_items_group" "far_key" => string(13) "id_item_group" "model" => string(10) "ItemsGroup" ) "categoryM2mItemsGroup" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(24) "categorym2mitemsgroup_id" "model" => string(21) "CategoryM2mItemsGroup" ) "categoryElementsLinks" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(23) "categoryelementslink_id" "model" => string(21) "CategoryElementsLinks" ) "urlCpu" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(9) "urlcpu_id" "model" => string(6) "UrlCpu" ) "categoryJgridSettings" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(23) "categoryjgridsetting_id" "model" => string(21) "CategoryJgridSettings" ) "categoryFieldsBase" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(21) "categoryfieldsbase_id" "model" => string(18) "CategoryFieldsBase" ) "categoryFieldsText" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(21) "categoryfieldstext_id" "model" => string(18) "CategoryFieldsText" ) "catalogs" => array(4) ( "foreign_key" => string(11) "id_category" "through" => NULL "far_key" => string(10) "catalog_id" "model" => string(7) "Catalog" ) "galeries" => array(4) ( "foreign_key" => string(18) "id_galery_category" "through" => NULL "far_key" => string(9) "galery_id" "model" => string(6) "Galery" ) ) protected _belongs_to => array(3) ( "category_type" => array(2) ( "foreign_key" => string(19) "id_navigation_types" "model" => string(15) "CategoriesTypes" ) "type_view" => array(2) ( "foreign_key" => string(12) "id_type_view" "model" => string(8) "TypeView" ) "itemsGroup" => array(2) ( "foreign_key" => string(13) "ig_group_item" "model" => string(10) "ItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4){ protected _table_name => string(16) "categories_types" protected _reload_on_wakeup => bool FALSE protected _has_many => array(4) ( "category" => array(4) ( "foreign_key" => string(19) "id_navigation_types" "through" => NULL "far_key" => string(11) "category_id" "model" => string(8) "Category" ) "categoryTypesLinks" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(20) "categorytypeslink_id" "model" => string(18) "CategoryTypesLinks" ) "typeView" => array(4) ( "foreign_key" => string(18) "id_navigation_type" "through" => NULL "far_key" => string(11) "typeview_id" "model" => string(8) "TypeView" ) "categoryTypesItemsGroup" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(26) "categorytypesitemsgroup_id" "model" => string(23) "CategoryTypesItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4)
protected _catalogs => object Model_CategoriesTypes(37){ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => string(1) "1" "name" => string(33) "Главная категория" "url" => string(0) "" "allow_create" => string(1) "0" "alias" => string(17) "id_type_view_main" "type_name" => string(4) "main" ) protected _changed => array(0) protected _original_values => array(6) ( "id" => string(1) "1" "name" => string(33) "Главная категория" "url" => string(0) "" "allow_create" => string(1) "0" "alias" => string(17) "id_type_view_main" "type_name" => string(4) "main" ) 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(15) "categoriestypes" protected _object_plural => string(17) "categoriestypeses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allow_create" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(12) "allow_create" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "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(1) "0" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "type_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "1" protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(15) "categoriestypes" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(16) "categories_types" protected _reload_on_wakeup => bool FALSE protected _has_many => array(4) ( "category" => array(4) ( "foreign_key" => string(19) "id_navigation_types" "through" => NULL "far_key" => string(11) "category_id" "model" => string(8) "Category" ) "categoryTypesLinks" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(20) "categorytypeslink_id" "model" => string(18) "CategoryTypesLinks" ) "typeView" => array(4) ( "foreign_key" => string(18) "id_navigation_type" "through" => NULL "far_key" => string(11) "typeview_id" "model" => string(8) "TypeView" ) "categoryTypesItemsGroup" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(26) "categorytypesitemsgroup_id" "model" => string(23) "CategoryTypesItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4)
protected _materials => object Model_CategoriesTypes(37){ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => string(1) "2" "name" => string(36) "Категория с товаром" "url" => string(8) "catalogs" "allow_create" => string(1) "1" "alias" => string(21) "id_type_view_catalogs" "type_name" => string(8) "catalogs" ) protected _changed => array(0) protected _original_values => array(6) ( "id" => string(1) "2" "name" => string(36) "Категория с товаром" "url" => string(8) "catalogs" "allow_create" => string(1) "1" "alias" => string(21) "id_type_view_catalogs" "type_name" => string(8) "catalogs" ) 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(15) "categoriestypes" protected _object_plural => string(17) "categoriestypeses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allow_create" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(12) "allow_create" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "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(1) "0" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "type_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "2" protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(15) "categoriestypes" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(16) "categories_types" protected _reload_on_wakeup => bool FALSE protected _has_many => array(4) ( "category" => array(4) ( "foreign_key" => string(19) "id_navigation_types" "through" => NULL "far_key" => string(11) "category_id" "model" => string(8) "Category" ) "categoryTypesLinks" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(20) "categorytypeslink_id" "model" => string(18) "CategoryTypesLinks" ) "typeView" => array(4) ( "foreign_key" => string(18) "id_navigation_type" "through" => NULL "far_key" => string(11) "typeview_id" "model" => string(8) "TypeView" ) "categoryTypesItemsGroup" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(26) "categorytypesitemsgroup_id" "model" => string(23) "CategoryTypesItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4)
protected _galeries => object Model_CategoriesTypes(37){ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => string(1) "3" "name" => string(40) "Категория со статьями" "url" => string(9) "materials" "allow_create" => string(1) "1" "alias" => string(21) "id_type_view_material" "type_name" => string(9) "materials" ) protected _changed => array(0) protected _original_values => array(6) ( "id" => string(1) "3" "name" => string(40) "Категория со статьями" "url" => string(9) "materials" "allow_create" => string(1) "1" "alias" => string(21) "id_type_view_material" "type_name" => string(9) "materials" ) 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(15) "categoriestypes" protected _object_plural => string(17) "categoriestypeses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allow_create" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(12) "allow_create" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "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(1) "0" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "type_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "3" protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(15) "categoriestypes" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(16) "categories_types" protected _reload_on_wakeup => bool FALSE protected _has_many => array(4) ( "category" => array(4) ( "foreign_key" => string(19) "id_navigation_types" "through" => NULL "far_key" => string(11) "category_id" "model" => string(8) "Category" ) "categoryTypesLinks" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(20) "categorytypeslink_id" "model" => string(18) "CategoryTypesLinks" ) "typeView" => array(4) ( "foreign_key" => string(18) "id_navigation_type" "through" => NULL "far_key" => string(11) "typeview_id" "model" => string(8) "TypeView" ) "categoryTypesItemsGroup" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(26) "categorytypesitemsgroup_id" "model" => string(23) "CategoryTypesItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4)
protected _main_layer => object Model_CategoriesTypes(37){ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => string(1) "4" "name" => string(40) "Категория с галереями" "url" => string(8) "galeries" "allow_create" => string(1) "1" "alias" => string(21) "id_type_view_galeries" "type_name" => string(8) "galeries" ) protected _changed => array(0) protected _original_values => array(6) ( "id" => string(1) "4" "name" => string(40) "Категория с галереями" "url" => string(8) "galeries" "allow_create" => string(1) "1" "alias" => string(21) "id_type_view_galeries" "type_name" => string(8) "galeries" ) 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(15) "categoriestypes" protected _object_plural => string(17) "categoriestypeses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allow_create" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(12) "allow_create" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "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(1) "0" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "type_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "4" protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(15) "categoriestypes" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(16) "categories_types" protected _reload_on_wakeup => bool FALSE protected _has_many => array(4) ( "category" => array(4) ( "foreign_key" => string(19) "id_navigation_types" "through" => NULL "far_key" => string(11) "category_id" "model" => string(8) "Category" ) "categoryTypesLinks" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(20) "categorytypeslink_id" "model" => string(18) "CategoryTypesLinks" ) "typeView" => array(4) ( "foreign_key" => string(18) "id_navigation_type" "through" => NULL "far_key" => string(11) "typeview_id" "model" => string(8) "TypeView" ) "categoryTypesItemsGroup" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(26) "categorytypesitemsgroup_id" "model" => string(23) "CategoryTypesItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4)
protected _group_items => object Model_CategoriesTypes(37){ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => string(1) "5" "name" => string(23) "Главный слой" "url" => string(0) "" "allow_create" => string(1) "0" "alias" => string(23) "id_type_view_main_layer" "type_name" => string(10) "main_layer" ) protected _changed => array(0) protected _original_values => array(6) ( "id" => string(1) "5" "name" => string(23) "Главный слой" "url" => string(0) "" "allow_create" => string(1) "0" "alias" => string(23) "id_type_view_main_layer" "type_name" => string(10) "main_layer" ) 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(15) "categoriestypes" protected _object_plural => string(17) "categoriestypeses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allow_create" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(12) "allow_create" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "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(1) "0" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "type_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "5" protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(15) "categoriestypes" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(16) "categories_types" protected _reload_on_wakeup => bool FALSE protected _has_many => array(4) ( "category" => array(4) ( "foreign_key" => string(19) "id_navigation_types" "through" => NULL "far_key" => string(11) "category_id" "model" => string(8) "Category" ) "categoryTypesLinks" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(20) "categorytypeslink_id" "model" => string(18) "CategoryTypesLinks" ) "typeView" => array(4) ( "foreign_key" => string(18) "id_navigation_type" "through" => NULL "far_key" => string(11) "typeview_id" "model" => string(8) "TypeView" ) "categoryTypesItemsGroup" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(26) "categorytypesitemsgroup_id" "model" => string(23) "CategoryTypesItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4)
public _layer => object Model_CategoriesTypes(37){ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => string(1) "6" "name" => string(51) "Категория с группой товаров" "url" => string(5) "group" "allow_create" => string(1) "1" "alias" => string(24) "id_type_view_group_items" "type_name" => string(11) "group_items" ) protected _changed => array(0) protected _original_values => array(6) ( "id" => string(1) "6" "name" => string(51) "Категория с группой товаров" "url" => string(5) "group" "allow_create" => string(1) "1" "alias" => string(24) "id_type_view_group_items" "type_name" => string(11) "group_items" ) 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(15) "categoriestypes" protected _object_plural => string(17) "categoriestypeses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allow_create" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(12) "allow_create" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "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(1) "0" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "type_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "6" protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(15) "categoriestypes" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(16) "categories_types" protected _reload_on_wakeup => bool FALSE protected _has_many => array(4) ( "category" => array(4) ( "foreign_key" => string(19) "id_navigation_types" "through" => NULL "far_key" => string(11) "category_id" "model" => string(8) "Category" ) "categoryTypesLinks" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(20) "categorytypeslink_id" "model" => string(18) "CategoryTypesLinks" ) "typeView" => array(4) ( "foreign_key" => string(18) "id_navigation_type" "through" => NULL "far_key" => string(11) "typeview_id" "model" => string(8) "TypeView" ) "categoryTypesItemsGroup" => array(4) ( "foreign_key" => string(19) "id_categories_types" "through" => NULL "far_key" => string(26) "categorytypesitemsgroup_id" "model" => string(23) "CategoryTypesItemsGroup" ) ) protected _clean_save_value => bool TRUE protected _no_clean_field => array(0) protected _command => object OrmModelCommand(4)
}{ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => string(1) "7" "name" => string(37) "Дополнительный слой" "url" => string(0) "" "allow_create" => string(1) "1" "alias" => string(18) "id_type_view_layer" "type_name" => string(5) "layer" ) protected _changed => array(0) protected _original_values => array(6) ( "id" => string(1) "7" "name" => string(37) "Дополнительный слой" "url" => string(0) "" "allow_create" => string(1) "1" "alias" => string(18) "id_type_view_layer" "type_name" => string(5) "layer" ) 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(15) "categoriestypes" protected _object_plural => string(17) "categoriestypeses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allow_create" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(12) "allow_create" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "1" "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(1) "0" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "type_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "7" protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(15) "categoriestypes" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ private _classes => array(0) private _methods => array(0) private _args => array(0) protected _errors => array(0) }
protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(20) ( "id" => string(1) "1" "left_key" => string(1) "1" "right_key" => string(4) "2480" "level" => string(1) "0" "id_navigation_types" => string(1) "1" "ig_group_item" => NULL "url" => string(4) "main" "page_title" => string(51) "Климатическое оборудование" "description" => string(19) "Новый сайт" "meta_keywords" => string(0) "" "active" => string(1) "1" "id_type_view" => string(1) "4" "crumb" => string(1) "1" "accept_mat" => string(1) "0" "description_text" => string(0) "" "mini_description_text" => string(0) "" "ico" => string(0) "" "layer_delegate" => string(1) "1" "name" => string(14) "Главная" "meta_h1" => string(89) "Teleland.by - интернет-магазин выгодных цен! (Телелэнд)" ) protected _changed => array(0) protected _original_values => array(20) ( "id" => string(1) "1" "left_key" => string(1) "1" "right_key" => string(4) "2480" "level" => string(1) "0" "id_navigation_types" => string(1) "1" "ig_group_item" => NULL "url" => string(4) "main" "page_title" => string(51) "Климатическое оборудование" "description" => string(19) "Новый сайт" "meta_keywords" => string(0) "" "active" => string(1) "1" "id_type_view" => string(1) "4" "crumb" => string(1) "1" "accept_mat" => string(1) "0" "description_text" => string(0) "" "mini_description_text" => string(0) "" "ico" => string(0) "" "layer_delegate" => string(1) "1" "name" => string(14) "Главная" "meta_h1" => string(89) "Teleland.by - интернет-магазин выгодных цен! (Телелэнд)" ) 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_columns => array(18) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "left_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "left_key" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "right_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "right_key" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "level" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "level" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_navigation_types" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(19) "id_navigation_types" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ig_group_item" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(13) "ig_group_item" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "page_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "page_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "active" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_type_view" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(12) "id_type_view" "column_default" => string(1) "1" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "crumb" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(5) "crumb" "column_default" => string(1) "1" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "accept_mat" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(10) "accept_mat" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(16) "description_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "mini_description_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(21) "mini_description_text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ico" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "ico" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "layer_delegate" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(14) "layer_delegate" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "1" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "dd55f8583ace0bf25099f4a48055b162c6e8439d" protected _identifier => string(1) "`" public last_query => string(1012) "SELECT `category_fields_base`.`name` AS `name`, `category_fields_base`.`meta_h1` AS `meta_h1`, `category`.`id` AS `id`, `categor …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(8) "category" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(6) ( "hostname" => string(9) "localhost" "database" => string(14) "admin_teleland" "port" => NULL "socket" => NULL "persistent" => bool FALSE "variables" => array(1) ( "optimizer_switch" => string(17) "derived_merge=off" ) ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _db => object PDO(0)
protected _navigation => array(0) public auto_render => bool TRUE public request => object Request(19){ }
protected _config => array(4) ( "driver" => string(6) "sqlite" "default_expire" => integer 3600 "database" => string(75) "/home/admin/web/teleland.by/public_html/application/cache/kohana-cache.sql3" "schema" => string(99) "CREATE TABLE caches(id VARCHAR(127) PRIMARY KEY, tags VARCHAR(255), expiration INTEGER, cache TEXT)" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(15) "catalog/<alias>" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "Site" "controller" => string(7) "Catalog" "action" => string(5) "index" ) protected _route_regex => string(37) "#^catalog/(?P<alias>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(24) "catalog/nasos-dgm-bp-05d" protected _external => bool FALSE protected _params => array(1) ( "alias" => string(16) "nasos-dgm-bp-05d" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(15) "catalog/<alias>" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "Site" "controller" => string(7) "Catalog" "action" => string(5) "index" ) protected _route_regex => string(37) "#^catalog/(?P<alias>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(24) "catalog/nasos-dgm-bp-05d" protected _external => bool FALSE protected _params => array(1) ( "alias" => string(16) "nasos-dgm-bp-05d" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }109 $orig_response = $response = Response::factory(); 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 [ 992 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(15) "catalog/<alias>" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "Site" "controller" => string(7) "Catalog" "action" => string(5) "index" ) protected _route_regex => string(37) "#^catalog/(?P<alias>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(24) "catalog/nasos-dgm-bp-05d" protected _external => bool FALSE protected _params => array(1) ( "alias" => string(16) "nasos-dgm-bp-05d" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}987 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 988 ':uri' => $this->_uri, 989 )); 990 } 991 992 return $this->_client->execute($this); 993 } 994 995 /** 996 * Returns whether this request is the initial request Kohana received. 997 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 124 ] » Kohana_Request->execute()
119 /** 120 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 121 * If no source is specified, the URI will be automatically detected. 122 */ 123 echo Request::factory(TRUE, array(), FALSE) 124 ->execute() 125 ->send_headers(TRUE) 126 ->body(); 127 } 128 129