Zend\Dom\Document\NodeList
DOMNodeList wrapper for Zend\Dom\Document\Query results
Synopsis
class NodeList
implements
Iterator,Countable,ArrayAccess
{
- // methods
- public void __construct()
- public DOMNode rewind()
- public bool valid()
- public DOMNode current()
- public int key()
- public DOMNode next()
- public int count()
- public bool offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
Hierarchy
Implements
Members
protected
- $list — DOMNodeList
- $position
—
int
Current iterator position
Methods
public
- __construct() — Constructor
- count() — Countable: get count
- current() — Iterator: return current element
- key() — Iterator: return key of current element
- next() — Iterator: move to next element
- offsetExists() — ArrayAccess: offset exists
- offsetGet() — ArrayAccess: get offset
- offsetSet() — ArrayAccess: set offset
- offsetUnset() — ArrayAccess: unset offset
- rewind() — Iterator: rewind to first element
- valid() — Iterator: is current position valid?