Class MOXMAN_Vfs_Memory_FileSystem
Inheritance | MOXMAN_Vfs_Memory_FileSystem » MOXMAN_Vfs_FileSystem |
---|
Memory file system implementation.
Protected Properties
Public Methods
Method Details
Constructs a new memory file system.
public void __construct ( $scheme, MOXMAN_Util_Config $config, $root ) | ||
$scheme | string | File scheme. |
$config | MOXMAN_Util_Config | Config instance for file system. |
$root | string | Root path for file system. |
public void addEntry ( $path, $data ) | ||
$path | ||
$data |
public void deleteEntry ( $path ) | ||
$path |
public void getChildEntries ( $path = "/" ) | ||
$path |
public void getEntries ( $path = "/" ) | ||
$path |
public void getEntry ( $path ) | ||
$path |
Returns a MOXMAN_Vfs_IFile instance based on the specified path.
public MOXMAN_Vfs_IFile getFile ( $path ) | ||
$path | string | Path of the file to retrive. |
return | MOXMAN_Vfs_IFile | File instance for the specified path. |
---|
Returns the true/false if the file system can be cached or not.
public \True/false isCacheable ( ) | ||
return | \True/false | If the file system is cacheable or not. |
---|