Catalogue

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => myaso
            [title] => Мясо
            [title_en] => Meat
            [parent_id] => 0
            [sort] => 1
            [is_active] => 1
            [is_new] => 1
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => myaso
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => myasnye-polufabrikaty
            [title] => Мясные полуфабрикаты
            [title_en] => Semi-finished meat
            [parent_id] => 0
            [sort] => 2
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => myasnye-polufabrikaty
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => myasnaya-gastronomiya
            [title] => Мясная гастрономия
            [title_en] => Meat delicatessen
            [parent_id] => 0
            [sort] => 3
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => myasnaya-gastronomiya
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => ryba-i-moreprodukty
            [title] => Рыба и морепродукты
            [title_en] => Fish and Seafood
            [parent_id] => 0
            [sort] => 4
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => ryba-i-moreprodukty
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => syry
            [title] => Сыры
            [title_en] => Cheese
            [parent_id] => 0
            [sort] => 5
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => syry
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => rastitel-nye-masla
            [title] => Растительные масла
            [title_en] => Vegetable oils
            [parent_id] => 0
            [sort] => 6
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => rastitel-nye-masla
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => molochnye-produkty-yayca
            [title] => Молочные продукты, яйца
            [title_en] => Milk products and eggs
            [parent_id] => 0
            [sort] => 6
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => molochnye-produkty-yayca
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => ovoschi-frukty-yagody-griby
            [title] => Овощи, фрукты, ягоды, грибы
            [title_en] => Vegetables, fruits, berries, mushrooms
            [parent_id] => 0
            [sort] => 7
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => ovoschi-frukty-yagody-griby
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => bakaleya-napitki
            [title] => Бакалея, напитки
            [title_en] => Grocery and drinks
            [parent_id] => 0
            [sort] => 8
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => bakaleya-napitki
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => sousy-i-uksusy
            [title] => Соусы и уксусы
            [title_en] => Sauces and spices
            [parent_id] => 0
            [sort] => 9
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => sousy-i-uksusy
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => konditerskie-izdeliya-morozhenoe
            [title] => Кондитерские изделия, мороженое
            [title_en] => Confectionery products, ice cream
            [parent_id] => 0
            [sort] => 10
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => konditerskie-izdeliya-morozhenoe
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

