Метод getInstance

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

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

Путь к исходному файлу строки 105–118
~/bitrix/modulestasks/lib/comments/task/commentposter.php

Исходный код

PHP
public static

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

public static function getInstance(int $taskId, int $authorId): ?CommentPoster

Возвращает: ?CommentPoster

Описание

Returns existing class instance or creates new.

Параметры

2
Имя Тип По умолчанию Флаги
$taskId int -
-
$authorId int -
-