1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CIBlockXMLFile

Открытые члены

 __construct ($table_name="b_xml_tree")
 StartSession ($sess_id)
 GetSessionRoot ()
 EndSession ()
 GetRoot ()
 initializeTemporaryTables ()
 truncateTemporaryTables ()
 DropTemporaryTables ()
 CreateTemporaryTables ($with_sess_id=false)
 IsExistTemporaryTable ()
 isTableStructureCorrect ($withSessId=false)
 GetCountItemsWithParent ($parentID)
 IndexTemporaryTables ($with_sess_id=false)
 Add ($arFields)
 GetFilePosition ()
 ReadXMLToDatabase ($fp, &$NS, $time_limit=0, $read_size=1024)
 _get_xml_chunk ($fp)
 _get_xml_chunk_mb_orig ($fp)
 _get_xml_chunk_mb ($fp)
 _start_element ($xmlChunk)
 _end_element ($xmlChunk)
 GetAllChildrenArray ($arParent, $handleAttributes=false)
 GetList ($arOrder=array(), $arFilter=array(), $arSelect=array(), $handleAttributes=false)
 Delete ($ID)

Открытые статические члены

static UnZip ($file_name, $last_zip_entry="", $start_time=0, $interval=0)

Поля данных

const UNPACK_STATUS_ERROR = -1
const UNPACK_STATUS_CONTINUE = 1
const UNPACK_STATUS_FINAL = 2
 $_table_name = ""
 $_sessid = ""
 $charset = false
 $element_stack = []
 $file_position = 0
 $read_size = 10240
 $buf = ""
 $buf_position = 0
 $buf_len = 0

Подробное описание

См. определение в файле cml2.php строка 9

Конструктор(ы)

◆ __construct()

__construct ( $table_name = "b_xml_tree")

См. определение в файле cml2.php строка 26

Методы

◆ _end_element()

_end_element ( $xmlChunk)

См. определение в файле cml2.php строка 748

◆ _get_xml_chunk()

_get_xml_chunk ( $fp)

Internal function. Used to read an xml by chunks started with "<" and endex with "<"

Аргументы
resource$fp
Возвращает
bool|string

См. определение в файле cml2.php строка 445

◆ _get_xml_chunk_mb()

_get_xml_chunk_mb ( $fp)

Internal function. Used to read an xml by chunks started with "<" and endex with "<"

Аргументы
resource$fp
Возвращает
bool|string

См. определение в файле cml2.php строка 585

◆ _get_xml_chunk_mb_orig()

_get_xml_chunk_mb_orig ( $fp)

Internal function. Used to read an xml by chunks started with "<" and endex with "<"

Аргументы
resource$fp
Возвращает
bool|string

См. определение в файле cml2.php строка 515

◆ _start_element()

_start_element ( $xmlChunk)

См. определение в файле cml2.php строка 651

◆ Add()

Add ( $arFields)

См. определение в файле cml2.php строка 318

◆ CreateTemporaryTables()

CreateTemporaryTables ( $with_sess_id = false)

См. определение в файле cml2.php строка 159

◆ Delete()

Delete ( $ID)

См. определение в файле cml2.php строка 931

◆ DropTemporaryTables()

DropTemporaryTables ( )

См. определение в файле cml2.php строка 147

◆ EndSession()

EndSession ( )

См. определение в файле cml2.php строка 73

◆ GetAllChildrenArray()

GetAllChildrenArray ( $arParent,
$handleAttributes = false )

См. определение в файле cml2.php строка 774

◆ GetCountItemsWithParent()

GetCountItemsWithParent ( $parentID)

См. определение в файле cml2.php строка 258

◆ GetFilePosition()

GetFilePosition ( )

См. определение в файле cml2.php строка 356

◆ GetList()

GetList ( $arOrder = array(),
$arFilter = array(),
$arSelect = array(),
$handleAttributes = false )

См. определение в файле cml2.php строка 850

◆ GetRoot()

GetRoot ( )

См. определение в файле cml2.php строка 91

◆ GetSessionRoot()

GetSessionRoot ( )

См. определение в файле cml2.php строка 65

◆ IndexTemporaryTables()

IndexTemporaryTables ( $with_sess_id = false)

См. определение в файле cml2.php строка 286

◆ initializeTemporaryTables()

initializeTemporaryTables ( )

См. определение в файле cml2.php строка 99

◆ IsExistTemporaryTable()

IsExistTemporaryTable ( )

См. определение в файле cml2.php строка 218

◆ isTableStructureCorrect()

isTableStructureCorrect ( $withSessId = false)

См. определение в файле cml2.php строка 234

◆ ReadXMLToDatabase()

ReadXMLToDatabase ( $fp,
& $NS,
$time_limit = 0,
$read_size = 1024 )

См. определение в файле cml2.php строка 374

◆ StartSession()

StartSession ( $sess_id)

См. определение в файле cml2.php строка 31

◆ truncateTemporaryTables()

truncateTemporaryTables ( )

См. определение в файле cml2.php строка 129

◆ UnZip()

UnZip ( $file_name,
$last_zip_entry = "",
$start_time = 0,
$interval = 0 )
static
См. также
CIBlockXMLFile::safeUnZip
Аргументы
$file_name
$last_zip_entry
$start_time
$interval
Возвращает
bool|string

См. определение в файле cml2.php строка 1045

Поля

◆ $_sessid

$_sessid = ""

См. определение в файле cml2.php строка 15

◆ $_table_name

$_table_name = ""

См. определение в файле cml2.php строка 14

◆ $buf

$buf = ""

См. определение в файле cml2.php строка 22

◆ $buf_len

$buf_len = 0

См. определение в файле cml2.php строка 24

◆ $buf_position

$buf_position = 0

См. определение в файле cml2.php строка 23

◆ $charset

$charset = false

См. определение в файле cml2.php строка 17

◆ $element_stack

$element_stack = []

См. определение в файле cml2.php строка 18

◆ $file_position

$file_position = 0

См. определение в файле cml2.php строка 19

◆ $read_size

$read_size = 10240

См. определение в файле cml2.php строка 21

◆ UNPACK_STATUS_CONTINUE

const UNPACK_STATUS_CONTINUE = 1

См. определение в файле cml2.php строка 12

◆ UNPACK_STATUS_ERROR

const UNPACK_STATUS_ERROR = -1

См. определение в файле cml2.php строка 11

◆ UNPACK_STATUS_FINAL

const UNPACK_STATUS_FINAL = 2

См. определение в файле cml2.php строка 13


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/iblock/classes/mysql/cml2.php