Beispiel #1
0
 /**
  * The clone method.
  * It is used to clone controls, avoiding references to same attributes, styles and controls.
  */
 public function __clone()
 {
     $this->attributes = clone $this->attributes;
     $this->style = clone $this->style;
     if ($this->fieldLabel) {
         $this->fieldLabel = clone $this->fieldLabel;
     }
     parent::__clone();
 }