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); }
public function remove() { viewData::removeByTypeLinkId('cmd', $this->getId()); dataStore::removeByTypeLinkId('cmd', $this->getId()); $this->getEqLogic()->emptyCacheWidget(); $this->emptyHistory(); return DB::remove($this); }
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); }