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