Interface MOXMAN_Vfs_IFileFilter

Implemented byMOXMAN_Vfs_BasicFileFilter, MOXMAN_Vfs_CombinedFileFilter

This interface is to be implemented by any file filter used to filter away files from file listings for example.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
accept() Returns true or false if the file is accepted or not. MOXMAN_Vfs_IFileFilter
isEmpty() Returns true/false if the filter is empty or not. MOXMAN_Vfs_IFileFilter

Method Details

accept() public abstract method

Returns true or false if the file is accepted or not.

public abstract Boolean accept ( MOXMAN_Vfs_IFile $file, $isFile true )
$file MOXMAN_Vfs_IFile

File to grant or deny.

$isFile Boolean

Default state if the filter is on an non existing file.

return Boolean

True/false if the file is accepted or not.

isEmpty() public abstract method

Returns true/false if the filter is empty or not.

public abstract boolean isEmpty ( )
return boolean

True/false if the filter is empty or not.