|
libSmalldb
v0.7-66-gb94d22a
|
Public Member Functions | |
| __construct (string $base_dir) | |
| Constructor. More... | |
| getBaseDir () | |
| Get base directory. More... | |
| registerFileReader (IMachineDefinitionReader $file_reader) | |
| Register a file reader which will be used to parse the files as they are loaded. More... | |
| getFileReaders () | |
| Get list of registered file readers. More... | |
| detectConfiguration () | |
| Scan for the configuration and build list of files, but do not load the files. More... | |
| getLatestMTime () | |
| loadConfiguration () | |
| Load the configuration from the JSON files. More... | |
| __construct | ( | string | $base_dir | ) |
Constructor.
| string | $base_dir | Directory where JSON files are located. |
| getBaseDir | ( | ) |
Get base directory.
| registerFileReader | ( | IMachineDefinitionReader | $file_reader | ) |
Register a file reader which will be used to parse the files as they are loaded.
| getFileReaders | ( | ) |
Get list of registered file readers.
| detectConfiguration | ( | ) |
Scan for the configuration and build list of files, but do not load the files.
This method may be called many times, but it will detect the configuration only once.
| getLatestMTime | ( | ) |
| loadConfiguration | ( | ) |
Load the configuration from the JSON files.
1.8.13