From 7dc322754a698bb716ebb6fcdfb8b8842e12d918 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 5 Mar 2006 17:39:49 +0000 Subject: - Fix issues with not/double calling of constructors of SPL iterators - Fix issues with info-class/file-class in SPL directory handling classes - Add SimpleXMLElement::count() - Drop erroneous RecursiveDirectoryIterator::getSubPathInfo() - Drop dead code - Add tests - Update docu --- ext/spl/spl.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'ext/spl/spl.php') diff --git a/ext/spl/spl.php b/ext/spl/spl.php index 4ba58fceb4..f704e044ba 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -887,8 +887,8 @@ class SplFileInfo */ function setFileClass(string class_name = "SplFileObject"); - /** @param class_name name of class used with getFileInfo(), getPathInfo(), - * getSubPathInfo(). Must be derived from SplFileInfo. + /** @param class_name name of class used with getFileInfo(), getPathInfo(). + * Must be derived from SplFileInfo. */ function setInfoClass(string class_name = "SplFileInfo"); } @@ -971,13 +971,6 @@ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveI /** @return the current sub path */ function getSubPathname(); - - /** @return SplFileInfo created for the current sub path - * @param class_name name of class to instantiate - * @see SplFileInfo::setInfoClass() - */ - function getSubPathInfo(string $class_name = NULL); - } /** @ingroup SPL -- cgit v1.2.1