previousEvent_Notification (Previous) (Next) Event_Notification::getNotificationNamenext

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

Event_Notification::Event_Notification

Event_Notification::Event_Notification() – Create a new notification object.

Synopsis

require_once 'Event/Notification.php';

object Event_Notification Event_Notification::Event_Notifcation ( object &$object , string $nName , mixed $info = array() )

Description

Constructor of the Event_Notification class.

In most cases, you will not need to create the notification objects yourself, as this is done automatically by the Event_Dispatcher::post() method..

Parameter

  • object &$object

    Reference to the object that posts the notification (the sender). May be used to filter notifications in the callbacks.

  • string $nName

    Name of the notification.

  • mixed $info = array()

    Additional information about the notification.

Return value

string name of the notification

Note

This function can not be called statically.

previousEvent_Notification (Previous) (Next) Event_Notification::getNotificationNamenext

Download Documentation Last updated: Tue, 02 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.