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

	$key = (int) $taskId . '|' . (int) $executiveUserId;

	// Cache instance in pool
	self::$instances[$key] = $oTaskItemInstance;
}