Removes a page link from the list

@param  int      $index The index to remove, if not given, will remove the link from the end

@return PageLink        The link being removed
540704
public function removePageLink($index = null) {
        if ($index) {
            $return = $this->links->offsetGet($index);
            $this->links->offsetUnset($index);
            return $return;
        } else {
            return $this->links->pop();
        }
    }
1204481
public function deleteMapping($index)
    {
        try {
            $elasticclient = $this->client->getClient();
            $map = ['index' => $index];
            $response = $elasticclient->indices()->delete($map);
            return $response['acknowledged'];
        } catch (\Exception $ex) {
            return $ex->getMessage();
        }
    }
704327
public function remove($index)
	{
		if ($this->has($index))
		{
			Arr::forget($this->data, $index);
			Arr::forget($this->metas, $this->firstIndex($index));
		}

		return $this;
	}
1184726
protected function clearIndex($index)
    {
        $index->clear(Page::class);
        $index->clear(User::class);
        $index->clear(File::class);
        $index->clear(Site::class);
    }
404120
public function removeCue($_index)
    {
        if (isset($this->cues[$_index])) {
            unset($this->cues[$_index]);
        }

        return $this;
    }
665300
public function remove($index)
    {
        if (isset($this->_storage[$index]) || array_key_exists($index, $this->_storage))
        {
            $this->_modified = true;
            $removed = $this->_storage[$index];
            unset($this->_storage[$index]);
            return $removed;
        }

        return null;
    }
168379
public function paginate($content, $index = null, $order = true, $perPage = 10)
    {
        if (!$this->isPaginated()) {
            $this
                ->contents($content, $index, $order)
                ->setPerPage($perPage)
                ->setPath($this->getPath() . '/{page}')
                ->value('page', 1)
                ->assert('page', '\d+');
        }

        return $this;
    }
294709
public function remove($index)
    {
        if (!$index instanceof EntityInterface) {
            $index = $this->getRepository()->get($index);
        }
        
        return $this->findAndRemove($index);
    }
392878
public function removeGroup(int $index): void
    {
        unset($this->groups[$index]);
        $this->groups = array_values($this->groups);
    }
1059603
public function removeRange($index, $count){
		
		if($this->_ReadOnly){
			throw new ReadOnlyException(\get_called_class() . ' is read only');
		}
		
		if(!$this->offsetExists($index)){
			throw new \OutOfRangeException('$index is invalid');
		}
		
		\array_splice($this->_Arr, $index, $count);
		
		return $this;
		
	}
683776
public function cut($index = self::LAST): CollectionInterface
    {
        //if index is first
        if ($index == self::FIRST) {
            //we really mean 0
            $index = 0;
        //if index is last
        } else if ($index == self::LAST) {
            //we realy mean the last index number
            $index = count($this->data) -1;
        }

        //if this row is found
        if (isset($this->data[$index])) {
            //unset it
            unset($this->data[$index]);
        }

        //reindex the list
        $this->data = array_values($this->data);

        return $this;
    }
242796
public function select($index) {
    $this->init();
    
    $this->select = $index;
    $this->html->getTemplateContent()->select =
      jsHelper::embed(
        jsHelper::bootLoad(
          array('app/main'),
          array('main'),
          sprintf("var tabs = main.getTabs(), tab = tabs.tab({index: %d});\n    tabs.select(tab);", $this->select)
        )
      )
    ;
    return $this;
  }
1250387
public function remove(string $index): bool
    {
        $this->withIndexFilter($index);

        $deleted = $this->createDeleteBuilder()->execute();

        $this->clearFetchParameters();

        return (int)$deleted > 0;
    }
228202
public function offsetUnset($index)
	{
		if (isset($this->children[$index])) {
			array_splice($this->children, (int)$index, 1);
		}
	}
654081
public function remove($name, $index = 0)
    {
        $lowerName = strtolower($name);
        unset($this->headers[$lowerName][$index]);
    }
98463
public static function Remove( $iter, $index )
	{
		return new NodeIterator( function() use( $iter, $index ) { return ExtFuncs::RemoveIterator( $iter->CloneInstance(), $index ); } );
	}
1112682
public function removeColumn($index)
    {
        $this->mappingColumns = null;
        array_splice($this->columns, $index, 1);

        return $this;
    }