Horde_Data_Storage
Abstract class that implements the temporary storage backend.
Tags
Table of Contents
- clear() : mixed
- Clear all stored data.
- exists() : bool
- Does the key exist?
- get() : mixed
- Retrieve the data for a key.
- set() : mixed
- Set the data for a key.
Methods
clear()
Clear all stored data.
public
clear() : mixed
Return values
mixed —exists()
Does the key exist?
public
exists(string $key) : bool
Parameters
- $key : string
-
Key.
Return values
bool —Does the key exist?
get()
Retrieve the data for a key.
public
get(string $key) : mixed
Parameters
- $key : string
-
Key.
Return values
mixed —Data value.
set()
Set the data for a key.
public
set(string $key[, mixed $value = null ]) : mixed
Parameters
- $key : string
-
Key.
- $value : mixed = null
-
Value. If null, clears the key value.