Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Jan 18, 2012
1 parent f1a7adc commit 1d90107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/slides/slides.html
Expand Up @@ -288,7 +288,7 @@ <h2>Tree API</h2>
<pre class="brush: php"> <pre class="brush: php">
$node = $session->getNode('/site/content'); $node = $session->getNode('/site/content');


foreach ($node->getChildren() as $child) { foreach ($node->getNodes() as $child) {
var_dump($child->getName()); var_dump($child->getName());
} }


Expand All @@ -298,7 +298,7 @@ <h2>Tree API</h2>
} }


// filter on node names // filter on node names
foreach ($node->getChildren('di*') as $child) { foreach ($node->getNodes('di*') as $child) {
var_dump($child->getName()); var_dump($child->getName());
} }
</pre> </pre>
Expand Down

0 comments on commit 1d90107

Please sign in to comment.