Exemplo n.º 1
0
Arquivo: Page.php Projeto: reliv/rcm
 /**
  * Clone the page
  */
 public function __clone()
 {
     if (!$this->pageId) {
         return;
     }
     $this->pageId = null;
     $this->name = null;
     $this->parent = null;
     parent::__clone();
 }
Exemplo n.º 2
0
 /**
  * Clone the container
  *
  * @return void
  */
 public function __clone()
 {
     if (!$this->containerId) {
         return;
     }
     $this->containerId = null;
     parent::__clone();
 }