[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/includes/vendor/spatie/array-to-xml/src/ -> ArrayToXml.php (summary)

(no description)

File Size: 323 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ArrayToXml:: (21 methods):
  __construct()
  setNumericTagNamePrefix()
  convert()
  toXml()
  toDom()
  ensureValidDomProperties()
  setDomProperties()
  prettify()
  dropXmlDeclaration()
  addProcessingInstruction()
  convertElement()
  addNumericNode()
  addNode()
  convertNodeValue()
  addNodeTypeAttribute()
  addCollectionNode()
  addSequentialNode()
  isArrayAllKeySequential()
  addAttributes()
  createRootElement()
  removeControlCharacters()


Class: ArrayToXml  - X-Ref

__construct(array $array,string | array $rootElement = '',bool $replaceSpacesByUnderScoresInKeyNames = true,string | null $xmlEncoding = null,string $xmlVersion = '1.0',array $domProperties = [],bool | null $xmlStandalone = null,bool $addXmlDeclaration = true,array | null $options = ['convertNullToXsiNil' => false, 'convertBoolToString' => false])   X-Ref
No description

setNumericTagNamePrefix(string $prefix)   X-Ref
No description

convert(array $array,$rootElement = '',bool $replaceSpacesByUnderScoresInKeyNames = true,?string $xmlEncoding = null,string $xmlVersion = '1.0',array $domProperties = [],?bool $xmlStandalone = null,bool $addXmlDeclaration = true,array $options = ['convertNullToXsiNil' => false])   X-Ref
No description

toXml($options = 0)   X-Ref
No description

toDom()   X-Ref
No description

ensureValidDomProperties(array $domProperties)   X-Ref
No description

setDomProperties(array $domProperties)   X-Ref
No description

prettify()   X-Ref
No description

dropXmlDeclaration()   X-Ref
No description

addProcessingInstruction(string $target, string $data)   X-Ref
No description

convertElement(DOMElement $element, mixed $value)   X-Ref
No description

addNumericNode(DOMElement $element, mixed $value)   X-Ref
No description

addNode(DOMElement $element, string $key, mixed $value)   X-Ref
No description

convertNodeValue(DOMElement $element, mixed $value)   X-Ref
No description

addNodeTypeAttribute(DOMElement $element, mixed $value)   X-Ref
No description

addCollectionNode(DOMElement $element, mixed $value)   X-Ref
No description

addSequentialNode(DOMElement $element, mixed $value)   X-Ref
No description

isArrayAllKeySequential(array | string | null $value)   X-Ref
No description

addAttributes(DOMElement $element, array $data)   X-Ref
No description

createRootElement(string|array $rootElement)   X-Ref
No description

removeControlCharacters(string $value)   X-Ref
No description



Generated: Tue Jan 6 05:10:29 2026 Cross-referenced by PHPXref 0.7.1