method
public
State::__construct()
Класс: \Bitrix\Tasks\Item\State
Сигнатура
public __construct([array<string|int, mixed> $values = null ]) : mixed
Описание
Создаёт объект.
Параметры
$values
array<string|int, mixed>
= null
Возвращаемое значение
mixed
Как применяется в State
State::__construct() — метод класса \Bitrix\Tasks\Item\State модуля «Задачи».
Конструктор: создаёт экземпляр State.
use Bitrix\Main\Loader;
use Bitrix\Tasks\Item\State;
Loader::includeModule('tasks');
$object = new State();Другие методы State
__unserialize()clear()containsKey()enter()get()Возвращает любую переменную по её имени. Null, если переменная не задана.getEnterTime()getEnterTimeAsDateTime()getEnterTimeFormatted()getEnterTimeObject()getMode()getParameters()getResult()
__construct() есть и у других классов модуля «Задачи»: AbstractCase, AbstractConverter, AccessInstaller, AccompliceConverter, Agent, AuditorConverter, BaseEvent, ChecklistAddRule.
Исходный файл: source/tasks/lib/item/state.php:28

