TaskKanbanBoardExtendedGridView Class Reference

Inheritance diagram for TaskKanbanBoardExtendedGridView:
KanbanBoardExtendedGridView StackedExtendedGridView ExtendedGridView

Static Public Member Functions

static registerKanbanColumnSortableScript ()

Data Fields

 $relatedModelId
 $relatedModelClassName
 $columnsData

Protected Member Functions

 resolveDataIntoKanbanColumns ()
 resolveOrderByType ($columnsData, $type)
 makeColumnsDataAndStructure ()
 renderUlTagForKanbanColumn ($listItems, $attributeValue=null)
 registerScripts ()
 registerKanbanColumnScripts ()
 registerKanbanColumnStartActionScript ($sourceButtonClass, $label, $targetStatus, $url)
 registerKanbanColumnFinishActionScript ($labelAccept, $labelReject, $targetStatus, $url)
 getRowClassForTaskKanbanColumn ($data)
 createTaskItemForKanbanColumn ($data, $row)
 getListItemsByAttributeValueAndData ($attributeValueAndData)
 registerButtonActionScript ($sourceActionButtonClass, $targetKanbanItemType, $label, $targetButtonClass, $url, $targetStatus)
 registerKanbanColumnAcceptActionScript ($label, $targetStatus, $url)
 registerKanbanColumnRejectActionScript ($label, $targetStatus, $url)
 renderTaskCardDetailsContent (Task $task, $row)
 resolveAndRenderTaskCardDetailsDueDateContent (Task $task)
 resolveAndRenderTaskCardDetailsStatusContent (Task $task, $row)
 isMaxCountCheckRequired ()

Detailed Description

Extends the KanbanBoardExtendedGridView to provide a 'stacked' Kanban Board format for viewing lists of data.

Definition at line 40 of file TaskKanbanBoardExtendedGridView.php.


Member Function Documentation

resolveDataIntoKanbanColumns (  )  [protected]

Heals sortOrder for kanbanItems if they are wrong. It can be wrong if tasks are created from workflow actions because during that task creation, it doesn't know what project or other activityItem it is part of. This will at least heal the sortOrder for display. Then upon subsequent saves of the board, it will properly set the sortOrder in the database

Returns:
array

Reimplemented from KanbanBoardExtendedGridView.

Definition at line 55 of file TaskKanbanBoardExtendedGridView.php.

resolveOrderByType ( columnsData,
type 
) [protected]

Resolve order by type

Parameters:
array $columnsData
int $type
Returns:
int

Definition at line 110 of file TaskKanbanBoardExtendedGridView.php.

makeColumnsDataAndStructure (  )  [protected]
Returns:
array

Reimplemented from KanbanBoardExtendedGridView.

Definition at line 122 of file TaskKanbanBoardExtendedGridView.php.

renderUlTagForKanbanColumn ( listItems,
attributeValue = null 
) [protected]

Creates ul tag for kanban column

Parameters:
array $listItems
string $attributeValue
Returns:
string

Reimplemented from KanbanBoardExtendedGridView.

Definition at line 138 of file TaskKanbanBoardExtendedGridView.php.

registerScripts (  )  [protected]

Override script registration

Reimplemented from KanbanBoardExtendedGridView.

Definition at line 147 of file TaskKanbanBoardExtendedGridView.php.

registerKanbanColumnScripts (  )  [protected]

Register Kanban Column Scripts

Definition at line 161 of file TaskKanbanBoardExtendedGridView.php.

static registerKanbanColumnSortableScript (  )  [static]

Registers kanban column sortable script

Parameters:
int $count
int $type
Returns:
string Registers kanban column sortable script. Also called to use on refresh of kanban board
string

Definition at line 186 of file TaskKanbanBoardExtendedGridView.php.

registerKanbanColumnStartActionScript ( sourceButtonClass,
label,
targetStatus,
url 
) [protected]

Registers kanban column start action script

Parameters:
string $label
int $targetStatus
string $url

Definition at line 198 of file TaskKanbanBoardExtendedGridView.php.

registerKanbanColumnFinishActionScript ( labelAccept,
labelReject,
targetStatus,
url 
) [protected]

Registers kanban column finish action script

Parameters:
string $label
int $targetStatus
string $url

Definition at line 211 of file TaskKanbanBoardExtendedGridView.php.

getRowClassForTaskKanbanColumn ( data  )  [protected]
Returns:
string

Definition at line 256 of file TaskKanbanBoardExtendedGridView.php.

createTaskItemForKanbanColumn ( data,
row 
) [protected]

Creates task item for kanban column

Parameters:
array $data
int $row
Returns:
string

Definition at line 274 of file TaskKanbanBoardExtendedGridView.php.

getListItemsByAttributeValueAndData ( attributeValueAndData  )  [protected]

Get list items by attribute value and data

Parameters:
array $attributeValueAndData
Returns:
array

Reimplemented from KanbanBoardExtendedGridView.

Definition at line 287 of file TaskKanbanBoardExtendedGridView.php.

registerButtonActionScript ( sourceActionButtonClass,
targetKanbanItemType,
label,
targetButtonClass,
url,
targetStatus 
) [protected]

Register button action script

Parameters:
string $sourceActionButtonClass
int $targetKanbanItemType
string $label
string $targetButtonClass
string $url
int $targetStatus
Returns:
string

Definition at line 308 of file TaskKanbanBoardExtendedGridView.php.

registerKanbanColumnAcceptActionScript ( label,
targetStatus,
url 
) [protected]

Register kanban column accept action script

Parameters:
string $label
int $targetStatus
string $url

Definition at line 393 of file TaskKanbanBoardExtendedGridView.php.

registerKanbanColumnRejectActionScript ( label,
targetStatus,
url 
) [protected]

Register kanban column reject action script

Parameters:
string $label
int $targetStatus
string $url

Definition at line 406 of file TaskKanbanBoardExtendedGridView.php.

renderTaskCardDetailsContent ( Task task,
row 
) [protected]
Parameters:
Task $task
$row 
Returns:
string

Definition at line 418 of file TaskKanbanBoardExtendedGridView.php.

isMaxCountCheckRequired (  )  [protected]

Checks if max count has to be validated in the kanban view

Returns:
boolean

Reimplemented from KanbanBoardExtendedGridView.

Definition at line 478 of file TaskKanbanBoardExtendedGridView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Jun 23 07:10:30 2017