Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Traverser.php

function Traverser::children

Walk through all the nodes on a node list.

Parameters

\DOMNodeList $nl A list of child elements to walk through.:

1 call to Traverser::children()
Traverser::walk in vendor/masterminds/html5/src/HTML5/Serializer/Traverser.php
Tell the traverser to walk the DOM.

File

vendor/masterminds/html5/src/HTML5/Serializer/Traverser.php, line 119

Class

Traverser
Traverser for walking a DOM tree.

Namespace

Masterminds\HTML5\Serializer

Code

public function children($nl) {
    foreach ($nl as $node) {
        $this->node($node);
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal