public void
append ( string $key , string $content )
Appends data to the data item's value specified. If the data item does not exist, it will be created.
public void
delete ( string $key )
Deletes the data item specified and it's metadata.
public void
deleteMetadata ( string $key , string $name )
Deletes metadata for the data item key specified.
public void
duplicate ( string $sourceKey , string $destinationKey )
Creates a copy of the data item specified.
public bool
exists ( string $key )
Returns TRUE if the data item exists. FALSE otherwise.
public
BearFramework\App\DataItem|null
get ( string $key )
Returns a stored data item or null if not found.
Returns a DataItemStreamWrapper for the key specified.
Returns a list of all items in the data storage.
public string|null
getMetadata ( string $key , string $name )
Retrieves metadata for the data item specified.
public string|null
getValue ( string $key )
Returns the value of a stored data item or null if not found.
public void
rename ( string $sourceKey , string $destinationKey )
Changes the key of the data item specified.
public void
setMetadata ( string $key , string $name , string $value )
Stores metadata for the data item specified.
public void
setValue ( string $key , string $value )
Sets a new value of the item specified or creates a new item with the key and value specified.