Timeline
extends EO_Timeline
Table of Contents
Constants
-
ACTION_COMMENT
= 'comment'
-
ACTION_FIELDS_CHANGE
= 'fields_change'
-
ACTION_ITEM_CREATE
= 'item_create'
-
ACTION_STAGE_CHANGE
= 'stage_change'
-
ACTION_TASK_COMPLETE
= 'task_complete'
Methods
-
createForItem()
: Timeline
-
getItem()
: Item|null
-
getTitle()
: string|null
-
preparePublicData()
: array<string|int, mixed>
public
mixed
ACTION_COMMENT
= 'comment'
ACTION_FIELDS_CHANGE
public
mixed
ACTION_FIELDS_CHANGE
= 'fields_change'
ACTION_ITEM_CREATE
public
mixed
ACTION_ITEM_CREATE
= 'item_create'
ACTION_STAGE_CHANGE
public
mixed
ACTION_STAGE_CHANGE
= 'stage_change'
ACTION_TASK_COMPLETE
public
mixed
ACTION_TASK_COMPLETE
= 'task_complete'
createForItem()
public
static createForItem(Item $item) : Timeline
Parameters
-
$item
: Item
-
getItem()
public
getItem() : Item|null
getTitle()
public
getTitle() : string|null
Return values
string|null
preparePublicData()
public
preparePublicData([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
-
$options
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>