TasksKanbanView Class Reference

Inheritance diagram for TasksKanbanView:
SecuredListView ListView ModelView ListViewInterface ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $modelClassName, $dataProvider, $params, $gridIdSuffix=null, $gridViewPagerParams=array(), $kanbanBoard=null, $searchModel=null)
 getLinkString ($attributeString, $attribute)
 resolveLinkString ($data, $row)
 renderPortletHeadContent ()
 getTitle ()
 getSummaryCloneId ()

Static Public Member Functions

static getDefaultMetadata ()
static getModuleClassName ()
static getDesignerRulesType ()
static getDefaultPageSize ()

Protected Member Functions

 getKanbanBoardTitle ()
 getCreateLinkRouteParameters ()
 renderContent ()
 resolveExtraParamsForKanbanBoard ()
 getCardColumns ()
 getCGridViewColumns ()
 resolvePaginationParams ()
 makeSearchAttributeData ()
 renderActionElementBar ($renderedInForm)
 getGridViewWidgetPath ()
 getCGridViewParams ()
 getGridId ()
 renderKanbanViewTitleWithActionBars ()
 resolveShouldRenderActionBarLinksForKanbanBoard ()
 shouldRenderActionBarLinksForKanbanBoard ()
 registerKanbanGridScript ()
 getCGridViewAfterAjaxUpdate ()
 resolveConfigForDataProvider ()
 renderUIOverLayBlock ()
 getCGridViewBeforeAjaxUpdate ()
 getShowTableOnEmpty ()
 renderSearchView ()

Static Protected Member Functions

static getGridTemplate ()

Protected Attributes

 $renderViewToolBarDuringRenderContent = true
 $searchFormModel

Static Protected Attributes

static $defaultPageSize = 1000

Detailed Description

Kanban view for tasks

Definition at line 39 of file TasksKanbanView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
modelClassName,
dataProvider,
params,
gridIdSuffix = null,
gridViewPagerParams = array(),
kanbanBoard = null,
searchModel = null 
)

Constructor for the view

Parameters:
string $controllerId
string $moduleId
string $modelClassName
object $dataProvider
array $params
string $gridIdSuffix
array $gridViewPagerParams
object $kanbanBoard

Reimplemented from ListView.

Definition at line 86 of file TasksKanbanView.php.


Member Function Documentation

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from ListView.

Definition at line 54 of file TasksKanbanView.php.

getKanbanBoardTitle (  )  [protected]
Returns:
string

Definition at line 120 of file TasksKanbanView.php.

renderContent (  )  [protected]

Renders content for a list view. Utilizes a CActiveDataprovider and a CGridView widget. and form layout.

Returns:
A string containing the element's content.

Reimplemented from ListView.

Definition at line 136 of file TasksKanbanView.php.

resolveExtraParamsForKanbanBoard (  )  [protected]

Resolve extra parameters for kanban board

Returns:
array

Definition at line 161 of file TasksKanbanView.php.

getCardColumns (  )  [protected]
Returns:
array

Definition at line 169 of file TasksKanbanView.php.

getCGridViewColumns (  )  [protected]
Returns:
array

Reimplemented from ListView.

Definition at line 187 of file TasksKanbanView.php.

static getModuleClassName (  )  [static]

Gets module class name for the view

Returns:
string

Definition at line 197 of file TasksKanbanView.php.

resolvePaginationParams (  )  [protected]

Resolves pagination params

Returns:
array

Definition at line 206 of file TasksKanbanView.php.

makeSearchAttributeData (  )  [protected]

Makes search attribute data

Returns:
array

Definition at line 215 of file TasksKanbanView.php.

getLinkString ( attributeString,
attribute 
)

Override to handle security/access resolution on links.

Reimplemented from SecuredListView.

Definition at line 224 of file TasksKanbanView.php.

resolveLinkString ( data,
row 
)

Resolves the link string for task detail modal view

Parameters:
array $data
int $row
Returns:
string

Definition at line 235 of file TasksKanbanView.php.

renderPortletHeadContent (  ) 
Returns:
null

Definition at line 247 of file TasksKanbanView.php.

getTitle (  ) 

Gets title for kanban board

Returns:
string

Reimplemented from ConfigurableMetadataView.

Definition at line 256 of file TasksKanbanView.php.

renderActionElementBar ( renderedInForm  )  [protected]

Render a toolbar above the form layout. This includes buttons and/or links to go to different views or process actions such as save or delete

Parameters:
boolean $renderedInForm
Returns:
A string containing the element's content.

Reimplemented from MetadataView.

Definition at line 268 of file TasksKanbanView.php.

getGridViewWidgetPath (  )  [protected]
Returns:
string

Reimplemented from ListView.

Definition at line 287 of file TasksKanbanView.php.

getCGridViewParams (  )  [protected]
Returns:
string

Reimplemented from ListView.

Definition at line 295 of file TasksKanbanView.php.

getGridId (  )  [protected]

Get grid id

Returns:
string

Definition at line 311 of file TasksKanbanView.php.

renderKanbanViewTitleWithActionBars (  )  [protected]

Renders kanban view with action bars

Returns:
string

Definition at line 320 of file TasksKanbanView.php.

static getGridTemplate (  )  [static, protected]

Modify the grid template for kanban view

Returns:
string

Reimplemented from ListView.

Definition at line 356 of file TasksKanbanView.php.

static getDesignerRulesType (  )  [static]

Override in each sub-class if you have applicable designer rules for handling the modification of metadata layouts

Returns:
null or a DesignerRules Class;

Reimplemented from ListView.

Definition at line 363 of file TasksKanbanView.php.

registerKanbanGridScript (  )  [protected]

Register kanban grid script

Definition at line 371 of file TasksKanbanView.php.

getCGridViewAfterAjaxUpdate (  )  [protected]

Calling TaskKanbanBoardExtendedGridView::registerKanbanColumnSortableScript in order to reinitialize the sorting for the card columns after the board is refreshed

Returns:
string

Reimplemented from ListView.

Definition at line 395 of file TasksKanbanView.php.

resolveConfigForDataProvider (  )  [protected]

Resolve configuration for data provider

Returns:
array

Definition at line 421 of file TasksKanbanView.php.

getCGridViewBeforeAjaxUpdate (  )  [protected]

Override to take care of blocking kanban by overlay

Returns:
string

Reimplemented from ListView.

Definition at line 440 of file TasksKanbanView.php.

getShowTableOnEmpty (  )  [protected]

Show the table on empty as we need the javascripts initialized when first task is created

Returns:
boolean

Reimplemented from ListView.

Definition at line 454 of file TasksKanbanView.php.

renderSearchView (  )  [protected]

Renders search view.

Returns:
string

Definition at line 463 of file TasksKanbanView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Sep 20 07:11:11 2019