apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: File_Archive_Predicate

Source Location: /File_Archive-1.5.5/File/Archive/Predicate.php

Class Overview


A predicate is an object that can evaluate to true or false depending on the file currently read by a File_Archive_Reader


Author(s):

Methods


Child classes:

File_Archive_Predicate_Current
Evaluates to true only once, and then always to false
File_Archive_Predicate_Extension
Keep only the files that have a specific extension
File_Archive_Predicate_MinTime
Keep only the files modified after a given date (or with unknown modification date)
File_Archive_Predicate_MinSize
Keep only the files larger than a given size
File_Archive_Predicate_Eregi
Keep only the files which name follow a given case insensitive regular expression
File_Archive_Predicate_False
Always evaluate to false
File_Archive_Predicate_Not
Evaluates to true iif the predicate given in parameter evaluates to false
File_Archive_Predicate_Ereg
Keep only the files which name follow a given regular expression
File_Archive_Predicate_And
Evaluates to true iif all predicates given as constructor parameters evaluate to true
File_Archive_Predicate_Duplicate
Evaluates to true if a for the files for which a newer version
File_Archive_Predicate_Custom
Custom predicate built by supplying a string expression
File_Archive_Predicate_Preg
Keep only the files which name follow a given regular expression
File_Archive_Predicate_Index
Evaluates to true if the index is in a given array of indexes
File_Archive_Predicate_Or
Evaluates to true iif one at least of the predicates given as constructor parameters evaluate to true
File_Archive_Predicate_MIME
Keep only the files that have a specific MIME type
File_Archive_Predicate_MaxDepth
Remove the URLs with a too high number of nested directories
File_Archive_Predicate_True
Always evaluate to true
File_Archive_Predicate_TARCompatible
A predicate is an object that can evaluate to true or false depending on the file currently read by a File_Archive_Reader

Inherited Variables

Inherited Methods


Class Details

[line 43]
A predicate is an object that can evaluate to true or false depending on the file currently read by a File_Archive_Reader
  • See: File_Archive_Reader_Filter


[ Top ]


Method Detail


Documentation generated on Mon, 11 Mar 2019 15:48:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.