Esempio n. 1
0
 /**
  * Object cloning.
  */
 public function __clone()
 {
     if ($this->parent === NULL) {
         return;
     } elseif ($this->parent instanceof ComponentContainer) {
         $this->parent = $this->parent->_isCloning();
         if ($this->parent === NULL) {
             // not cloning
             $this->refreshMonitors(0);
         }
     } else {
         $this->parent = NULL;
         $this->refreshMonitors(0);
     }
 }