Examples (Previous) (Next) Event_Dispatcher::getName

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Event_Dispatcher::getInstance()

Event_Dispatcher::getInstance() -- Create a new Event_Dispatcher object

Opis

Create a new Event_Dispatcher object.

As Event_Dispatcher uses the singleton pattern, you must not use the new operator to create a new instance of Event_Dispatcher, but use getInstance() instead.

If you need more than one instance of Event_Dispatcher, pass different names to the method.

Parametr

  • string $name = '__default'

Zwracana wartość

object Event_Dispatcher Event_Dispatcher instance

Uwagi

Ta funkcja powinna być wywołana statycznie.

Examples (Previous) (Next) Event_Dispatcher::getName

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