EntityActivities
Table of Contents
Constants
-
ACTIVITY_STAGE_ID
= 'ACTIVITY_STAGE_ID'
-
STAGE_COMPLETED
= 'COMPLETED'
-
STAGE_IDLE
= 'IDLE'
-
STAGE_LATER
= 'LATER'
-
STAGE_NEXT_WEEK
= 'NEXT_WEEK'
-
STAGE_OVERDUE
= 'OVERDUE'
-
STAGE_PENDING
= 'PENDING'
-
STAGE_THIS_WEEK
= 'THIS_WEEK'
Methods
-
__construct()
: mixed
-
calculateTotalForActivityStage()
: int
-
calculateTotalForStage()
: int
-
getStagesList()
: array<string|int, mixed>
-
prepareItemsListParams()
: array<string|int, mixed>
-
prepareItemsResult()
: CDBResult
ACTIVITY_STAGE_ID
public
mixed
ACTIVITY_STAGE_ID
= 'ACTIVITY_STAGE_ID'
STAGE_COMPLETED
public
mixed
STAGE_COMPLETED
= 'COMPLETED'
STAGE_IDLE
public
mixed
STAGE_IDLE
= 'IDLE'
STAGE_LATER
public
mixed
STAGE_LATER
= 'LATER'
STAGE_NEXT_WEEK
public
mixed
STAGE_NEXT_WEEK
= 'NEXT_WEEK'
STAGE_OVERDUE
public
mixed
STAGE_OVERDUE
= 'OVERDUE'
STAGE_PENDING
public
mixed
STAGE_PENDING
= 'PENDING'
STAGE_THIS_WEEK
public
mixed
STAGE_THIS_WEEK
= 'THIS_WEEK'
__construct()
public
__construct(int $entityTypeId[, int|null $categoryId = null ]) : mixed
Parameters
-
$entityTypeId
: int
-
-
$categoryId
: int|null
= null
-
calculateTotalForActivityStage()
public
calculateTotalForActivityStage(string $stageId, array<string|int, mixed> $filter) : int
Parameters
-
$stageId
: string
-
-
$filter
: array<string|int, mixed>
-
calculateTotalForStage()
public
calculateTotalForStage(string $stageId, array<string|int, mixed> $filter) : int
Parameters
-
$stageId
: string
-
-
$filter
: array<string|int, mixed>
-
getStagesList()
public
getStagesList([int|null $categoryId = 0 ]) : array<string|int, mixed>
Parameters
-
$categoryId
: int|null
= 0
-
Return values
array<string|int, mixed>
prepareItemsListParams()
public
prepareItemsListParams(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
-
$params
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
prepareItemsResult()
public
prepareItemsResult(string $columnId, CDBResult $rawResult[, array<string|int, mixed> $filter = [] ]) : CDBResult
Parameters
-
$columnId
: string
-
-
$rawResult
: CDBResult
-
-
$filter
: array<string|int, mixed>
= []
-