original_string: public function notifyObservers() {
      /**
       * restore original error handler, to avoid problems when errors occurres
       * in handling other errors
       */
      $this->Web2All->restoreErrorHandlers();
      foreach($this->observers as $observer) {
        $observer->update($this);
      }
      foreach($this->observer_names as $classname) {
        $this->Web2All->PluginGlobal->$classname->update($this);
      }
      // set custom error handlers back
      $this->Web2All->setErrorHandlers();
    }
code: public function notifyObservers() {
      /**
       * restore original error handler, to avoid problems when errors occurres
       * in handling other errors
       */
      $this->Web2All->restoreErrorHandlers();
      foreach($this->observers as $observer) {
        $observer->update($this);
      }
      foreach($this->observer_names as $classname) {
        $this->Web2All->PluginGlobal->$classname->update($this);
      }
      // set custom error handlers back
      $this->Web2All->setErrorHandlers();
    }
code_tokens: public function notifyObservers ( ) { /**
       * restore original error handler, to avoid problems when errors occurres
       * in handling other errors
       */ $ this -> Web2All -> restoreErrorHandlers ( ) ; foreach ( $ this -> observers as $ observer ) { $ observer -> update ( $ this ) ; } foreach ( $ this -> observer_names as $ classname ) { $ this -> Web2All -> PluginGlobal -> $ classname -> update ( $ this ) ; } // set custom error handlers back
   $ this -> Web2All -> setErrorHandlers ( ) ; }
docstring: If this object has changed, as indicated by the hasChanged method, then
  start observers as needed and notify them, and then call the clearChanged
  method to indicate that this object has no longer changed.
docstring_tokens: If this object has changed as indicated by the hasChanged method then start observers as needed and notify them and then call the clearChanged method to indicate that this object has no longer changed .