From 95c0c36525320be1425fbdf4eddf4aa3ae9681d8 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 22 Nov 2003 20:52:06 +0000 Subject: [PATCH] Add missing files --- ext/spl/examples/directorygraphiterator.inc | 11 +++++++++++ ext/spl/examples/parentiterator.inc | 21 +++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 ext/spl/examples/directorygraphiterator.inc create mode 100644 ext/spl/examples/parentiterator.inc diff --git a/ext/spl/examples/directorygraphiterator.inc b/ext/spl/examples/directorygraphiterator.inc new file mode 100644 index 00000000000..190aba92eeb --- /dev/null +++ b/ext/spl/examples/directorygraphiterator.inc @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/ext/spl/examples/parentiterator.inc b/ext/spl/examples/parentiterator.inc new file mode 100644 index 00000000000..74299eeb2fa --- /dev/null +++ b/ext/spl/examples/parentiterator.inc @@ -0,0 +1,21 @@ +it->hasChildren(); + } + + function hasChildren() + { + return $this->it->hasChildren(); + } + + function getChildren() + { + return new ParentIterator($this->it->getChildren()); + } +} + +?> \ No newline at end of file