====== JEventHandler ====== {#JAPI Joomla.Framework Event JEventHandler::JEventHandler #} Constructor

For php4 compatability we must not use the __constructor as a constructor for plugins because func_get_args ( void ) returns a copy of all passed arguments NOT references. This causes problems with cross-referencing necessary for the observer design pattern.

===== Syntax ===== JEventHandler JEventHandler ( **&$subject**, **$subject** ) | **$subject** | object | The object to observe | | **&$subject** | | | ===== Examples ===== ---- ~~DISCUSSION~~ ~~DISCUSSION~~