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

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

 registerNodeHandler ($nodePath, $callableHandler)
 registerElementHandler ($nodePath, $callableHandler)
 openFile ($filePath)
 endOfFile ()
 getPosition ()
 setPosition ($position)
 findNext ()
 readFilePart ($startPosition, $endPosition)

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

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

Методы

◆ endOfFile()

endOfFile ( )

Returns true when end of the file is reached.

Возвращает
bool

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

◆ findNext()

findNext ( )

Processes file futher. Returns true when there is more work to do. False on the end of file.

Возвращает
bool

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

◆ getPosition()

getPosition ( )

Returns current position state needed to continue file parsing process on the next hit.

Возвращает
array[int]string

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

◆ openFile()

openFile ( $filePath)

Opens file by its absolute path. Returns true on success.

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

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

◆ readFilePart()

readFilePart ( $startPosition,
$endPosition )

Reads part of the file preserving its position

Аргументы
int$startPosition
int$endPosition
Возвращает
string|false

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

◆ registerElementHandler()

registerElementHandler ( $nodePath,
$callableHandler )

Registers a handler function which will be called on xml parsed path with path and attributes

Аргументы
string$nodePath
mixed$callableHandler
Возвращает
void

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

◆ registerNodeHandler()

registerNodeHandler ( $nodePath,
$callableHandler )

Registers a handler function which will be called on xml parsed path with CDataXML object as a parameter

Аргументы
string$nodePath
mixed$callableHandler
Возвращает
void

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

◆ setPosition()

setPosition ( $position)

Sets the position state returned by getPosition method.

Аргументы
string[][]$position
Возвращает
void

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


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