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

Class: File_Archive_Predicate_MaxDepth

Source Location: /File_Archive-0.2.0/File/Archive/Predicate/MaxDepth.php

Class Overview

File_Archive_Predicate
   |
   --File_Archive_Predicate_MaxDepth

Remove the URLs with a too high number of nested directories


Author(s):

Variables

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 39]
Remove the URLs with a too high number of nested directories
  • See: File_Archive_Predicate, File_Archive_Reader_Filter


[ Top ]


Class Variables

$maxDepth =

[line 41]


Type:   mixed


[ Top ]



Method Detail

File_Archive_Predicate_MaxDepth (Constructor)   [line 49]

File_Archive_Predicate_MaxDepth File_Archive_Predicate_MaxDepth( int $maxDepth)


Parameters:

int   $maxDepth     Maximal number of folders before the actual file in $source->getFilename(). '1/2/3/4/foo.txt' will be accepted with $maxDepth == 4 and rejected with $maxDepth == 5

[ Top ]

isTrue   [line 56]

void isTrue( mixed &$source)

  • See: File_Archive_Predicate::isTrue()

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


Documentation generated on Thu, 24 Feb 2005 12:50:18 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.