Метод forRecentSection
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
27–36
~/bitrix/modulesim/lib/V2/Chat/Tree/ChatTreeScopeFactory.php
Исходный код
Сигнатура метода
public function forRecentSection(string $recentSection, ?int $parentId, int $maxDepth = ChatAncestorNavigator::DEFAULT_DEPTH): ChatTreeScope
Возвращает:
ChatTreeScope
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$recentSection
|
string
|
-
|
-
|
$parentId
|
?int
|
-
|
-
|
$maxDepth
|
int
|
ChatAncestorNavigator::DEFAULT_DEPTH
|
-
|