Model
extends Model
Table of Contents
Methods
-
createFromArray()
: mixed
-
createFromScheduledActivityArray()
: self
-
getAssociatedEntityId()
: int|null
-
getAssociatedEntityModel()
: AssociatedEntityModel|null
-
getAssociatedEntityTypeId()
: int|null
-
getAuthorId()
: int|null
-
getData()
: array<string|int, mixed>
-
getDate()
: Datetime|null
-
getHistoryItemModel()
: HistoryItemModel|null
-
getId()
: string|null
-
getNote()
: NoteModel|null
-
getRestAppLayoutBlocksModels()
: array<string|int, RestAppLayoutBlocksModel>
-
getScheduledActivityModelId()
: string
-
getSettings()
: array<string|int, mixed>
-
getTypeCategoryId()
: int|null
-
getTypeId()
: int|null
-
isFixed()
: bool
-
isScheduled()
: bool
-
setAssociatedEntityId()
: self
-
setAssociatedEntityModel()
: self
-
setAssociatedEntityTypeId()
: self
-
setAuthorId()
: self
-
setData()
: self
-
setDate()
: self
-
setHistoryItemModel()
: self
-
setId()
: self
-
setIsFixed()
: self
-
setIsScheduled()
: self
-
setRestAppLayoutBlocksModels()
: $this
-
setSettings()
: self
-
setTypeCategoryId()
: self
-
setTypeId()
: $this
createFromArray()
public
static createFromArray(array<string|int, mixed> $data) : mixed
Parameters
-
$data
: array<string|int, mixed>
-
createFromScheduledActivityArray()
public
static createFromScheduledActivityArray(array<string|int, mixed> $data) : self
Parameters
-
$data
: array<string|int, mixed>
-
getAssociatedEntityId()
public
getAssociatedEntityId() : int|null
getAssociatedEntityModel()
public
getAssociatedEntityModel() : AssociatedEntityModel|null
getAssociatedEntityTypeId()
public
getAssociatedEntityTypeId() : int|null
getAuthorId()
public
getAuthorId() : int|null
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>
getDate()
public
getDate() : Datetime|null
Return values
Datetime|null
getHistoryItemModel()
public
getHistoryItemModel() : HistoryItemModel|null
getId()
public
getId() : string|null
Return values
string|null
getNote()
public
getNote() : NoteModel|null
getRestAppLayoutBlocksModels()
public
getRestAppLayoutBlocksModels() : array<string|int, RestAppLayoutBlocksModel>
getScheduledActivityModelId()
public
static getScheduledActivityModelId(int $activityId) : string
Parameters
-
$activityId
: int
-
getSettings()
public
getSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>
getTypeCategoryId()
public
getTypeCategoryId() : int|null
getTypeId()
public
getTypeId() : int|null
-
see
-
TimelineType
isFixed()
public
isFixed() : bool
isScheduled()
public
isScheduled() : bool
setAssociatedEntityId()
public
setAssociatedEntityId(int|null $associatedEntityId) : self
Parameters
-
$associatedEntityId
: int|null
-
setAssociatedEntityModel()
public
setAssociatedEntityModel(AssociatedEntityModel|null $associatedEntityModel) : self
Parameters
-
$associatedEntityModel
: AssociatedEntityModel|null
-
setAssociatedEntityTypeId()
public
setAssociatedEntityTypeId(int|null $associatedEntityTypeId) : self
Parameters
-
$associatedEntityTypeId
: int|null
-
setAuthorId()
public
setAuthorId(int|null $authorId) : self
Parameters
-
$authorId
: int|null
-
setData()
public
setData(array<string|int, mixed> $data) : self
Parameters
-
$data
: array<string|int, mixed>
-
setDate()
public
setDate(Datetime|null $createdDate) : self
Parameters
-
$createdDate
: Datetime|null
-
setHistoryItemModel()
public
setHistoryItemModel(HistoryItemModel|null $historyItemModel) : self
Parameters
-
$historyItemModel
: HistoryItemModel|null
-
setId()
public
setId(string|null $id) : self
Parameters
-
$id
: string|null
-
setIsFixed()
public
setIsFixed(bool $isFixed) : self
Parameters
-
$isFixed
: bool
-
setIsScheduled()
public
setIsScheduled(bool $isScheduled) : self
Parameters
-
$isScheduled
: bool
-
setRestAppLayoutBlocksModels()
public
setRestAppLayoutBlocksModels(array<string|int, RestAppLayoutBlocksModel> $restAppLayoutBlockModels) : $this
Parameters
-
$restAppLayoutBlockModels
: array<string|int, RestAppLayoutBlocksModel>
-
setSettings()
public
setSettings(array<string|int, mixed> $settings) : self
Parameters
-
$settings
: array<string|int, mixed>
-
setTypeCategoryId()
public
setTypeCategoryId(int $typeCategoryId) : self
Parameters
-
$typeCategoryId
: int
-
setTypeId()
public
setTypeId(int|null $typeId) : $this
Parameters
-
$typeId
: int|null
-
-
see
-
TimelineType