Bitrix API

Xml extends Body

AbstractYes

Table of Contents

Constants

BODY_NODE_NAME  = 'body'
DOCUMENT_NODE_NAME  = 'document'

Methods

appendXmlToNode()  : mixed
getBodyNodeName()  : string
getDocumentContentNodes()  : DOMNodeList
getDocumentNodeName()  : string
getDomDocument()  : DOMDocument
getFileExtension()  : string
getFileMimeType()  : string
getMainPrefix()  : string
getNamespaces()  : array<string|int, mixed>
getPlaceholders()  : array<string|int, mixed>
getRandomId()  : string
getValidXmlWithContent()  : string
getXPath()  : DOMXPath
insertXmlBeforeNode()  : mixed
isFileProcessable()  : mixed

Constants

BODY_NODE_NAME

public mixed BODY_NODE_NAME = 'body'

DOCUMENT_NODE_NAME

public mixed DOCUMENT_NODE_NAME = 'document'

Methods

appendXmlToNode()

public static appendXmlToNode(string $xml, DOMDocument $document, DOMNode $node) : mixed
Parameters
$xml : string
$document : DOMDocument
$node : DOMNode

getBodyNodeName()

public static getBodyNodeName([string $mainPrefix = '' ]) : string
Parameters
$mainPrefix : string = ''
Return values
string

getDocumentContentNodes()

public static getDocumentContentNodes(DOMDocument $document[, string $prefix = '' ]) : DOMNodeList
Parameters
$document : DOMDocument
$prefix : string = ''
Return values
DOMNodeList

getDocumentNodeName()

public static getDocumentNodeName([string $mainPrefix = '' ]) : string
Parameters
$mainPrefix : string = ''
Return values
string

getDomDocument()

public getDomDocument() : DOMDocument
Return values
DOMDocument

getFileExtension()

public getFileExtension() : string
Return values
string

getFileMimeType()

public getFileMimeType() : string
Return values
string

getMainPrefix()

public static getMainPrefix() : string
Return values
string

getNamespaces()

public static getNamespaces() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPlaceholders()

public getPlaceholders() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRandomId()

public static getRandomId([string $prefix = '' ][, bool $insert = false ]) : string
Parameters
$prefix : string = ''
$insert : bool = false
Return values
string

getValidXmlWithContent()

public static getValidXmlWithContent([string $content = '' ][, string $mainPrefix = '' ][, array<string|int, mixed> $namespaces = [] ]) : string
Parameters
$content : string = ''
$mainPrefix : string = ''
$namespaces : array<string|int, mixed> = []
Return values
string

getXPath()

public getXPath() : DOMXPath
Return values
DOMXPath

insertXmlBeforeNode()

public static insertXmlBeforeNode(string $xml, DOMDocument $document, DOMNode $node) : mixed
Parameters
$xml : string
$document : DOMDocument
$node : DOMNode

isFileProcessable()

public isFileProcessable() : mixed

        
On this page

Search results