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

Class: File_Archive_Predicate_MIME

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

Class Overview

File_Archive_Predicate
   |
   --File_Archive_Predicate_MIME

Keep only the files that have a specific MIME type


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 40]
Keep only the files that have a specific MIME type
  • See: File_Archive_Predicate, File_Archive_Reader_Filter


[ Top ]


Class Variables

$mimes =

[line 42]


Type:   mixed


[ Top ]



Method Detail

File_Archive_Predicate_MIME (Constructor)   [line 47]

File_Archive_Predicate_MIME File_Archive_Predicate_MIME( $extensions $mimes)


Parameters:

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

[ Top ]

isTrue   [line 58]

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.