Since: 8.4

class DtdNamedNodeMap implements IteratorAggregate, Countable (View source)

Properties

int $length

Methods

item(int $index)

No description

getNamedItem(string $qualifiedName)

No description

getNamedItemNS(string|null $namespace, string $localName)

No description

int
count()

Count elements of an object

getIterator()

No description

Details

Entity|Notation|null item(int $index)

No description

Parameters

int $index

Return Value

Entity|Notation|null

Entity|Notation|null getNamedItem(string $qualifiedName)

No description

Parameters

string $qualifiedName

Return Value

Entity|Notation|null

Entity|Notation|null getNamedItemNS(string|null $namespace, string $localName)

No description

Parameters

string|null $namespace
string $localName

Return Value

Entity|Notation|null

int count()

Count elements of an object

Return Value

int

The custom count as an integer.

The return value is cast to an integer.

Traversable getIterator()

No description

Return Value

Traversable

An instance of an object implementing Iterator or Traversable