Method | Description | |
---|---|---|
__construct ( array $config ) | Constructor for this metadata handler. | |
deleteMetadata ( string $entityId, string $set ) | Delete a metadata entry. | |
getMetaData ( string $entityId, string $set ) : array | Retrieve a metadata entry. | |
getMetadataSet ( string $set ) : array | Retrieve a list of all available metadata for a given set. | |
getMetadataSets ( ) : array | Retrieve a list of all available metadata sets. | |
saveMetadata ( string $entityId, string $set, array $metadata ) : boolean | Save a metadata entry. |
Method | Description | |
---|---|---|
getMetadataPath ( string $entityId, string $set ) : string | Helper function for retrieving the path of a metadata file. |
public __construct ( array $config ) | ||
$config | array | The configuration for this metadata handler. |
public deleteMetadata ( string $entityId, string $set ) | ||
$entityId | string | The entityId of the metadata entry. |
$set | string | The metadata set this metadata entry belongs to. |
public getMetadataSet ( string $set ) : array | ||
$set | string | The set we are looking for metadata in. |
return | array | An associative array with all the metadata for the given set. |
public getMetadataSets ( ) : array | ||
return | array | An array with the available sets. |