Documentation

clsXml_Array
in package

This is the function that has been used for xml conversion to array.

Table of Contents

$arrOutput  : mixed
It is the output.
$resParser  : mixed
It is for the parser.
$strXmlData  : mixed
It is for the string xml data.
parse()  : array<string|int, mixed>
This function is used to parse str into xml.
tagClosed()  : mixed
This function has been used for tag closed.
tagData()  : mixed
This function has been used for tag data.
tagOpen()  : mixed
This function has been used to open tag.

Properties

$arrOutput

It is the output.

public mixed $arrOutput = array()

as arrOutput.

$resParser

It is for the parser.

public mixed $resParser

as resParser.

$strXmlData

It is for the string xml data.

public mixed $strXmlData

as strXmlData.

Methods

parse()

This function is used to parse str into xml.

public parse(string $strInputXML) : array<string|int, mixed>
Parameters
$strInputXML : string

is the strInputXML.

Return values
array<string|int, mixed>

as response of the function.

tagClosed()

This function has been used for tag closed.

public tagClosed(array<string|int, mixed> $parser, array<string|int, mixed> $name) : mixed
Parameters
$parser : array<string|int, mixed>

denotes parser.

$name : array<string|int, mixed>

is the name.

Return values
mixed

tagData()

This function has been used for tag data.

public tagData(array<string|int, mixed> $parser, array<string|int, mixed> $tagData) : mixed
Parameters
$parser : array<string|int, mixed>

denotes parser.

$tagData : array<string|int, mixed>

is the tagData.

Return values
mixed

tagOpen()

This function has been used to open tag.

public tagOpen(array<string|int, mixed> $parser, array<string|int, mixed> $name, array<string|int, mixed> $attrs) : mixed
Parameters
$parser : array<string|int, mixed>

denotes parser.

$name : array<string|int, mixed>

is the name.

$attrs : array<string|int, mixed>

is the attrs.

Return values
mixed

Search results