イベント (Previous) (Next) 導入

View this page in Last updated: Sun, 06 Jul 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Event_Dispatcher

目次
導入 -- Event_Dispatcher の導入
 -- Event_Dispatcher の使用例
Event_Dispatcher::getInstance() -- 新規 Event_Dispatcher オブジェクトを生成する
Event_Dispatcher::getName() -- ディスパッチャの名前を取得する
Event_Dispatcher::addObserver() -- 新規オブザーバを追加する
Event_Dispatcher::removeObserver() -- オブザーバを削除する
Event_Dispatcher::setNotificationClass() -- 通知として使用するクラスを設定する
Event_Dispatcher::post() -- 通知をポストする
Event_Dispatcher::addNestedDispatcher() -- ネストしたディスパッチャを追加する
Event_Dispatcher::removeNestedDispatcher() -- ネストしたディスパッチャを削除する
Event_Notification -- 通知のためのコンテナクラス
Event_Notification::Event_Notification() -- 新規通知オブジェクトを作成する
Event_Notification::getNotificationName() -- 通知名を取得する
Event_Notification::getNotificationObject() -- 通知を送信したオブジェクトを取得する
Event_Notification::getNotificationInfo() -- 通知からの追加情報を取得する
Event_Notification::getNotificationCount() -- 通知されたオブザーバの数を取得する
Event_Notification::cancelNotification() -- 通知をキャンセルする
Event_Notification::isNotificationCancelled() -- 通知がキャンセルされたかどうかをチェックする

PHP コールバックを利用して通知をディスパッチします。

イベント (Previous) (Next) 導入

Download Documentation Last updated: Sun, 06 Jul 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.