|
ultimix
|
Public Member Functions | |
| __construct () | |
| reset () | |
| load_mounted_storages_from_file ($FilePath) | |
| load_mounted_storages_if_necessary () | |
| get_file_path ($FilePath, $ThrowException=true) | |
| file_exists ($OriginalFilePath) | |
| transform_file_contents ($Data, $Mode) | |
| file_get_contents ($OriginalFilePath, $Mode= 'none') | |
| compound_file_get_contents ($OriginalFilePath, $Mode= 'none') | |
| file_put_contents ($OriginalFilePath, $Data) | |
| get_template ($PackagePath, $FileName) | |
| get_config ($PackagePath, $FileName) | |
| get_data ($PackagePath, $FileName, $Mode= 'none') | |
| get_package_template ($PackageName, $PackageVersion, $FileName) | |
| get_package_config ($PackageName, $PackageVersion, $FileName) | |
| get_package_data ($PackageName, $PackageVersion, $FileName, $Mode= 'none') | |
| get_mounted_storages () | |
| flush () | |
Data Fields | |
| $MountedStorages = false | |
| $Cache = false | |
| $CachedFS = false | |
| $Text = false | |
Class provides virtual FS manipulation routine.
Definition at line 26 of file cached_multy_fs.php.
| __construct | ( | ) |
Constructor.
| Exception | - An exception of this type is thrown. |
Definition at line 68 of file cached_multy_fs.php.
| compound_file_get_contents | ( | $OriginalFilePath, | |
$Mode = 'none' |
|||
| ) |
Cached input from compound file.
| $OriginalFilePath | - path to the requesting file. |
| $Mode | - Processing mode of the loaded file. |
| Exception | - An exception of this type is thrown. |
Definition at line 506 of file cached_multy_fs.php.
| file_exists | ( | $OriginalFilePath | ) |
Function validates if the file exists.
| $OriginalFilePath | - Path to the requesting file. |
| Exception | - An exception of this type is thrown. |
Definition at line 342 of file cached_multy_fs.php.
| file_get_contents | ( | $OriginalFilePath, | |
$Mode = 'none' |
|||
| ) |
Cached input from file.
| $OriginalFilePath | - Path to the requesting file. |
| $Mode | - Processing mode of the loaded file. |
| Exception | - An exception of this type is thrown. |
Definition at line 452 of file cached_multy_fs.php.
| file_put_contents | ( | $OriginalFilePath, | |
| $Data | |||
| ) |
Cached input from file.
| $OriginalFilePath | path to the requesting file. |
| Data | - File's content to store. |
| Exception | - An exception of this type is thrown. |
Definition at line 560 of file cached_multy_fs.php.
| flush | ( | ) |
Function flushes all data on disk.
| Exception | - An exception of this type is thrown. |
Dodonov A.A.
Definition at line 881 of file cached_multy_fs.php.
| get_config | ( | $PackagePath, | |
| $FileName | |||
| ) |
Function loads config.
| $PackagePath | - Path to the package. |
| FileName | - Config file name. |
| Exception | - An exception of this type is thrown. |
Definition at line 647 of file cached_multy_fs.php.
| get_data | ( | $PackagePath, | |
| $FileName, | |||
$Mode = 'none' |
|||
| ) |
Function loads data file.
| $PackagePath | - Path to the package. |
| FileName | - Data file name. |
| $Mode | - Processing mode of the loaded file. |
| Exception | - An exception of this type is thrown. |
Definition at line 689 of file cached_multy_fs.php.
| get_file_path | ( | $FilePath, | |
$ThrowException = true |
|||
| ) |
Function returns file path from storage.
| $FilePath | - Path to file. |
| $ThrowException | - Should be exception be thrown if the requested file was not found. |
| Exception | - An exception of this type is thrown. |
Definition at line 290 of file cached_multy_fs.php.
| get_mounted_storages | ( | ) |
Function returns a list of mounted directories.
| Exception | - An exception of this type is thrown. |
Dodonov A.A.
Definition at line 855 of file cached_multy_fs.php.
| get_package_config | ( | $PackageName, | |
| $PackageVersion, | |||
| $FileName | |||
| ) |
Function loads config.
| $PackageName | - Package name. |
| $PackageVersion | - Package version. |
| FileName | - Config file name. |
| Exception | - An exception of this type is thrown. |
Definition at line 775 of file cached_multy_fs.php.
| get_package_data | ( | $PackageName, | |
| $PackageVersion, | |||
| $FileName, | |||
$Mode = 'none' |
|||
| ) |
Function loads data file.
| $PackageName | - Package name. |
| $PackageVersion | - Package version. |
| FileName | - Data file name. |
| $Mode | - Processing mode of the loaded file. |
| Exception | - An exception of this type is thrown. |
Definition at line 823 of file cached_multy_fs.php.
| get_package_template | ( | $PackageName, | |
| $PackageVersion, | |||
| $FileName | |||
| ) |
Function loads template.
| $PackageName | - Package name. |
| $PackageVersion | - Package version. |
| FileName | - Template file name. |
| Exception | - An exception of this type is thrown. |
Definition at line 731 of file cached_multy_fs.php.
| get_template | ( | $PackagePath, | |
| $FileName | |||
| ) |
Function loads template.
| $PackagePath | - Path to the package. |
| FileName | - Template file name. |
| Exception | - An exception of this type is thrown. |
Definition at line 609 of file cached_multy_fs.php.
| load_mounted_storages_from_file | ( | $FilePath | ) |
Function loads the list of mounted storages.
| $FilePath | - Path to file. |
| Exception | - An exception of this type is thrown. |
Definition at line 158 of file cached_multy_fs.php.
| load_mounted_storages_if_necessary | ( | ) |
Function loads the list of mounted storages, if necessary.
| Exception | - An exception of this type is thrown. |
Definition at line 200 of file cached_multy_fs.php.
| reset | ( | ) |
Function resets settings.
| Exception | - An exception of this type is thrown. |
Definition at line 94 of file cached_multy_fs.php.
| transform_file_contents | ( | $Data, | |
| $Mode | |||
| ) |
Function transforms loaded file.
| $Data | - Loaded file. |
| $Mode | - Processing mode of the loaded file. |
| Exception | - An exception of this type is thrown. |
Definition at line 396 of file cached_multy_fs.php.
| $Cache = false |
String processing algorithms.
Definition at line 50 of file cached_multy_fs.php.
| $CachedFS = false |
Definition at line 51 of file cached_multy_fs.php.
| $MountedStorages = false |
List of the mounted storages.
Definition at line 38 of file cached_multy_fs.php.
| $Text = false |
Definition at line 52 of file cached_multy_fs.php.