Searched refs:observer (Results 1 – 25 of 48) sorted by relevance
12
36 function attach(SplObserver $observer)38 echo '$sub->' . __METHOD__ . '(' . $observer->getName() . ");\n";39 if (!in_array($observer, $this->observers))41 $this->observers[] = $observer;45 function detach(SplObserver $observer)47 echo '$sub->' . __METHOD__ . '(' . $observer->getName() . ");\n";48 $idx = array_search($observer, $this->observers);58 foreach($this->observers as $observer)60 $observer->update($this);
70 function attach(SplObserver $observer)72 echo $this->name . '->' . __METHOD__ . '(' . $observer->getName() . ");\n";73 $this->observers->attach($observer);76 function detach(SplObserver $observer)78 echo $this->name . '->' . __METHOD__ . '(' . $observer->getName() . ");\n";79 $this->observers->detach($observer);90 foreach($this->observers as $key => $observer)92 $observer->update($this);
6 zend_test.observer.enabled=17 zend_test.observer.observe_functions=116 include __DIR__ . '/observer.inc';
6 zend_test.observer.enabled=17 zend_test.observer.observe_all=18 zend_test.observer.show_opcode=117 include __DIR__ . '/observer.inc';
6 zend_test.observer.enabled=17 zend_test.observer.observe_includes=116 include __DIR__ . '/observer.inc';
6 zend_test.observer.enabled=17 zend_test.observer.observe_all=116 include __DIR__ . '/observer.inc';
6 zend_test.observer.enabled=17 zend_test.observer.observe_all=18 zend_test.observer.show_return_value=1
Completed in 26 milliseconds