KanbanBoardExtendedGridView Class Reference

Inheritance diagram for KanbanBoardExtendedGridView:
StackedExtendedGridView ExtendedGridView TaskKanbanBoardExtendedGridView

Public Member Functions

 init ()
 renderTableBody ()
 renderOverMaxCountText ()

Static Public Member Functions

static resolvePageSizeForMaxCount ()
static getMaxCount ()

Data Fields

const CONFIG_KEY = 'KanbanMaxCount'
const CONFIG_MODULE_NAME = 'ZurmoModule'
 $enablePagination = false
 $groupByAttribute
 $groupByAttributeVisibleValues = array()
 $groupByDataAndTranslatedLabels = array()
 $cardColumns = array()
 $selectedTheme

Static Public Attributes

static $maxCount = 50

Protected Member Functions

 getOffset ()
 resolveGroupByColumnHeaderLabel ($value)
 resolveDataIntoKanbanColumns ()
 makeColumnsDataAndStructure ()
 registerScripts ()
 getAjaxForDroppedAttribute ()
 getUpdateAttributeValueUrl ()
 renderCardDetailsContent ($row)
 renderCardDataContent (array $cardData, RedBeanModel $model, $row)
 renderUlTagForKanbanColumn ($listItems, $attributeValue=null)
 getRowClassForKanbanColumn ()
 createRowForKanbanColumn ($row)
 getListItemsByAttributeValueAndData ($attributeValueAndData)
 wrapCardDetailsContent ($row)
 isMaxCountCheckRequired ()

Detailed Description

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

Definition at line 40 of file KanbanBoardExtendedGridView.php.


Member Function Documentation

static resolvePageSizeForMaxCount (  )  [static]

Need to grab one more than max count to check if we are over the max so we can properly display a message

Returns:
int

Definition at line 84 of file KanbanBoardExtendedGridView.php.

static getMaxCount (  )  [static]
Returns:
int

Definition at line 92 of file KanbanBoardExtendedGridView.php.

renderTableBody (  ) 

Renders the table body.

Reimplemented from StackedExtendedGridView.

Definition at line 111 of file KanbanBoardExtendedGridView.php.

renderOverMaxCountText (  ) 

Renders the empty message when there is no data.

Definition at line 153 of file KanbanBoardExtendedGridView.php.

getOffset (  )  [protected]
Returns:
int

Definition at line 166 of file KanbanBoardExtendedGridView.php.

resolveGroupByColumnHeaderLabel ( value  )  [protected]
Parameters:
$value 
Returns:
string

Definition at line 184 of file KanbanBoardExtendedGridView.php.

resolveDataIntoKanbanColumns (  )  [protected]
Returns:
array

Reimplemented in TaskKanbanBoardExtendedGridView.

Definition at line 196 of file KanbanBoardExtendedGridView.php.

makeColumnsDataAndStructure (  )  [protected]
Returns:
array

Reimplemented in TaskKanbanBoardExtendedGridView.

Definition at line 212 of file KanbanBoardExtendedGridView.php.

getAjaxForDroppedAttribute (  )  [protected]
Returns:
string

Definition at line 241 of file KanbanBoardExtendedGridView.php.

getUpdateAttributeValueUrl (  )  [protected]
Returns:
string

Definition at line 263 of file KanbanBoardExtendedGridView.php.

renderCardDetailsContent ( row  )  [protected]
Parameters:
array $row
Returns:
string

Definition at line 275 of file KanbanBoardExtendedGridView.php.

renderUlTagForKanbanColumn ( listItems,
attributeValue = null 
) [protected]
Parameters:
string $listItems
string $attributeValue
Returns:
string

Reimplemented in TaskKanbanBoardExtendedGridView.

Definition at line 301 of file KanbanBoardExtendedGridView.php.

getRowClassForKanbanColumn (  )  [protected]
Returns:
string

Definition at line 309 of file KanbanBoardExtendedGridView.php.

createRowForKanbanColumn ( row  )  [protected]
Parameters:
int $row
Returns:
string

Definition at line 318 of file KanbanBoardExtendedGridView.php.

getListItemsByAttributeValueAndData ( attributeValueAndData  )  [protected]
Parameters:
array $attributeValueAndData
Returns:
string

Reimplemented in TaskKanbanBoardExtendedGridView.

Definition at line 329 of file KanbanBoardExtendedGridView.php.

wrapCardDetailsContent ( row  )  [protected]

Wraps card details content

Parameters:
int $row
Returns:
string

Definition at line 344 of file KanbanBoardExtendedGridView.php.

isMaxCountCheckRequired (  )  [protected]

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

Returns:
boolean

Reimplemented in TaskKanbanBoardExtendedGridView.

Definition at line 353 of file KanbanBoardExtendedGridView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Mar 24 07:10:26 2017