method public

Time::__construct()

Класс: \Bitrix\Bizproc\BaseType\Value\Time

Сигнатура

public __construct(string $timeFormatted[, int $offset = 0 ]) : mixed

Параметры

$timeFormatted string
$offset int = 0

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

mixed

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

Time::__construct() — метод класса \Bitrix\Bizproc\BaseType\Value\Time модуля «Бизнес-процессы».

Конструктор: создаёт экземпляр Time — обязательные аргументы перечислены в разделе «Параметры».

use Bitrix\Main\Loader;
use Bitrix\Bizproc\BaseType\Value\Time;

Loader::includeModule('bizproc');

$timeFormatted = '';
$object = new Time($timeFormatted);

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

__construct() есть и у других классов модуля «Бизнес-процессы»: BaseOperator, BetweenOperator, Condition, ConditionGroup, ContainOperator, Date, DateTime, EmptyOperator.

Исходный файл: source/bizproc/lib/basetype/value/time.php:12

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