PHP Classes & Interfaces


Name: GlobIterator

Date: Jul-24-2017
PHP version: 5.3.3
Type: Internal

class GlobIterator extends FilesystemIterator implements Iterator, Traversable, SeekableIterator, Countable

Public Methods

public __construct ( $path, $flags )

public count ( )

public rewind ( )

public next ( )

public key ( )

public current ( )

public getFlags ( )

public setFlags ( $flags )

public getFilename ( )

public getBasename ( $suffix )

public isDot ( )

public valid ( )

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 )

Constants

const CURRENT_MODE_MASK = 240

const CURRENT_AS_PATHNAME = 32

const CURRENT_AS_FILEINFO = 0

const CURRENT_AS_SELF = 16

const KEY_MODE_MASK = 3840

const KEY_AS_PATHNAME = 0

const FOLLOW_SYMLINKS = 512

const KEY_AS_FILENAME = 256

const NEW_CURRENT_AND_KEY = 256

const SKIP_DOTS = 4096

const UNIX_PATHS = 8192