Flat mode? (all files recursive without dirs)
API Tags:
Do we want to include directories? (This gets used by load()).
Do we want to include files? (This gets used by load()).
Path to list with trailing slash.
false if we are constructing an arbitrary list (i-e not tied to a single directory) fp> should use NULL instead of false
API Tags:
Index of the current iterator position.
This is the key of $_order_index
API Tags:
User preference: Sort dirs not at top
The list of Files.
API Tags:
The root of the file list.
All files in this list MUST have that same FileRoot. Adding will fail otherwise.
Filename filter pattern
Will be matched against the filename part (not the path) NULL if disabled
Can be a regular expression (see Filelist::$_filter_is_regexp), internally with delimiters/modifiers!
Use set_filter() to set it.
API Tags:
Is the filter a regular expression? NULL if unknown
Use set_filter() to set it.
API Tags:
Index on full paths (path => $_entries key).
API Tags:
Information Tags:
| Todo: | make these direct links to &File objects |
Index on File IDs (id => $_entries key).
Note: fplanque>> what's the purpose of the md5 IDs??
API Tags:
Information Tags:
| Todo: | make these direct links to &File objects |
What column is the list ordered on?
Possible values are: 'name', 'path', 'type', 'size', 'lastmod', 'perms'
API Tags:
Are we sorting ascending (or descending)?
NULL is default and means ascending for 'name', descending for the rest
API Tags:
Index on sort order (order # => $_entries key).
API Tags:
Information Tags:
| Todo: | make these direct links to &File objects |
Index on (r)elative (s)lash terminated (f)ile/(d)irectory paths (rdfs_path => key into $_entries).
API Tags:
Information Tags:
| Todo: | make these direct links to &File objects |
Path to list reltive to root, with trailing slash
false if we are constructing an arbitrary list (i-e not tied to a single directory) fp> should use NULL instead of false
API Tags:
User preference: Load and show hidden files?
"Hidden files" are prefixed with a dot .
Number of bytes
API Tags:
Number of directories
API Tags:
Number of entries in the $_entries array
Note: $_total_entries = $_total_dirs + $_total_files
API Tags:
Number of files
API Tags:
User preference: recursive size of dirs?
The load() & sort() methods use this.
API Tags: