Copyright 2001-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.
Author: Jan Schneider (jan@horde.org)
Inheritance: extends Horde_Notification_Listener
Esempio n. 1
0
 public function testMethodNotifyHasOutputEventMessagesEmbeddedInUlElement()
 {
     $listener = new Horde_Notification_Listener_Status();
     $event = new Horde_Notification_Event('test');
     $messages = array($event);
     $this->expectOutputString('<ul class="notices"><li>test</li></ul>');
     $listener->notify($messages);
 }
Esempio n. 2
0
 /**
  */
 public function __construct()
 {
     parent::__construct();
     $GLOBALS['page_output']->growler = true;
 }