• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/checklist/internals/checklist.php
  • Класс: Bitrix\Tasks\CheckList\Internals\CheckList
  • Вызов: CheckList::__construct
public function __construct($nodeId, $userId, $facade, $fields = [])
{
	parent::__construct($nodeId);

	$fields['USER_ID'] = $userId;

	$this->userId = $userId;
	$this->facade = $facade;
	$this->action = (isset($fields['ACTION']) && is_array($fields['ACTION']) ? $fields['ACTION'] : []);
	$this->fields = new CheckListFields($fields);

	$this->checkListDataController = $facade::getCheckListDataController();
	$this->checkListTree = $facade::getCheckListTree();
	$this->checkListMemberDataController = $facade::getCheckListMemberDataController();
	$this->userFieldsEntityIdName = $facade::$userFieldsEntityIdName;
}