Overview

Packages

  • Notification

Classes

  • Horde_Notification
  • Horde_Notification_Event
  • Horde_Notification_Event_Status
  • Horde_Notification_Exception
  • Horde_Notification_Handler
  • Horde_Notification_Handler_Decorator_Alarm
  • Horde_Notification_Handler_Decorator_Base
  • Horde_Notification_Handler_Decorator_Log
  • Horde_Notification_Listener
  • Horde_Notification_Listener_Audio
  • Horde_Notification_Listener_Status
  • Horde_Notification_Storage_Object
  • Horde_Notification_Storage_Session

Interfaces

  • Horde_Notification_Storage_Interface
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Notification_Storage_Object

A class that stores notifications in an object.

Copyright 2010-2012 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.

Horde_Notification_Storage_Object implements Horde_Notification_Storage_Interface
Package: Notification
Category: Horde
License: LGPL 2.1
Author: Jan Schneider jan@horde.org
Link: http://pear.horde.org/index.php?package=Notification
Located at Horde/Notification/Storage/Object.php
Methods summary
public mixed
# get( string $key )

Return the given stack from the notification store.

Return the given stack from the notification store.

Parameters

$key
The key for the data.

Returns

mixed
The notification data stored for the given key.

Implementation of

Horde_Notification_Storage_Interface::get()
public
# set( string $key, mixed $value )

Set the given stack in the notification store.

Set the given stack in the notification store.

Parameters

$key
The key for the data.
$value
The data.

Implementation of

Horde_Notification_Storage_Interface::set()
public boolean
# exists( string $key )

Is the given stack present in the notification store?

Is the given stack present in the notification store?

Parameters

$key
The key of the data.

Returns

boolean
True if the element is set, false otherwise.

Implementation of

Horde_Notification_Storage_Interface::exists()
public
# clear( string $key )

Unset the given stack in the notification store.

Unset the given stack in the notification store.

Parameters

$key
The key of the data.

Implementation of

Horde_Notification_Storage_Interface::clear()
public
# push( string $listener, Horde_Notification_Event $event )

Store a new event for the given listener stack.

Store a new event for the given listener stack.

Parameters

$listener
<p>The event will be stored for this listener.</p>
$event
The event to store.

Implementation of

Horde_Notification_Storage_Interface::push()
Properties summary
public array $notifications

Holds the notifications pushed into this storage object.

Holds the notifications pushed into this storage object.

# array()
API documentation generated by ApiGen