PHP 클래스 Horde_Notification_Storage_Session, 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.
상속: implements Horde_Notification_Storage_Interface
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_stack string The stack name.

공개 메소드들

메소드 설명
__construct ( string $stack ) Constructor.
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 for the given listener stack.
set ( string $key, mixed $value ) Set the given stack in the notification store.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $stack )
$stack string The name of the notification stack.

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 for the given listener stack.
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.

프로퍼티 상세

$_stack 보호되어 있는 프로퍼티

The stack name.
protected string $_stack
리턴 string