previousEvent_Dispatcher::removeObserver (Previous) (Next) Event_Dispatcher::postnext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Event_Dispatcher::setNotificationClass

Event_Dispatcher::setNotificationClass() – 通知として使用するクラスを設定する

Synopsis

require_once 'Event/Dispatcher.php';

bool Event_Dispatcher::setNotificationClass ( string $class )

Description

post() メソッドがコールされた際に 通知オブジェクトとして使用するクラス名を設定します。

単一のディスパッチャに対するクラスを変更する、 もしくは生成される全てのディスパッチャに対するデフォルトを 静的に設定するためにこのメソッドをコールします。

Parameter

  • string $class

    post() メソッドがコールされた際に 通知オブジェクトとして使用するクラス名を指定します。 このクラスが通知クラスとして使用される前にロードされることを 確認してください。

Return value

このメソッドは常に true を返します。

Note

This function can be called statically.

previousEvent_Dispatcher::removeObserver (Previous) (Next) Event_Dispatcher::postnext

Download Documentation Last updated: Sun, 21 Jun 2009
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.