src/wcmf/lib/model/NodeIterator.php
protected function addToQueue($nodeList) {
    for ($i=sizeof($nodeList)-1; $i>=0; $i--) {
      if ($nodeList[$i] instanceof Node) {
        $this->nodeList[] = $nodeList[$i];
      }
    }
  }
protected function addToQueue($nodeList) {
    for ($i=sizeof($nodeList)-1; $i>=0; $i--) {
      if ($nodeList[$i] instanceof Node) {
        $this->nodeList[] = $nodeList[$i];
      }
    }
  }
protected function addToQueue ( $ nodeList ) { for ( $ i = sizeof ( $ nodeList ) - 1 ; $ i >= 0 ; $ i -- ) { if ( $ nodeList [ $ i ] instanceof Node ) { $ this -> nodeList [ ] = $ nodeList [ $ i ] ; } } }
Add nodes to the processing queue.
@param $nodeList An array of nodes.
Add nodes to the processing queue .