# 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.

## Remarks

This function is a wrapper for [`children`](../children/)