method public static

UserAbsence::getVacationTypes()

Класс: \Bitrix\Intranet\UserAbsence

Сигнатура

public static getVacationTypes() : array<string|int, mixed>

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

array<string|int, mixed>

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

UserAbsence::getVacationTypes() — метод класса \Bitrix\Intranet\UserAbsence модуля «Интранет».

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

use Bitrix\Main\Loader;
use Bitrix\Intranet\UserAbsence;

Loader::includeModule('intranet');

$result = UserAbsence::getVacationTypes();
// $result: array<string|int, mixed>

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

Исходный файл: source/intranet/lib/userabsence.php:98

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