Commit Graph

47 Commits

Author SHA1 Message Date
Marcus Boerger
1b6598618b - Fix docu 2006-03-26 00:22:03 +00:00
Marcus Boerger
54c4478a12 - 2006 now 2006-02-21 23:21:53 +00:00
Marcus Boerger
4c5fb5fc50 - Fix docu 2006-01-05 19:00:01 +00:00
Antony Dovgal
891059b089 more spelling fixes 2005-12-18 21:00:59 +00:00
Marcus Boerger
033ffc206d - Add new example directorytree_size.php
- Improve SplFileInfo:
  . add function getFilename()
  . add function getPath()
-Improve RecursiveTreeIterator
  . add const BYPASS_CURRENT to bypass current instead of getting its
    string representation
  . make key() return the parent key() which calls inner iterators key()
- Improve RecursiveDirectoryIterator
  . add consts CURRENT_AS_FILEINFO, KEY_AS_FILENAME, NEW_CURRENT_AND_KEY
  . make current() return getFilename() or getFileInfo() depending on flags
  . make key()     return getPathname() or getFilename() depending on flags
- Improve DirectoryIterator
  . make __construct() accept flags as second parameter
- Update docu
2005-10-08 18:57:17 +00:00
Marcus Boerger
a964956aa1 - Update 2005-10-03 10:17:02 +00:00
Marcus Boerger
b1fc84f584 - Fix issue with RecursiveArrayIterator::getChildren() 2005-10-03 09:12:39 +00:00
Marcus Boerger
7e1763a115 - Implement RecursiveIteratorIterator::setMaxDepth()/getMaxDepth() 2005-09-25 12:01:31 +00:00
Marcus Boerger
02038b4ac4 - Rename 'CachingRecursiveIterator' to 'RecursiveCachingIterator' so that
all of those follow the naming scheme 'Recursive<*>Iterator'
2005-09-18 16:51:24 +00:00
Marcus Boerger
445e382454 - Move RecursiveArrayIterator into .c
- Add ability to control iterator class of ArrayObject
- Implement option to make CachingIterator cache all read elements
- Implement ArrayAccess to CachingIterator to access cached elements
- Update docu
- Update tests
2005-09-18 11:34:36 +00:00
Marcus Boerger
50301ddc98 - Rename file class again by popular demmand: calling it SplFileObject now
# Any other idea about the name? Or should i come up with a renaming plan
# for the upcoming versions? :-)
2005-09-15 14:07:39 +00:00
Marcus Boerger
5f437cd590 - Changed in version 5.1 2005-09-15 03:52:58 +00:00
Marcus Boerger
8aa7f36a3b - Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
2005-09-15 03:31:37 +00:00
Marcus Boerger
5deac4859e - Add missing docu tag 2005-09-04 18:57:21 +00:00
Marcus Boerger
4cba6ac94d - Update docu 2005-09-04 18:51:50 +00:00
Marcus Boerger
a826dd2918 - Fix docu 2005-09-02 19:16:43 +00:00
Marcus Boerger
03136fc95d - Update docu 2005-09-02 19:15:30 +00:00
Marcus Boerger
20de5cc091 - Implement SplObjectStorage as announced during OSCON
# This class starts naming of new classes in Spl by prefix Spl as dicussed.
# The class reduces object storage complexity from O(n) to O(1) which is
# not possible in user space.
2005-08-10 21:56:01 +00:00
Marcus Boerger
9e38d04a7c - Add RecursiveFilterIterator
- Derive ParentIterator from RecursiveIterator
# Actually brought up by a user. It is of course better to filter first and
# do the recursion only for accepted values. Otherwise you would iterate
# children and possibly recurse into them just to ignore them later anyway.
2005-08-10 19:48:48 +00:00
Marcus Boerger
fb5f1b7fad - Update version info 2005-08-02 00:00:41 +00:00
Marcus Boerger
0b34e041e3 - Before we later run into BC trouble we split flags into two params mode
and flags now before branching for 5.1.
2005-07-28 21:09:02 +00:00
Marcus Boerger
a935b06236 - Fix issues with iterators and excpetions
# update documentation
#
# In 5.2 we need to implement an event handler onException() to be invoked
# on exceptions during getChildren() calls. Its default implementation
# would simply rethrow the exception if the flag is not set and delete if
# if it was set. To do so the exceptions refcount needs to be increased
# before calling zend_clear_exception() to keep the exception alive but
# clear the control information.
#
# As a side note this is alos the easy solution to allow multi exception
# handling: Simply clear the engine's exception info and add a property
# called $previousException to the base exception and assign it from the
# already pending one.
2005-07-27 22:19:01 +00:00
Johannes Schlüter
f2fab902c4 fix typos 2005-06-16 21:27:51 +00:00
Marcus Boerger
ae35d25940 - Update 2005-05-30 20:10:38 +00:00
Marcus Boerger
626d781afd - Execute both RecursiveIteratorIterator::beginChildren() and endChildren()
on the same level (while the actual child is available).
2005-05-14 16:40:58 +00:00
Marcus Boerger
d6d9b15ef7 - Add another note 2005-05-03 22:28:44 +00:00
Marcus Boerger
177ea26dc1 - Make line counting work with FileObject::fgetc()
- Add a test for FileObject::fgetc()
- Update docs
2005-05-03 22:18:19 +00:00
Marcus Boerger
4f3b12b3fd - Rename class File to FileObject
# by popular demand
2005-04-14 21:02:09 +00:00
Marcus Boerger
5880260c78 - Update docu 2005-03-12 23:21:41 +00:00
Marcus Boerger
6f668d4978 - Fix extension to be .inc 2005-03-12 23:05:03 +00:00
Marcus Boerger
b79e8759fc Add documentation 2005-03-09 03:07:07 +00:00
Marcus Boerger
f33adafab7 - Update docu 2005-03-01 23:44:05 +00:00
Marcus Boerger
e0c445d9b1 - Update docu 2005-02-23 01:34:14 +00:00
Marcus Boerger
80af3ac83d - Add version information 2005-02-17 00:24:57 +00:00
Marcus Boerger
2e8b9c005b - Update to 2005 2005-02-08 19:10:06 +00:00
Marcus Boerger
e5fe40eac9 - Actually these are private 2005-02-08 19:00:19 +00:00
Marcus Boerger
3b7e24cab2 - Add RecursiveIteratorIterator::beginChildren(), endChildren() 2004-11-01 22:54:12 +00:00
Marcus Boerger
4dbf6a530d - Update docu 2004-11-01 18:11:39 +00:00
Marcus Boerger
b9470609ad - Minor fixes
- Implement AppendIterator in C
2004-11-01 00:26:59 +00:00
Marcus Boerger
9626e9859a - Implement EmptyIterator in C 2004-10-31 20:59:39 +00:00
Marcus Boerger
b87f16bfbe - Update docu 2004-10-31 19:51:34 +00:00
Marcus Boerger
de3a8ea3e1 - Implement InfiniteIterator in C 2004-10-31 19:49:18 +00:00
Marcus Boerger
081dac3026 - Update docu 2004-10-31 19:05:37 +00:00
Marcus Boerger
90012aa3cc - Implement classes IteratorIterator and NoRewindIterator in C 2004-10-31 18:43:00 +00:00
Marcus Boerger
b67ca452c3 - Update docu 2004-10-29 20:58:58 +00:00
Marcus Boerger
208a97a221 - Implement OuterIterator in C 2004-10-29 20:12:57 +00:00
Marcus Boerger
a6feb3f405 - Update examples
- Update documentation
- Move classes/interfaces already implemented in c to new subdir internal
2004-05-08 12:24:15 +00:00