PHP Интерфейс Horde_Data_Storage, horde

Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
clear ( ) Clear all stored data.
exists ( string $key ) : boolean Does the key exist?
get ( string $key ) : mixed Retrieve the data for a key.
set ( string $key, mixed $value = null ) Set the data for a key.

Описание методов

clear() публичный Метод

Clear all stored data.
public clear ( )

exists() публичный Метод

Does the key exist?
public exists ( string $key ) : boolean
$key string Key.
Результат boolean Does the key exist?

get() публичный Метод

Retrieve the data for a key.
public get ( string $key ) : mixed
$key string Key.
Результат mixed Data value.

set() публичный Метод

Set the data for a key.
public set ( string $key, mixed $value = null )
$key string Key.
$value mixed Value. If null, clears the key value.