Bitrix API

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
string

getCreatedBy()

public getCreatedBy() : int
Return values
int

getDescription()

public getDescription() : string
Return values
string

getEntityId()

public getEntityId() : int
Return values
int

getEpicId()

public getEpicId() : int
Return values
int

getFieldsToCreateTaskItem()

Returns a list of fields to create a task item.

public getFieldsToCreateTaskItem() : array<string|int, mixed>
Tags
throws
ArgumentNullException
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
int

getModifiedBy()

public getModifiedBy() : int
Return values
int

getName()

public getName() : string
Return values
string

getSort()

public getSort() : int
Return values
int

getSourceId()

public getSourceId() : int
Return values
int

getStoryPoints()

public getStoryPoints() : string
Return values
string

getTmpId()

public getTmpId() : string
Return values
string

getTypeId()

public getTypeId() : int
Return values
int

isEmpty()

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
bool

setActive()

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

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>
Return values
array<string|int, mixed>

        
On this page

Search results