Interface MOXMAN_Vfs_IFileFilter
Implemented by | MOXMAN_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
Method | Description | Defined 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
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. |
---|
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. |
---|