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

Class: File_Archive_Predicate_And

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

Class Overview

File_Archive_Predicate
   |
   --File_Archive_Predicate_And

Evaluates to true iif all predicates given as constructor parameters evaluate to true


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: File_Archive_Predicate

File_Archive_Predicate::isTrue()
Indicates whether the current file from the reader should be kept

Class Details

[line 44]
Evaluates to true iif all predicates given as constructor parameters evaluate to true

Example: new File_Archive_Predicate_And($pred1, $pred2, $pred3)

  • See: File_Archive_Predicate, File_Archive_Reader_Filter


[ Top ]


Method Detail

File_Archive_Predicate_And (Constructor)   [line 59]

File_Archive_Predicate_And File_Archive_Predicate_And( )

Build the predicate using the optional File_Archive_Predicates given as arguments

Example: new File_Archive_Predicate_And($pred1, $pred2, $pred3)


[ Top ]

addPredicate   [line 69]

void addPredicate( File_Archive_Predicate $pred)

Add a new predicate to the list

Parameters:

File_Archive_Predicate   $pred   —  The predicate to add

[ Top ]

isTrue   [line 76]

void isTrue( &$source)

  • See: File_Archive_Predicate::isTrue()

Overrides File_Archive_Predicate::isTrue() (Indicates whether the current file from the reader should be kept)

Parameters:

   &$source   — 

[ Top ]


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