Allows for observers to listen in to key events. The most common use case is for logging. To use OpenID_Observe_Log, for example you could do this:
Now, your logs will by default go to /tmp/OpenID_Observer_Log.log. To stop observing, just detach like so:
Located in /OpenID/Observer/Common.php (line 39)
Class | Description |
---|---|
OpenID_Observer_Log | An observer based on PEAR's Log package. You may either pass in your own Log instance to the constructor, or allow the default file driver to write to /tmp/OpenID_Observer_Log.log by default. |
Events to act upon
Sets a custom array of events to act upon
Acts upon an event that just occured
Documentation generated on Tue, 15 Dec 2009 19:00:52 -0800 by phpDocumentor 1.4.3