Model::__construct

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Model
  4. __construct
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/webform/internals/model.php
  • Класс: Bitrix\Crm\WebForm\Internals\Model
  • Вызов: Model::__construct
public function __construct($id, array $params = null)
{
	if($id)
	{
		$this->load($id);
	}

	if($params)
	{
		$this->set($params);
	}
}

Добавить комментарий