src/Web2All/Manager/Main.class.php
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();
  }
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();
  }
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 ( ) ; }
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.
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 .