• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/internals/entity/fieldmanager.php
  • Класс: BitrixDiskInternalsEntityFieldManager
  • Вызов: FieldManager::resolveClassName
protected function resolveClassName($model)
{
	if (is_string($model))
	{
		//it's class name
		return $model;
	}

	if ($model instanceof InternalsModel || $model instanceof EntityModel)
	{
		return $model::className();
	}

	throw new ArgumentTypeException('model', 'string or Model');
}