method
public
Controller::onNotificationReply()
Сигнатура
public onNotificationReply(TaskObject $task, string $text) : self
Параметры
$task
TaskObject
$text
string
Возвращаемое значение
self
Как применяется в Controller
Controller::onNotificationReply() — метод класса \Bitrix\Tasks\Internals\Notification\Controller модуля «Задачи».
Метод объекта: сначала нужен экземпляр Controller.
use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\Notification\Controller;
Loader::includeModule('tasks');
/** @var Controller $object */
$task = null; // TaskObject
$text = '';
$result = $object->onNotificationReply($task, $text);
// $result: selfДругие методы Controller
Исходный файл: source/tasks/lib/internals/notification/controller.php:198

