Class Informationsystem_Item_Import_Csv_Controller
Information systems import CSV controller
- Core_Servant_Properties
- Informationsystem_Item_Import_Csv_Controller
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at informationsystem/item/import/csv/controller.php
Methods summary
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
public
|
|
protected
Informationsystem_Group
|
|
public
|
|
protected
array
|
|
public
string
|
|
public
array
|
|
public
|
|
public
array
|
|
public
|
#
__wakeup( )
Reestablish any database connections that may have been lost during serialization and perform other reinitialization tasks |
public static
array
|
#
CorrectToEncoding( array $sLine, string $encodeTo, string $encodeFrom = 'UTF-8' )
Correct CSV-line encoding |
Methods inherited from Core_Servant_Properties
__call()
,
__get()
,
__isset()
,
__set()
,
addAllowedProperties()
,
addAllowedProperty()
,
set()
,
setUnlimitedProperties()
Properties summary
protected
array
|
$_aInsertedGroupIDs
Array of inserted groups |
#
array()
|
protected
array
|
$_aClearedPropertyValues
Array of property values |
#
array()
|
protected
array
|
$_aUpdatedGroupIDs
Array of updated groups |
#
array()
|
protected
array
|
$_aInsertedItemIDs
Array of inserted items |
#
array()
|
protected
array
|
$_aUpdatedItemIDs
Array of updated items |
#
array()
|
protected
integer
|
$_iCurrentInformationsystemId
ID of current informationsystem |
#
0
|
protected
integer
|
$_iCurrentGroupId
ID of current group |
#
0
|
protected
|
$_oCurrentInformationsystem
Current informationsystem |
|
protected
|
$_oCurrentGroup
Current group |
|
protected
|
$_oCurrentItem
Current item |
|
protected
string
|
$_sCurrentTags
Current tags |
|
protected
array
|
$_aExternalPropertiesSmall
List of small parts of external properties |
#
array()
|
protected
array
|
$_aExternalPropertiesDesc
List of descriptions of external properties |
#
array()
|
protected
array
|
$_aExternalProperties
List of external properties |
#
array()
|
protected
array
|
$_aAdditionalGroups
List of additional group |
#
array()
|
protected
array
|
$_allowedProperties
Allowed object properties |
#
array(
// Кодировка импорта
'encoding',
// Файл импорта
'file',
// Позиция в файле импорта
'seek',
// Ограничение импорта по времени
'time',
// Ограничение импорта по количеству
'step',
// Настройка CSV: разделитель
'separator',
// Настройка CSV: ограничитель
'limiter',
// Настройка CSV: первая строка - название полей
'firstlineheader',
// Настройка CSV: массив соответствий полей CSV сущностям системы HostCMS
'csv_fields',
// Путь к картинкам
'imagesPath',
// Действие с существующими информационными элементами:
// 1 - обновить существующие информационные элементы
// 2 - не обновлять существующие информационные элементы
// 3 - удалить содержимое информационной системы до импорта
'importAction',
// Флаг, указывающий, включена ли индексация
'searchIndexation',
'deleteImage'
)
|
protected
integer
|
$_InsertedItemsCount
Count of inserted items |
|
protected
integer
|
$_UpdatedItemsCount
Count of updated items |
|
protected
integer
|
$_InsertedGroupsCount
Count of inserted groups |
|
protected
integer
|
$_UpdatedGroupsCount
Count of updated groups |
|
protected
string
|
$_sBigImageFile
Path of the big image |
#
''
|
protected
string
|
$_sSmallImageFile
Path of the small image |
#
''
|
protected
array
|
$_aConfig
CSV config |
#
NULL
|
protected
|
$_aTags
Array of cached tags |
#
NULL
|