*
* @var array
*/
- protected $_notifications = array();
+ public $notifications = array();
/**
* Return the given stack by reference from the notification store.
*/
public function &get($key)
{
- return $this->_notifications[$key];
+ return $this->notifications[$key];
}
/**
*/
public function set($key, $value)
{
- $this->_notifications[$key] = $value;
+ $this->notifications[$key] = $value;
}
/**
*/
public function exists($key)
{
- return isset($this->_notifications[$key]);
+ return isset($this->notifications[$key]);
}
/**
*/
public function clear($key)
{
- unset($this->_notifications[$key]);
+ unset($this->notifications[$key]);
}
/**
*/
public function push($listener, Horde_Notification_Event $event)
{
- $this->_notifications[$listener][] = $event;
+ $this->notifications[$listener][] = $event;
}
}