method public TaskEntity::getPermission() Класс: \Bitrix\Forum\Comments\TaskEntity Сигнатура public getPermission(int $userId) : $this Параметры $userId int Идентификатор пользователя. Возвращаемое значение $this Исходный файл: source/forum/lib/comments/taskentity.php:164