CCrmOwnerType::GetEntityShowPath

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmOwnerType
  4. GetEntityShowPath
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_owner_type.php
  • Класс: \CCrmOwnerType
  • Вызов: CCrmOwnerType::GetEntityShowPath
static function GetEntityShowPath($typeID, $ID, $bCheckPermissions = false, array $options = null)
{
	if(!is_int($typeID))
	{
		$typeID = (int)$typeID;
	}

	$enableSlider = self::IsSliderEnabled($typeID);
	if($enableSlider && $options !== null && isset($options['ENABLE_SLIDER']) && !$options['ENABLE_SLIDER'])
	{
		$enableSlider = false;
	}

	return $enableSlider
		? self::GetDetailsUrl($typeID, $ID, $bCheckPermissions, $options)
		: self::GetShowUrl($typeID, $ID, $bCheckPermissions);
}

Добавить комментарий