• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/volume/base.php
  • Класс: BitrixDiskVolumeBase
  • Вызов: Base::unsetFilter
public function unsetFilter($key = ''): self
{
	if ($key != '')
	{
		$findKey = trim($key, '=<>!@%');
		foreach ($this->filter as $keyId => $value)
		{
			$testKey = trim($keyId, '=<>!@%');
			if ($findKey === $testKey)
			{
				unset($this->filter[$keyId]);
			}
		}
	}
	else
	{
		$this->filter = [];
	}

	return $this;
}