class XdmValue (View source)

Methods

getHead()

Get the first item in the sequence

itemAt(int $index)

Get the n'th item in the value, counting from zero

int
size()

Get the number of items in the sequence

addXdmItem(XdmItem $item)

Add item to the sequence at the end.

Details

XdmItem getHead()

Get the first item in the sequence

Return Value

XdmItem

XdmItem itemAt(int $index)

Get the n'th item in the value, counting from zero

Parameters

int $index

Return Value

XdmItem

int size()

Get the number of items in the sequence

Return Value

int

addXdmItem(XdmItem $item)

Add item to the sequence at the end.

Parameters

XdmItem $item