• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/item.php
  • Класс: BitrixTasksItem
  • Вызов: Item::fetchDataAndCache
private function fetchDataAndCache($fetchBase = true, $fetchUFs = false)
{
	$base = $this->fetchBaseData($fetchBase, $fetchUFs);
	if($base === null)
	{
		$this->readingFailed = true;
	}
	else
	{
		// in $base we have raw data read from database, now we need to apply in to the entity, with conversion
		$this->setDataFromDataBase($base);

		if($fetchBase)
		{
			$this->setTabletLoaded();
		}
		if($fetchUFs)
		{
			$this->setUFLoaded();
		}
	}
}