• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/restriction/restriction.php
  • Класс: Bitrix\Crm\Restriction\Restriction
  • Вызов: Restriction::load
public function load()
{
	$this->isPersistent = false;
	if($this->name !== '')
	{
		$s = Main\Config\Option::get('crm', $this->name, '', '');
		$params = $s !== '' ? unserialize($s, ['allowed_classes' => false]) : null;
		if(is_array($params) && !empty($params))
		{
			$this->internalize($params);
			$this->isPersistent = true;
		}
	}
	return $this->isPersistent;
}