ItemForm
Table of Contents
Methods
- fillFromDatabase() : void
- To fill the object with data obtained from the database.
- getActive() : string
- getCreatedBy() : int
- getDescription() : string
- getEntityId() : int
- getEpicId() : int
- getFieldsToCreateTaskItem() : array<string|int, mixed>
- Returns a list of fields to create a task item.
- getFieldsToUpdateItem() : array<string|int, mixed>
- Returns a list of fields to update an item.
- getId() : int
- getInfo() : ItemInfo
- getModifiedBy() : int
- getName() : string
- getSort() : int
- getSourceId() : int
- getStoryPoints() : string
- getTmpId() : string
- getTypeId() : int
- isEmpty() : bool
- Checks if an object is empty based on an Id. If id empty, it means that it was not possible to get data from the storage or did not fill out the id.
- setActive() : void
- setCreatedBy() : void
- setDescription() : void
- setEntityId() : void
- setEpicId() : void
- setId() : void
- setInfo() : void
- setModifiedBy() : void
- setName() : void
- setSort() : void
- setSourceId() : void
- setStoryPoints() : void
- setTmpId() : void
- setTypeId() : void
- toArray() : array<string|int, mixed>
- Returns an array with keys for the client.
Methods
fillFromDatabase()
To fill the object with data obtained from the database.
public
fillFromDatabase(array<string|int, mixed> $fields) : void
Parameters
- $fields : array<string|int, mixed>
-
An array with fields.
getActive()
public
getActive() : string
Return values
stringgetCreatedBy()
public
getCreatedBy() : int
Return values
intgetDescription()
public
getDescription() : string
Return values
stringgetEntityId()
public
getEntityId() : int
Return values
intgetEpicId()
public
getEpicId() : int
Return values
intgetFieldsToCreateTaskItem()
Returns a list of fields to create a task item.
public
getFieldsToCreateTaskItem() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getFieldsToUpdateItem()
Returns a list of fields to update an item.
public
getFieldsToUpdateItem() : array<string|int, mixed>
Return values
array<string|int, mixed>getId()
public
getId() : int
Return values
intgetInfo()
public
getInfo() : ItemInfo
Return values
ItemInfogetModifiedBy()
public
getModifiedBy() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetSort()
public
getSort() : int
Return values
intgetSourceId()
public
getSourceId() : int
Return values
intgetStoryPoints()
public
getStoryPoints() : string
Return values
stringgetTmpId()
public
getTmpId() : string
Return values
stringgetTypeId()
public
getTypeId() : int
Return values
intisEmpty()
Checks if an object is empty based on an Id. If id empty, it means that it was not possible to get data from the storage or did not fill out the id.
public
isEmpty() : bool
Return values
boolsetActive()
public
setActive(mixed $active) : void
Parameters
- $active : mixed
setCreatedBy()
public
setCreatedBy(mixed $createdBy) : void
Parameters
- $createdBy : mixed
setDescription()
public
setDescription(mixed $description) : void
Parameters
- $description : mixed
setEntityId()
public
setEntityId(mixed $entityId) : void
Parameters
- $entityId : mixed
setEpicId()
public
setEpicId(mixed $epicId) : void
Parameters
- $epicId : mixed
setId()
public
setId(mixed $id) : void
Parameters
- $id : mixed
setInfo()
public
setInfo(ItemInfo $info) : void
Parameters
- $info : ItemInfo
setModifiedBy()
public
setModifiedBy(mixed $modifiedBy) : void
Parameters
- $modifiedBy : mixed
setName()
public
setName(mixed $name) : void
Parameters
- $name : mixed
setSort()
public
setSort(mixed $sort) : void
Parameters
- $sort : mixed
setSourceId()
public
setSourceId(mixed $sourceId) : void
Parameters
- $sourceId : mixed
setStoryPoints()
public
setStoryPoints(mixed $storyPoints) : void
Parameters
- $storyPoints : mixed
setTmpId()
public
setTmpId(mixed $tmpId) : void
Parameters
- $tmpId : mixed
setTypeId()
public
setTypeId(mixed $typeId) : void
Parameters
- $typeId : mixed
toArray()
Returns an array with keys for the client.
public
toArray() : array<string|int, mixed>