• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/ui/accessrights/entity/department.php
  • Класс: BitrixMainUIAccessRightsEntityDepartment
  • Вызов: Department::loadModel
protected function loadModel()
{
	if (!$this->model)
	{
		$structure = CIntranetUtils::GetStructure();
		if (array_key_exists($this->getId(), $structure['DATA']))
		{
			$this->model = $structure['DATA'][$this->getId()];
		}
	}

	return $this->model;
}