Editor PHP 2.4.0

RecursiveDirectoryIterator extends RecursiveDirectoryIterator
in package

Extends the \RecursiveDirectoryIterator to support relative paths.

Tags
author

Victor Berchet victor@suumit.com

extends

Table of Contents

Methods

__construct()  : mixed
current()  : SplFileInfo
Return an instance of SplFileInfo with support for relative paths.
getChildren()  : RecursiveDirectoryIterator
hasChildren()  : bool
next()  : void
rewind()  : void

Methods

__construct()

public __construct(string $path, int $flags[, bool $ignoreUnreadableDirs = false ]) : mixed
Parameters
$path : string
$flags : int
$ignoreUnreadableDirs : bool = false
Tags
throws
RuntimeException

hasChildren()

public hasChildren([bool $allowLinks = false ]) : bool
Parameters
$allowLinks : bool = false
Return values
bool

        
On this page

Search results