Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.140
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
php /
pear /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
bubbling.php
2.5
KB
-rw-rw-rw-
2016-01-27 12:11
cancel.php
1.06
KB
-rw-rw-rw-
2016-01-27 12:11
debugging.php
1.09
KB
-rw-rw-rw-
2016-01-27 12:11
example.php
8.95
KB
-rw-rw-rw-
2016-01-27 12:11
example2.php
4.73
KB
-rw-rw-rw-
2016-01-27 12:11
notification-class.php
1.51
KB
-rw-rw-rw-
2016-01-27 12:11
object.php
1.16
KB
-rw-rw-rw-
2016-01-27 12:11
Save
Rename
<?PHP /** * example that shows how to cancel an event * * @package Event_Dispatcher * @subpackage Examples * @author Stephan Schmidt <schst@php.net> */ /** * load Event_Dispatcher package */ require_once 'Event/Dispatcher.php'; /** * example sender */ class sender { var $_dispatcher = null; function sender(&$dispatcher) { $this->_dispatcher = &$dispatcher; } function foo() { $this->_dispatcher->post($this, 'onFoo', 'Some Info...'); } } /** * example observer */ function receiver1(&$notification) { echo "receiver 1 received notification<br />\n"; // the notification will be cancelled and no other observers // will be notified $notification->cancelNotification(); } /** * example observer */ function receiver2(&$notification) { echo "receiver 2 received notification<br />\n"; } $dispatcher = &Event_Dispatcher::getInstance(); $sender = &new sender($dispatcher); $dispatcher->addObserver('receiver1', 'onFoo'); $dispatcher->addObserver('receiver2', 'onFoo'); $sender->foo(); ?>