Iterator/Filter/FileExtension.php

Classes 
Classes
Kwf_Iterator_Filter_FileExtension

\Kwf_Iterator_Filter_FileExtension

Extends from
\FilterIterator
Properties
$it
Methods
__construct
accept

Description

FilterIterator that filters based on file extension

Usage Example: $it = new RecursiveDirectoryIterator('.'); $it = new RecursiveIteratorIterator($it); $it = new Kwf_Iterator_Filter_FileExtension($it, array('js', 'css'));

Properties

$it

 $it = ''

Details

visibility
protected
default
final
false
static
false

Methods

__construct

__construct(  $iterator, \string/array $extensions ) :

Arguments
$iterator
$extensions
\string/array
Extension(s) that should be accepted
Details
visibility
public
final
false
static
false

accept

accept( ) :
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.12.3.