• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/monitor/history/entity.php
  • Класс: BitrixTimemanMonitorHistoryEntity
  • Вызов: Entity::findNewCodes
static function findNewCodes($neededCodes, $existingCodes): array
{
	$result = [];
	foreach ($neededCodes as $code)
	{
		if (!in_array($code, $existingCodes, true))
		{
			$result[] = $code;
		}
	}

	return $result;
}