Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public function remove()
 {
     viewData::removeByTypeLinkId('cmd', $this->getId());
     dataStore::removeByTypeLinkId('cmd', $this->getId());
     $this->getEqLogic()->emptyCacheWidget();
     $this->emptyHistory();
     return DB::remove($this);
 }
Exemplo n.º 3
0
 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);
 }