references:joomla.framework:base:jobservable-attachattach
This method is used to attach an observer object. Syntaxvoid attach ( $observer )
ExamplesThe JEventDispatcher::register member function calls this method to attach event handlers to itself. It is called as follows: Example $this->attach(new $handler($this)); |


