* @return Horde_Notification_Listener The listener object.
* @throws Horde_Exception
*/
- public function attach($listener, array $params = array(), $class = null);
+ public function attach($listener, $params = null, $class = null);
/**
* Remove a listener from the notification list. This will discard any
* @return Horde_Notification_Listener The listener object.
* @throws Horde_Exception
*/
- public function attach($listener, array $params = array(), $class = null)
+ public function attach($listener, $params = null, $class = null)
{
return $this->_handler->attach($listener, $params, $class);
}
* @return Horde_Notification_Listener The listener object.
* @throws Horde_Exception
*/
- public function attach($listener, array $params = array(), $class = null)
+ public function attach($listener, $params = null, $class = null)
{
$listener = Horde_String::lower(basename($listener));
if (!empty($this->_listeners[$listener])) {
* @return Horde_Notification_Listener The listener object.
* @throws Horde_Exception
*/
- public function attach($listener, array $params = array(), $class = null)
+ public function attach($listener, $params = null, $class = null)
{
return $this->_handler->attach($listener, $params, $class);
}
* @return Horde_Notification_Listener The listener object.
* @throws Horde_Exception
*/
- public function attach($listener, array $params = array(), $class = null)
+ public function attach($listener, $params = null, $class = null)
{
return $this->_handler->attach($listener, $params, $class);
}