Design Patterns: Observerable
Michal Vrchota (contact me)
This package implements the observerable design pattern.
It defines an observer interface. This interface defines a function for observer classes that is called when the observed objects are updated.
There is also an observerable class that keeps track of all observer objects. It can add and remove observer objects, as well notify the observers when the observerable object is updated.
Click here for detailed information about this class on phpclasses.org