Bitrix API

TypeForm

Table of Contents

Methods

fillFromDatabase()  : void
To fill the object with data obtained from the database.
getDodRequired()  : string
getEntityId()  : int
getFieldsToCreate()  : array<string|int, mixed>
Returns a list of fields to create a dod type.
getFieldsToUpdate()  : array<string|int, mixed>
Returns a list of fields to update a type.
getId()  : int
getName()  : string
getParticipantsCodes()  : array<string|int, mixed>
Returns a list of codes for save.
getParticipantsList()  : array<string|int, mixed>
Returns a list of entities for ui selector.
getSort()  : 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.
setDodRequired()  : void
setEntityId()  : void
setId()  : void
setName()  : void
setParticipantsCodes()  : void
setParticipantsList()  : void
setSort()  : 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.

getDodRequired()

public getDodRequired() : string
Return values
string

getEntityId()

public getEntityId() : int
Return values
int

getFieldsToCreate()

Returns a list of fields to create a dod type.

public getFieldsToCreate() : array<string|int, mixed>
Tags
throws
ArgumentNullException
Return values
array<string|int, mixed>

getFieldsToUpdate()

Returns a list of fields to update a type.

public getFieldsToUpdate() : array<string|int, mixed>
Return values
array<string|int, mixed>

getId()

public getId() : int
Return values
int

getName()

public getName() : string
Return values
string

getParticipantsCodes()

Returns a list of codes for save.

public getParticipantsCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getParticipantsList()

Returns a list of entities for ui selector.

public getParticipantsList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSort()

public getSort() : 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

setDodRequired()

public setDodRequired(mixed $dodRequired) : void
Parameters
$dodRequired : mixed

setEntityId()

public setEntityId(mixed $entityId) : void
Parameters
$entityId : mixed

setId()

public setId(mixed $id) : void
Parameters
$id : mixed

setName()

public setName(mixed $name) : void
Parameters
$name : mixed

setParticipantsCodes()

public setParticipantsCodes(array<string|int, mixed> $participants) : void
Parameters
$participants : array<string|int, mixed>

setParticipantsList()

public setParticipantsList(mixed $participants) : void
Parameters
$participants : mixed

setSort()

public setSort(mixed $sort) : void
Parameters
$sort : 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