• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/database/lazyaccess.php
  • Класс: BitrixTasksInternalsDataBaseLazyAccess
  • Вызов: LazyAccess::offsetGet
public function offsetGet($offset)
{
	$map = $this->getMap();

	if(!isset($map[$offset]))
	{
		return null;
	}

	if($this->values[$offset] === null)
	{
		$value = $this->fetchFieldValue($offset);

		if(!$map[$offset]->isInternallyCacheAble())
		{
			$this->values[$offset] = $value;
		}
	}
	else
	{
		$value = $this->values[$offset];
	}

	return $value;
}