Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo fix

  • Loading branch information...
commit 1d901079a18af162f4f387a866517207d4a2dd41 1 parent f1a7adc
@lsmith77 lsmith77 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/slides/slides.html
View
4 doc/slides/slides.html
@@ -288,7 +288,7 @@ <h2 style="text-align:center">About PHPCR</h2><br/>
<pre class="brush: php">
$node = $session->getNode('/site/content');
- foreach ($node->getChildren() as $child) {
+ foreach ($node->getNodes() as $child) {
var_dump($child->getName());
}
@@ -298,7 +298,7 @@ <h2 style="text-align:center">About PHPCR</h2><br/>
}
// filter on node names
- foreach ($node->getChildren('di*') as $child) {
+ foreach ($node->getNodes('di*') as $child) {
var_dump($child->getName());
}
</pre>
Please sign in to comment.
Something went wrong with that request. Please try again.