• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/objectify/collection.php
  • Класс: BitrixMainORMObjectifyCollection
  • Вызов: Collection::sysGetPrimaryKey
protected function sysGetPrimaryKey(EntityObject $object)
{
	if ($object->sysHasPrimary())
	{
		return $this->sysSerializePrimaryKey($object->primary);
	}
	else
	{
		return spl_object_hash($object);
	}
}