Documentation

TimelineTable

Description and methods

ORM class for handling timeline records.

ORM object Bitrix\Rpa\Model\Timeline.


Chain of inheritance

Bitrix\Rpa\Model\TimelineTable extends Bitrix\Main\ORM\Data\DataManager

Methods

Method Description Available from version
public static function getListByItem(int $typeId, int $itemId, array $parameters = []): EO_Timeline_Collection Returns collection of items associated with item $itemId of process $typeId. Can pass set of parameters $parameters for getList.
public static function removeForItem(int $typeId, int $itemId): Result Deletes all records, associated with item $itemId of process $typeId. Returns objects Bitrix\Main\Result.
public static function removeByTypeId(int $typeId): Result Deletes all records, associated with the process $typeId. Returns object Bitrix\Main\Result.

Table fields

Field Description Type Required
ID Identifier.Int Yes
TYPE_ID Process identifier.Int Yes
ITEM_ID Item ID.Int Yes
CREATED_TIME Timeline record time.Datetime Yes
USER_ID User ID who added a record. Can be empty.Int
TITLE Record title.String
DESCRIPTION Record text content.Int
ACTION Action type ID.Int
IS_FIXED Boolean flag for record entry into timeline. Y - true, N - false.Boolean
DATA Serialized field for storage of record's structured information.String


© «Bitrix24», 2001-2024
Up