Class MOXMAN_Vfs_Memory_FileSystem

InheritanceMOXMAN_Vfs_Memory_FileSystem » MOXMAN_Vfs_FileSystem

Memory file system implementation.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Constructs a new memory file system. MOXMAN_Vfs_Memory_FileSystem
addEntry() MOXMAN_Vfs_Memory_FileSystem
close() Closes the file system. MOXMAN_Vfs_FileSystem
deleteEntry() MOXMAN_Vfs_Memory_FileSystem
getChildEntries() MOXMAN_Vfs_Memory_FileSystem
getConfig() Config instance for the file system. MOXMAN_Vfs_FileSystem
getEntries() MOXMAN_Vfs_Memory_FileSystem
getEntry() MOXMAN_Vfs_Memory_FileSystem
getFile() Returns a MOXMAN_Vfs_IFile instance based on the specified path. MOXMAN_Vfs_Memory_FileSystem
getFileConfigProvider() Returns the config provider instance. MOXMAN_Vfs_FileSystem
getFileMetaDataProvider() Returns the meta data provider instance. MOXMAN_Vfs_FileSystem
getFileUrlProvider() Returns the url provider instance. MOXMAN_Vfs_FileSystem
getFileUrlResolver() Returns the url resolver instance. MOXMAN_Vfs_FileSystem
getRootFile() Returns the a file object for the root of the file system. MOXMAN_Vfs_FileSystem
getRootName() Returns the name of the root for the file system. MOXMAN_Vfs_FileSystem
getRootPath() Returns the path of the root for the file system. MOXMAN_Vfs_FileSystem
getScheme() Returns the file system scheme for example "local". MOXMAN_Vfs_FileSystem
isCacheable() Returns the true/false if the file system can be cached or not. MOXMAN_Vfs_Memory_FileSystem
setFileConfigProvider() Sets the config provider for the filesystem. MOXMAN_Vfs_FileSystem
setFileMetaDataProvider() Sets the meta data provider instance. MOXMAN_Vfs_FileSystem
setFileUrlProvider() Sets the url provider instance. MOXMAN_Vfs_FileSystem
setFileUrlResolver() Sets the url resolver instance. MOXMAN_Vfs_FileSystem

Method Details

__construct() public method

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.

addEntry() public method

public void addEntry ( $path, $data )
$path
$data
deleteEntry() public method

public void deleteEntry ( $path )
$path
getChildEntries() public method

public void getChildEntries ( $path "/" )
$path
getEntries() public method

public void getEntries ( $path "/" )
$path
getEntry() public method

public void getEntry ( $path )
$path
getFile() public method

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.

isCacheable() public method

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.