PHP Classes & Interfaces


Name: DirectoryIterator

Date: May-25-2017
PHP version: 5.3.3
Type: Internal

class DirectoryIterator extends SplFileInfo implements Iterator, Traversable, SeekableIterator

Public Methods

public __construct ( $path )

public getFilename ( )

public getBasename ( $suffix )

public isDot ( )

public rewind ( )

public valid ( )

public key ( )

public current ( )

public next ( )

public seek ( $position )

public __toString ( )

public getPath ( )

public getPathname ( )

public getPerms ( )

public getInode ( )

public getSize ( )

public getOwner ( )

public getGroup ( )

public getATime ( )

public getMTime ( )

public getCTime ( )

public getType ( )

public isWritable ( )

public isReadable ( )

public isExecutable ( )

public isFile ( )

public isDir ( )

public isLink ( )

public getLinkTarget ( )

public getRealPath ( )

public getFileInfo ( $class_name )

public getPathInfo ( $class_name )

public openFile ( $open_mode, $use_include_path, $context )

public setFileClass ( $class_name )

public setInfoClass ( $class_name )