Метод isNarrowReadAllowed

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 57–60
~/bitrix/modulestasks/lib/internals/counter/loader.php

Исходный код

PHP
public static

Сигнатура метода

public static function isNarrowReadAllowed(int $userId): bool

Возвращает: bool

Описание

Narrow reading of counter rows is trustworthy only when counters are already calculated for the user. The zero limit keeps it off as well: it disables the counter state, and the full path intentionally answers zeros then.

Параметры

1
Имя Тип По умолчанию Флаги
$userId int -
-