• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/validator.php
  • Класс: BitrixBizprocValidator
  • Вызов: Validator::convertToInt
public function convertToInt(string $name): self
{
	if (isset($this->dirtyValues[$name]))
	{
		$this->dirtyValues[$name] = (int)$this->dirtyValues[$name];
	}

	if (isset($this->pureValues[$name]))
	{
		$this->pureValues[$name] = (int)$this->pureValues[$name];
	}

	return $this;
}