コード例 #1
0
ファイル: scenario.class.php プロジェクト: GaelGRIFFON/core
 public function remove()
 {
     viewData::removeByTypeLinkId('scenario', $this->getId());
     dataStore::removeByTypeLinkId('scenario', $this->getId());
     foreach ($this->getElement() as $element) {
         $element->remove();
     }
     $this->emptyCacheWidget();
     return DB::remove($this);
 }
コード例 #2
0
ファイル: cmd.class.php プロジェクト: jimibi/core
 public function remove()
 {
     viewData::removeByTypeLinkId('cmd', $this->getId());
     dataStore::removeByTypeLinkId('cmd', $this->getId());
     $this->getEqLogic()->emptyCacheWidget();
     $this->emptyHistory();
     return DB::remove($this);
 }
コード例 #3
0
ファイル: eqLogic.class.php プロジェクト: saez0pub/core
 public function remove()
 {
     foreach ($this->getCmd() as $cmd) {
         $cmd->remove();
     }
     viewData::removeByTypeLinkId('eqLogic', $this->getId());
     dataStore::removeByTypeLinkId('eqLogic', $this->getId());
     $this->emptyCacheWidget();
     return DB::remove($this);
 }