pfpFileTree is intended to be a Swiss Army knife for dealing with trees of files.
The API was inspired by jQuery and allows you to select a subset of the files
which exist within tree on the basis of various parameters such as name, size,
modificaton time etc.
In addition to adding functionality by overriding the class, you can apply
callbacks to lists of files to perform operations on the files and/or
capture attributes relating to the files.
It is not strongly tied to the Unix permissions model - indeed, internally
it only works out which files/dirs are readable/writeable. Of course adding
support for various permissions systems is straightforward. And you can even
use it as a tool for managing permissions.
Please note that PHP does not support the sophisticated type of file lock
management required for supporting multi-user concurrent access to data
stored in files. This tool is not intended as a substitute for a transaction
processing database.
Documentation can be found in the manual.
|