Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 Tue Jan 15 07:10:26 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8