Unsets a cloned widget within this cell

This is useful if you are deleting a row from an input row.

@param integer replicator_id the replicator id of the cloned widget to
unset.

@see SwatTableViewInputRow::removeReplicatedRow()
5712
public function unsetWidget($replicator_id)
    {
        if (isset($this->widgets[$replicator_id])) {
            unset($this->widgets[$replicator_id]);
        }

        if (isset($this->clones[$replicator_id])) {
            unset($this->clones[$replicator_id]);
        }
    }
939962
public function deleteTable($id)
    {
        if (isset($this[$id])) {
            Common::destroy($this[$id]);
            $this->setTableDeleted($id);
        }
    }
1165594
public void removeInstanceId() {

        Map<String, String> newSettings = new HashMap<String, String>(m_individualSettings);
        newSettings.remove(CmsContainerElement.ELEMENT_INSTANCE_ID);
        m_individualSettings = Collections.unmodifiableMap(newSettings);
        m_editorHash = m_elementId.toString() + getSettingsHash();
    }
1250756
private function destroyBinding($id)
    {
        unset($this->cache[$id], $this->bindings[$id], $this->aliases[$id]);
    }
1246643
def unbind(self, instance_id: str, binding_id: str, details: UnbindDetails):
        
        
        # Find the instance
        instance = self._backend.find(instance_id)
        
        # Find the binding
        binding = self._backend.find(binding_id, instance)
        if not binding.isProvisioned():
            # The binding does not exist
            raise ErrBindingDoesNotExist()
        
        # Delete the binding
        self._backend.unbind(binding)
346387
public void clearReplicaSyncRequest(int partitionId, ServiceNamespace namespace, int replicaIndex) {
        ReplicaFragmentSyncInfo syncInfo = new ReplicaFragmentSyncInfo(partitionId, namespace, replicaIndex, null);
        if (!replicaSyncRequests.remove(syncInfo)) {
            return;
        }

        if (logger.isFinestEnabled()) {
            logger.finest("Clearing sync replica request for partitionId=" + partitionId + ", replicaIndex="
                    + replicaIndex + ", namespace=" + namespace);
        }
        releaseReplicaSyncPermits(1);
        replicaSyncTimeoutScheduler.cancelIfExists(syncInfo, null);
    }
372239
public function remove($id)
    {
        if (isset($this->aliases[$id])) {
            $aliasId = $id;
            $id = $this->aliases[$id];
            unset($this->aliases[$aliasId]);
        }

        unset($this->keys[$id]);
        unset($this->values[$id]);
        unset($this->immutable[$id]);
        unset($this->factories[$id]);
        unset($this->definition[$id]);
    }
1314428
public function display($replicator_id)
    {
        $widget = $this->getClonedWidget($replicator_id);
        // substitute the replicator_id into the content block's contents
        $widget->content = str_replace('%s', $replicator_id, $widget->content);
        $widget->display();
    }
702016
public function remove($id)
    {
        $id = (string) $id;

        $this->validateRemove($id);

        if (!$this->has($id)) {
            return;
        }

        unset($this->items[$id]);
    }
424673
private void removeSessionTicket(final String id) {
        val ticketId = TransientSessionTicketFactory.normalizeTicketId(id);
        this.ticketRegistry.deleteTicket(ticketId);
    }
939582
def removeRow(self, triggered):
        
        if triggered:
            model = self.tableView.model()
            selection = self.tableView.selectedIndexes()

            rows = [index.row() for index in selection]
            model.removeDataFrameRows(set(rows))
            self.sender().setChecked(False)
357411
public function init()
    {
        // TODO: remove this when deprecated $replicators property is removed
        if ($this->replication_ids === null && $this->replicators !== null) {
            $this->replication_ids = array_keys($this->replicators);
        }

        if ($this->replication_ids === null) {
            $this->replication_ids = array(0);
        }

        // Remove children, these are now the prototype widgets
        foreach ($this->children as $child_widget) {
            $this->prototype_widgets[] = $this->remove($child_widget);
        }

        foreach ($this->replication_ids as $id) {
            $this->addReplication($id);
        }

        parent::init();
    }
745013
public synchronized TableModel<V> removeRow(int index) {
        List<V> removedRow = rows.remove(index);
        for(Listener<V> listener: listeners) {
            listener.onRowRemoved(this, index, removedRow);
        }
        return this;
    }
866145
public void remove(Object data, int iOpenMode) throws DBException, RemoteException
    {
        synchronized(m_objSync)
        {
            m_tableRemote.remove(data, iOpenMode);
        }
    }
586694
async def unset_lock(self, resource, lock_identifier):
        
        try:
            with await self.connect() as redis:
                await redis.eval(
                    self.unset_lock_script,
                    keys=[resource],
                    args=[lock_identifier]
                )
        except aioredis.errors.ReplyError as exc:  # script fault
            self.log.debug('Can not unset lock "%s" on %s',
                           resource, repr(self))
            raise LockError('Can not unset lock') from exc
        except (aioredis.errors.RedisError, OSError) as exc:
            self.log.error('Can not unset lock "%s" on %s: %s',
                           resource, repr(self), repr(exc))
            raise LockError('Can not set lock') from exc
        except asyncio.CancelledError:
            self.log.debug('Lock "%s" unset is cancelled on %s',
                           resource, repr(self))
            raise
        except Exception as exc:
            self.log.exception('Can not unset lock "%s" on %s',
                               resource, repr(self))
            raise
        else:
            self.log.debug('Lock "%s" is unset on %s', resource, repr(self))
839246
public function removeWidget($id)
    {
        if (!(int)$id) return $this;
                    
		foreach($this->widgets as $key => $w) {
			if ($w->getId() == $id) {
				unset($this->widgets[$key]);
				return $this;  
			}
		}        
        return $this;  
    }
1090773
def remove(self, row):
        
        self._rows.remove(row)
        self._deleted_rows.add(row)