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

Copyright 2009-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.
Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект

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

Метод Описание
clear ( string $key ) Unset the given stack in the notification store.
exists ( string $key ) : boolean Is the given stack present in the notification store?
get ( string $key ) : mixed Return the given stack from the notification store.
push ( string $listener, Horde_Notification_Event $event ) Store a new event.
set ( string $key, mixed $value ) Set the given stack in the notification store.

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

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

Unset the given stack in the notification store.
public clear ( string $key )
$key string The key of the data.

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

Is the given stack present in the notification store?
public exists ( string $key ) : boolean
$key string The key of the data.
Результат boolean True if the element is set, false otherwise.

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

Return the given stack from the notification store.
public get ( string $key ) : mixed
$key string The key for the data.
Результат mixed The notification data stored for the given key.

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

Store a new event.
public push ( string $listener, Horde_Notification_Event $event )
$listener string The event will be stored for this listener.
$event Horde_Notification_Event The event to store.

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

Set the given stack in the notification store.
public set ( string $key, mixed $value )
$key string The key for the data.
$value mixed The data.