JObservable
class JObservable extends JObject
Abstract observable class to implement the observer design pattern
Methods
__construct()
Constructor
mixed
getState()
Get the state of the JObservable object
array
notify()
Update each attached observer object and return an array of their return values
void
attach(
object $observer)
Attach an observer object
boolean
detach(
object $observer)
Detach an observer object