Class MOXMAN_Vfs_FileMetaData

InheritanceMOXMAN_Vfs_FileMetaData » MOXMAN_Util_NameValueCollection
ImplementsIteratorAggregate

This class contains the basic logic for a handling meta data for files.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$items array MOXMAN_Util_NameValueCollection

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() [__construct description] MOXMAN_Vfs_FileMetaData
extend() Extends the current collection with another collection or array. MOXMAN_Util_NameValueCollection
get() Returns the specified item by name or the default value if it shouldn't be defined in the internal name/value array. MOXMAN_Util_NameValueCollection
getAll() Returns the internal items array. MOXMAN_Util_NameValueCollection
getGroup() Returns the specified group as a new name/value array- MOXMAN_Util_NameValueCollection
getIterator() Returns an iterator intance for the internal array. MOXMAN_Util_NameValueCollection
load() Loads the meta data. MOXMAN_Vfs_FileMetaData
put() Sets the value of a item by name. MOXMAN_Util_NameValueCollection
putAll() Sets the internal items array. MOXMAN_Util_NameValueCollection
remove() Removes a specific key by name. MOXMAN_Util_NameValueCollection
save() Saves the meta data. MOXMAN_Vfs_FileMetaData

Method Details

__construct() public method

[__construct description]

public void __construct ( MOXMAN_Vfs_IFileMetaDataProvider $provider, MOXMAN_Vfs_IFile $file )
$provider MOXMAN_Vfs_IFileMetaDataProvider

Meta data provider instance.

$file MOXMAN_Vfs_IFile

File that has the meta data.

load() public method

Loads the meta data.

public MOXMAN_Vfs_FileMetaData load ( )
return MOXMAN_Vfs_FileMetaData

Meta data instance.

save() public method

Saves the meta data.

public MOXMAN_Vfs_FileMetaData save ( )
return MOXMAN_Vfs_FileMetaData

Meta data instance.