method
public
static
Base::render()
Сигнатура
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
Исходный файл: source/dav/lib/profile/response/base.php:94

