diff options
| author | Marcus Boerger <helly@php.net> | 2004-03-08 17:33:31 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-03-08 17:33:31 +0000 |
| commit | b6b7c9eb6521f75955e285036e901a6b11ec86b5 (patch) | |
| tree | 973bf6a45c6d14a1d7623ec92916c8ad226f2d84 /ext/spl/examples/searchiterator.inc | |
| parent | c3b06ea21e12981f02f4da2ac0cb5d2499ff4bb5 (diff) | |
| download | php-git-b6b7c9eb6521f75955e285036e901a6b11ec86b5.tar.gz | |
Rename hasMore() to valid() as discussed. (Part I)
Diffstat (limited to 'ext/spl/examples/searchiterator.inc')
| -rwxr-xr-x | ext/spl/examples/searchiterator.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/examples/searchiterator.inc b/ext/spl/examples/searchiterator.inc index 1ce5a2eebd..a9ba9df171 100755 --- a/ext/spl/examples/searchiterator.inc +++ b/ext/spl/examples/searchiterator.inc @@ -9,8 +9,8 @@ abstract class SearchIterator extends FilterIterator $this->done = false; } - function hasMore() { - return !$this->done && parent::hasMore(); + function valid() { + return !$this->done && parent::valid(); } function next() { |
