ManifestFileFinder
class ManifestFileFinder extends SS_FileFinder
An extension to the default file finder with some extra filters to faciliate autoload and template manifest generation: - Only modules with _config.php files are scanned.
- If a _manifest_exclude file is present inside a directory it is ignored.
- Assets and module language directories are ignored.
- Module tests directories are skipped if the ignore_tests option is not set to false.
Constants
| CONFIG_FILE |
|
| CONFIG_DIR |
|
| EXCLUDE_FILE |
|
| LANG_DIR |
|
| TESTS_DIR |
|
Methods
setOption(string $name, mixed $value)
Set an option on this finder instance. See {@link SS_FileFinder} for the list of options available.
from SS_FileFinder
array
find(string $base)
Finds all files matching the options within a directory. The search is performed depth first.
from SS_FileFinder
acceptDir($basename, $pathname, $depth)
No description
Details
in SS_FileFinder at line 67
__construct()
in SS_FileFinder at line 84
mixed
getOption(string $name)
Returns an option value set on this instance.
in SS_FileFinder at line 99
setOption(string $name, mixed $value)
Set an option on this finder instance. See {@link SS_FileFinder} for the list of options available.
in SS_FileFinder at line 112
setOptions(array $options)
Sets several options at once.
in SS_FileFinder at line 123
array
find(string $base)
Finds all files matching the options within a directory. The search is performed depth first.