コード例 #1
0
ファイル: Page.php プロジェクト: reliv/rcm
 /**
  * Clone the page
  */
 public function __clone()
 {
     if (!$this->pageId) {
         return;
     }
     $this->pageId = null;
     $this->name = null;
     $this->parent = null;
     parent::__clone();
 }
コード例 #2
0
ファイル: Container.php プロジェクト: reliv/rcm
 /**
  * Clone the container
  *
  * @return void
  */
 public function __clone()
 {
     if (!$this->containerId) {
         return;
     }
     $this->containerId = null;
     parent::__clone();
 }