Documentation

Horde_Data_Storage
in

Abstract class that implements the temporary storage backend.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2012-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL-2.1

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.

Return values
mixed

Search results