method public static

Base::render()

Класс: \Bitrix\Dav\Profile\Response\Base

Сигнатура

public static render(string $templateUrl, array<string|int, mixed> $params) : mixed

Параметры

$templateUrl string
Путь к шаблону.
$params array<string|int, mixed>
Параметры, передаваемые в шаблон.

Возвращаемое значение

mixed

Как применяется в Base

Base::render() — метод класса \Bitrix\Dav\Profile\Response\Base модуля «DAV».

Статический метод — вызывается через имя класса Base, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Dav\Profile\Response\Base;

Loader::includeModule('dav');

$templateUrl = '';
$params = [];
$result = Base::render($templateUrl, $params);
// $result: mixed

Другие методы Base

render() есть и у других классов модуля «DAV»: Base, Token.

Исходный файл: source/dav/lib/profile/response/base.php:94

Что будем искать? Например,Продвижение