method
public
static
Time::getFormat()
Сигнатура
public static getFormat() : string|null
Возвращаемое значение
string|null
Как применяется в Time
Time::getFormat() — метод класса \Bitrix\Bizproc\BaseType\Value\Time модуля «Бизнес-процессы».
Статический метод — вызывается через имя класса Time, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Bizproc\BaseType\Value\Time;
Loader::includeModule('bizproc');
$result = Time::getFormat();
// $result: string|nullДругие методы Time
__toString()getOffset()getRenderFormat()getTimestamp()isCorrect()jsonSerialize()serialize()toServerTime()toSystemObject()toUserTime()tryMakeCorrectFormat()
getFormat() есть и у других классов модуля «Бизнес-процессы»: Date, DateTime.
Исходный файл: source/bizproc/lib/basetype/value/time.php:67

