Beispiel #1
0
 public function registerMediator($mediator)
 {
     if (self::$isVerbose) {
         echo get_class($mediator) . PHP_EOL;
     }
     return parent::registerMediator($mediator);
 }
 /**
  * Register Mediator
  *
  * Register an <b>IMediator</b> instance with the <b>View</b>.
  *
  * @param IMediator $mediator Reference to the <b>IMediator</b> instance.
  */
 public function registerMediator(IMediator $mediator)
 {
     if (isset($this->view)) {
         $this->view->registerMediator($mediator);
     }
 }