---
title: childNodes
---

```php
childNodes ( [ int $idx = -1 ] ) : mixed
```

| Parameter | Description
| --------- | -----------
| `idx`     | Index of the node to return or `-1` to return all nodes.

Returns all or one specific child node from the current node.