From: Jan Schneider Date: Fri, 7 May 2010 11:26:12 +0000 (+0200) Subject: Make notifications list public. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=669423e1c10998c18b34d23032e9e077aa1201d5;p=horde.git Make notifications list public. --- diff --git a/framework/Notification/lib/Horde/Notification/Storage/Object.php b/framework/Notification/lib/Horde/Notification/Storage/Object.php index 69606a702..24e2a44e5 100644 --- a/framework/Notification/lib/Horde/Notification/Storage/Object.php +++ b/framework/Notification/lib/Horde/Notification/Storage/Object.php @@ -31,7 +31,7 @@ implements Horde_Notification_Storage_Interface * * @var array */ - protected $_notifications = array(); + public $notifications = array(); /** * Return the given stack by reference from the notification store. @@ -42,7 +42,7 @@ implements Horde_Notification_Storage_Interface */ public function &get($key) { - return $this->_notifications[$key]; + return $this->notifications[$key]; } /** @@ -53,7 +53,7 @@ implements Horde_Notification_Storage_Interface */ public function set($key, $value) { - $this->_notifications[$key] = $value; + $this->notifications[$key] = $value; } /** @@ -65,7 +65,7 @@ implements Horde_Notification_Storage_Interface */ public function exists($key) { - return isset($this->_notifications[$key]); + return isset($this->notifications[$key]); } /** @@ -75,7 +75,7 @@ implements Horde_Notification_Storage_Interface */ public function clear($key) { - unset($this->_notifications[$key]); + unset($this->notifications[$key]); } /** @@ -87,7 +87,7 @@ implements Horde_Notification_Storage_Interface */ public function push($listener, Horde_Notification_Event $event) { - $this->_notifications[$listener][] = $event; + $this->notifications[$listener][] = $event; } }