\Horde_Data_Storage

Abstract class that implements the temporary storage backend.

Summary

Methods
Constants
get()
set()
exists()
clear()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

get()

get(string  $key) : mixed

Retrieve the data for a key.

Parameters

string $key

Key.

Returns

mixed —

Data value.

set()

set(string  $key, mixed  $value = null) 

Set the data for a key.

Parameters

string $key

Key.

mixed $value

Value. If null, clears the key value.

exists()

exists(string  $key) : boolean

Does the key exist?

Parameters

string $key

Key.

Returns

boolean —

Does the key exist?

clear()

clear() 

Clear all stored data.