Sectors Object
(
    [type_] => Array
        (
            [0] => Пищевая продукция
            [1] => Непищевая продукция
        )

    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
        (
            [tableSchema] => CMysqlTableSchema Object
                (
                    [schemaName] => 
                    [name] => tbl_sectors
                    [rawName] => `tbl_sectors`
                    [primaryKey] => id
                    [sequenceName] => 
                    [foreignKeys] => Array
                        (
                        )

                    [columns] => Array
                        (
                            [id] => CMysqlColumnSchema Object
                                (
                                    [name] => id
                                    [rawName] => `id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 1
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title] => CMysqlColumnSchema Object
                                (
                                    [name] => title
                                    [rawName] => `title`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [title_en] => CMysqlColumnSchema Object
                                (
                                    [name] => title_en
                                    [rawName] => `title_en`
                                    [allowNull] => 
                                    [dbType] => varchar(64)
                                    [type] => string
                                    [defaultValue] => 
                                    [size] => 64
                                    [precision] => 64
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [parent_id] => CMysqlColumnSchema Object
                                (
                                    [name] => parent_id
                                    [rawName] => `parent_id`
                                    [allowNull] => 
                                    [dbType] => varchar(100)
                                    [type] => string
                                    [defaultValue] => 0
                                    [size] => 100
                                    [precision] => 100
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [sort] => CMysqlColumnSchema Object
                                (
                                    [name] => sort
                                    [rawName] => `sort`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_active] => CMysqlColumnSchema Object
                                (
                                    [name] => is_active
                                    [rawName] => `is_active`
                                    [allowNull] => 
                                    [dbType] => tinyint(1)
                                    [type] => integer
                                    [defaultValue] => 1
                                    [size] => 1
                                    [precision] => 1
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [is_new] => CMysqlColumnSchema Object
                                (
                                    [name] => is_new
                                    [rawName] => `is_new`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [type] => CMysqlColumnSchema Object
                                (
                                    [name] => type
                                    [rawName] => `type`
                                    [allowNull] => 
                                    [dbType] => int(11)
                                    [type] => integer
                                    [defaultValue] => 
                                    [size] => 11
                                    [precision] => 11
                                    [scale] => 
                                    [isPrimaryKey] => 
                                    [isForeignKey] => 
                                    [autoIncrement] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [columns] => Array
                (
                    [id] => CMysqlColumnSchema Object
                        (
                            [name] => id
                            [rawName] => `id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 1
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title] => CMysqlColumnSchema Object
                        (
                            [name] => title
                            [rawName] => `title`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [title_en] => CMysqlColumnSchema Object
                        (
                            [name] => title_en
                            [rawName] => `title_en`
                            [allowNull] => 
                            [dbType] => varchar(64)
                            [type] => string
                            [defaultValue] => 
                            [size] => 64
                            [precision] => 64
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [parent_id] => CMysqlColumnSchema Object
                        (
                            [name] => parent_id
                            [rawName] => `parent_id`
                            [allowNull] => 
                            [dbType] => varchar(100)
                            [type] => string
                            [defaultValue] => 0
                            [size] => 100
                            [precision] => 100
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sort] => CMysqlColumnSchema Object
                        (
                            [name] => sort
                            [rawName] => `sort`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_active] => CMysqlColumnSchema Object
                        (
                            [name] => is_active
                            [rawName] => `is_active`
                            [allowNull] => 
                            [dbType] => tinyint(1)
                            [type] => integer
                            [defaultValue] => 1
                            [size] => 1
                            [precision] => 1
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [is_new] => CMysqlColumnSchema Object
                        (
                            [name] => is_new
                            [rawName] => `is_new`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [type] => CMysqlColumnSchema Object
                        (
                            [name] => type
                            [rawName] => `type`
                            [allowNull] => 
                            [dbType] => int(11)
                            [type] => integer
                            [defaultValue] => 
                            [size] => 11
                            [precision] => 11
                            [scale] => 
                            [isPrimaryKey] => 
                            [isForeignKey] => 
                            [autoIncrement] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [relations] => Array
                (
                    [parent] => CBelongsToRelation Object
                        (
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => parent
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                    [sectors] => CHasManyRelation Object
                        (
                            [limit] => -1
                            [offset] => -1
                            [index] => 
                            [through] => 
                            [joinType] => LEFT OUTER JOIN
                            [on] => 
                            [alias] => 
                            [with] => Array
                                (
                                )

                            [together] => 
                            [name] => sectors
                            [className] => Sectors
                            [foreignKey] => parent_id
                            [select] => *
                            [condition] => 
                            [params] => Array
                                (
                                )

                            [group] => 
                            [join] => 
                            [having] => 
                            [order] => 
                            [_e:CComponent:private] => 
                            [_m:CComponent:private] => 
                        )

                )

            [attributeDefaults] => Array
                (
                    [parent_id] => 0
                    [is_active] => 1
                )

            [_model:CActiveRecordMetaData:private] => Sectors Object
                (
                    [type_] => Array
                        (
                            [0] => Пищевая продукция
                            [1] => Непищевая продукция
                        )

                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
 *RECURSION*
                    [_new:CActiveRecord:private] => 
                    [_attributes:CActiveRecord:private] => Array
                        (
                        )

                    [_related:CActiveRecord:private] => Array
                        (
                        )

                    [_c:CActiveRecord:private] => 
                    [_pk:CActiveRecord:private] => 
                    [_alias:CActiveRecord:private] => t
                    [_errors:CModel:private] => Array
                        (
                        )

                    [_validators:CModel:private] => 
                    [_scenario:CModel:private] => 
                    [_e:CComponent:private] => Array
                        (
                            [onafterconstruct] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterConstruct
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforevalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftervalidate] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterValidate
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforesave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onaftersave] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterSave
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforedelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterdelete] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterDelete
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onbeforefind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => beforeFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [onafterfind] => CList Object
                                (
                                    [_d:CList:private] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => PublishedBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [1] => Array
                                                (
                                                    [0] => SaveFileBehavior Object
                                                        (
                                                            [field_name] => 
                                                            [savelocation] => industries
                                                            [connection] => 
                                                            [postname] => 
                                                            [entity] => Sectors
                                                            [oneImage] => 1
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                            [2] => Array
                                                (
                                                    [0] => GetLastBehavior Object
                                                        (
                                                            [_enabled:CBehavior:private] => 1
                                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [1] => afterFind
                                                )

                                        )

                                    [_c:CList:private] => 3
                                    [_r:CList:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                    [_m:CComponent:private] => Array
                        (
                            [published] => PublishedBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [savefiles] => SaveFileBehavior Object
                                (
                                    [field_name] => 
                                    [savelocation] => industries
                                    [connection] => 
                                    [postname] => 
                                    [entity] => Sectors
                                    [oneImage] => 1
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [last] => GetLastBehavior Object
                                (
                                    [_enabled:CBehavior:private] => 1
                                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

        )

    [_new:CActiveRecord:private] => 
    [_attributes:CActiveRecord:private] => Array
        (
            [id] => hlebobulochnye-izdeliya
            [title] => Хлебобулочные изделия
            [title_en] => Bakery products
            [parent_id] => 0
            [sort] => 12
            [is_active] => 1
            [is_new] => 0
            [type] => 0
        )

    [_related:CActiveRecord:private] => Array
        (
        )

    [_c:CActiveRecord:private] => 
    [_pk:CActiveRecord:private] => hlebobulochnye-izdeliya
    [_alias:CActiveRecord:private] => t
    [_errors:CModel:private] => Array
        (
        )

    [_validators:CModel:private] => 
    [_scenario:CModel:private] => update
    [_e:CComponent:private] => Array
        (
            [onafterconstruct] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterConstruct
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforevalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftervalidate] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterValidate
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforesave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onaftersave] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterSave
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforedelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterdelete] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterDelete
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onbeforefind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => beforeFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [onafterfind] => CList Object
                (
                    [_d:CList:private] => Array
                        (
                            [0] => Array
                                (
                                    [0] => PublishedBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [1] => Array
                                (
                                    [0] => SaveFileBehavior Object
                                        (
                                            [field_name] => 
                                            [savelocation] => industries
                                            [connection] => 
                                            [postname] => 
                                            [entity] => Sectors
                                            [oneImage] => 1
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                            [2] => Array
                                (
                                    [0] => GetLastBehavior Object
                                        (
                                            [_enabled:CBehavior:private] => 1
                                            [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [1] => afterFind
                                )

                        )

                    [_c:CList:private] => 3
                    [_r:CList:private] => 
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

    [_m:CComponent:private] => Array
        (
            [published] => PublishedBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [savefiles] => SaveFileBehavior Object
                (
                    [field_name] => 
                    [savelocation] => industries
                    [connection] => 
                    [postname] => 
                    [entity] => Sectors
                    [oneImage] => 1
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

            [last] => GetLastBehavior Object
                (
                    [_enabled:CBehavior:private] => 1
                    [_owner:CBehavior:private] => Sectors Object
 *RECURSION*
                    [_e:CComponent:private] => 
                    [_m:CComponent:private] => 
                )

        )

)

New products

Все новые товары