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

Class: File_Archive_Predicate_Index

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

Class Overview

File_Archive_Predicate
   |
   --File_Archive_Predicate_Index

Evaluates to true if the index is in a given array of indexes


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 41]
Evaluates to true if the index is in a given array of indexes

The array has the indexes in key (so you may want to call array_flip if your array has indexes as value)



[ Top ]


Class Variables

$indexes =

[line 43]


Type:   mixed


[ Top ]

$pos =  0

[line 44]


Type:   mixed


[ Top ]



Method Detail

File_Archive_Predicate_Index (Constructor)   [line 49]

File_Archive_Predicate_Index File_Archive_Predicate_Index( $extensions $indexes)


Parameters:

$extensions   $indexes   —  array or comma separated string of allowed extensions

[ Top ]

isTrue   [line 56]

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.