• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/classes/general/taskitem.php
  • Класс: CTaskItem
  • Вызов: CTaskItem::__construct
public function __construct($taskId, $executiveUserId)
{
	CTaskAssert::assertLaxIntegers($taskId);
	CTaskAssert::assertLaxIntegers($executiveUserId);
	CTaskAssert::assert($taskId > 0);
	CTaskAssert::assert($executiveUserId > 0);

	$this->markCacheAsDirty();

	$this->taskId = (int)$taskId;
	$this->executiveUserId = (int)$executiveUserId;
}