• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/lists.php
  • Класс: CLists
  • Вызов: CLists::getCountProcessesUser
static function getCountProcessesUser($userId, $iblockTypeId)
{
	$userId = intval($userId);
	return CIBlockElement::getList(
		array(),
		array('CREATED_BY' => $userId, 'IBLOCK_TYPE' => $iblockTypeId),
		true,
		false,
		array('ID')
	);
}