TaskUserTable extends DataManager
Class TaskUserTable
DO NOT WRITE ANYTHING BELOW THIS
<<< ORMENTITYANNOTATION
Table of Contents
Methods
- add() : void
- createCollection() : EO_TaskUser_Collection
- createObject() : EO_TaskUser
- delegateTask() : UpdateResult|null
- Do not use it directly. All changes must go through CBPTaskService
- delete() : void
- getById() : EO_TaskUser_Result
- getByPrimary() : EO_TaskUser_Result
- getEntity() : EO_TaskUser_Entity
- getList() : EO_TaskUser_Result
- getMap() : mixed
- getOriginalTaskUserId() : int|null
- getTableName() : string
- query() : EO_TaskUser_Query
- updateStatus() : UpdateResult|null
- Do not use it directly. All changes must go through CBPTaskService
- wakeUpCollection() : EO_TaskUser_Collection
- wakeUpObject() : EO_TaskUser
Methods
add()
public
static add(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
-
Entity data.
Tags
createCollection()
public
static createCollection() : EO_TaskUser_Collection
Return values
EO_TaskUser_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_TaskUser
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_TaskUserdelegateTask()
Do not use it directly. All changes must go through CBPTaskService
public
static delegateTask(int $taskId, int $fromUserId, int $toUserId) : UpdateResult|null
Parameters
- $taskId : int
- $fromUserId : int
- $toUserId : int
Tags
Return values
UpdateResult|nulldelete()
public
static delete(mixed $primary) : void
Parameters
- $primary : mixed
-
Primary key.
Tags
getById()
public
static getById(mixed $id) : EO_TaskUser_Result
Parameters
- $id : mixed
Return values
EO_TaskUser_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_TaskUser_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_TaskUser_ResultgetEntity()
public
static getEntity() : EO_TaskUser_Entity
Return values
EO_TaskUser_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_TaskUser_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_TaskUser_ResultgetMap()
public
static getMap() : mixed
getOriginalTaskUserId()
public
static getOriginalTaskUserId(int $taskId, int $userId) : int|null
Parameters
- $taskId : int
- $userId : int
Return values
int|nullgetTableName()
public
static getTableName() : string
Return values
stringquery()
public
static query() : EO_TaskUser_Query
Return values
EO_TaskUser_QueryupdateStatus()
Do not use it directly. All changes must go through CBPTaskService
public
static updateStatus(int $taskId, array<string|int, mixed> $userIds[, int $status = CBPTaskUserStatus::Ok ]) : UpdateResult|null
Parameters
- $taskId : int
- $userIds : array<string|int, mixed>
- $status : int = CBPTaskUserStatus::Ok
Tags
Return values
UpdateResult|nullwakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_TaskUser_Collection
Parameters
- $rows : mixed
Return values
EO_TaskUser_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_TaskUser
Parameters
- $row : mixed