Download the PHP package xp-framework/io-collections without Composer
On this page you can find all versions of the php package xp-framework/io-collections. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xp-framework/io-collections
More information about xp-framework/io-collections
Files in xp-framework/io-collections
Download xp-framework/io-collections
More information about xp-framework/io-collections
Files in xp-framework/io-collections
Vendor xp-framework
Package io-collections
Short Description I/O Collections for the XP Framework
License BSD-3-Clause
Homepage http://xp-framework.net/
Package io-collections
Short Description I/O Collections for the XP Framework
License BSD-3-Clause
Homepage http://xp-framework.net/
Please rate this library. Is it a good library?
Informations about the package io-collections
I/O Collections
API
The entry point for accessing I/O collections are the io.collections.IOCollection
implementations:
io.collections.FileCollection
- files in a given filesystem pathio.collections.ArchiveCollection
- files inside a XAR archive
To access the files from more than one collection, use the io.collections.CollectionComposite
class.
Iteration
The subpackage io.collections.iterate
allows iterating I/O collections.
io.collections.iterate.IOCollectionIterator
- iterate a given I/O collection, optionally recursiveio.collections.iterate.FilteredIOCollectionIterator
- as above, but with an optional filter
Filters
The following filters are available:
Date-based:
io.collections.iterate.AccessedAfterFilter(util.Date $date)
io.collections.iterate.AccessedBeforeFilter(util.Date $date)
io.collections.iterate.CreatedAfterFilter(util.Date $date)
io.collections.iterate.CreatedBeforeFilter(util.Date $date)
io.collections.iterate.ModifiedAfterFilter(util.Date $date)
io.collections.iterate.ModifiedBeforeFilter(util.Date $date)
Size-based:
io.collections.iterate.SizeEqualsFilter(int $compare)
io.collections.iterate.SizeBiggerThanFilter(int $limit)
io.collections.iterate.SizeSmallerThanFilter(int $limit)
Name-based:
io.collections.iterate.ExtensionEqualsFilter(string $compare)
io.collections.iterate.NameEqualsFilter(string $compare)
io.collections.iterate.NameMatchesFilter(string $pattern)
io.collections.iterate.UriMatchesFilter(string $pattern)
Type-based:
io.collections.iterate.CollectionFilter()
To combine filters, use the util.Filters
class.
Example
This finds all JPEG files inside the directory /home/thekid/multimedia
:
See also
All versions of io-collections with dependencies
PHP Build Version
Package Version
The package xp-framework/io-collections contains the following files
Loading the files please wait ....