TasksForRelatedKanbanView Class Reference

Inheritance diagram for TasksForRelatedKanbanView:
SecuredRelatedListView RelatedListView ListView PortletViewInterface RelatedPortletViewInterface ModelView ListViewInterface ConfigurableMetadataView MetadataView View TasksForAccountKanbanView TasksForContactKanbanView TasksForLeadKanbanView TasksForOpportunityKanbanView TasksForProjectKanbanView

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

Static Protected Member Functions

static getGridTemplate ()

Protected Attributes

 $renderViewToolBarDuringRenderContent = true

Static Protected Attributes

static $defaultPageSize = 1000

Detailed Description

Kanban view for tasks related to account/contact/lead/opportunity

Definition at line 39 of file TasksForRelatedKanbanView.php.


Constructor & Destructor Documentation

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

Constructor for the view

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

Definition at line 90 of file TasksForRelatedKanbanView.php.


Member Function Documentation

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from ListView.

Reimplemented in TasksForProjectKanbanView.

Definition at line 52 of file TasksForRelatedKanbanView.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 122 of file TasksForRelatedKanbanView.php.

resolveExtraParamsForKanbanBoard (  )  [protected]

Resolve extra parameters for kanban board

Returns:
array

Definition at line 145 of file TasksForRelatedKanbanView.php.

getCardColumns (  )  [protected]
Returns:
array

Definition at line 153 of file TasksForRelatedKanbanView.php.

getCGridViewColumns (  )  [protected]
Returns:
array

Reimplemented from ListView.

Definition at line 170 of file TasksForRelatedKanbanView.php.

static getModuleClassName (  )  [static]

Gets module class name for the view

Returns:
string

Implements PortletViewInterface.

Definition at line 180 of file TasksForRelatedKanbanView.php.

resolvePaginationParams (  )  [protected]

Resolves pagination params

Returns:
array

Reimplemented from RelatedListView.

Definition at line 189 of file TasksForRelatedKanbanView.php.

makeSearchAttributeData (  )  [protected]

Makes search attribute data

Returns:
array

Reimplemented from RelatedListView.

Reimplemented in TasksForProjectKanbanView.

Definition at line 198 of file TasksForRelatedKanbanView.php.

getLinkString ( attributeString,
attribute 
)

Override to handle security/access resolution on links.

Reimplemented from SecuredRelatedListView.

Definition at line 216 of file TasksForRelatedKanbanView.php.

resolveLinkString ( data,
row 
)

Resolves the link string for task detail modal view

Parameters:
array $data
int $row
Returns:
string

Definition at line 227 of file TasksForRelatedKanbanView.php.

getRelationAttributeName (  )  [protected]

Gets relation attribute name

Returns:
null

Reimplemented from RelatedListView.

Reimplemented in TasksForAccountKanbanView, TasksForContactKanbanView, TasksForLeadKanbanView, TasksForOpportunityKanbanView, and TasksForProjectKanbanView.

Definition at line 240 of file TasksForRelatedKanbanView.php.

renderPortletHeadContent (  ) 
Returns:
null

Reimplemented from RelatedListView.

Definition at line 248 of file TasksForRelatedKanbanView.php.

getTitle (  ) 

Gets title for kanban board

Returns:
string

Reimplemented from RelatedListView.

Definition at line 257 of file TasksForRelatedKanbanView.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 269 of file TasksForRelatedKanbanView.php.

getGridViewWidgetPath (  )  [protected]
Returns:
string

Reimplemented from RelatedListView.

Definition at line 295 of file TasksForRelatedKanbanView.php.

getCGridViewParams (  )  [protected]
Returns:
string

Reimplemented from ListView.

Definition at line 303 of file TasksForRelatedKanbanView.php.

getGridId (  )  [protected]

Get grid id

Returns:
string

Definition at line 314 of file TasksForRelatedKanbanView.php.

renderKanbanViewTitleWithActionBars (  )  [protected]

Renders kanban view with action bars

Returns:
string

Definition at line 323 of file TasksForRelatedKanbanView.php.

static getGridTemplate (  )  [static, protected]

Modify the grid template for kanban view

Returns:
string

Reimplemented from RelatedListView.

Definition at line 359 of file TasksForRelatedKanbanView.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 RelatedListView.

Definition at line 366 of file TasksForRelatedKanbanView.php.

registerKanbanGridScript (  )  [protected]

Register kanban grid script

Definition at line 374 of file TasksForRelatedKanbanView.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 RelatedListView.

Definition at line 398 of file TasksForRelatedKanbanView.php.

resolveConfigForDataProvider (  )  [protected]

Resolve configuration for data provider

Returns:
array

Reimplemented from RelatedListView.

Definition at line 424 of file TasksForRelatedKanbanView.php.

getCGridViewBeforeAjaxUpdate (  )  [protected]

Override to take care of blocking kanban by overlay

Returns:
string

Reimplemented from ListView.

Definition at line 443 of file TasksForRelatedKanbanView.php.

getShowTableOnEmpty (  )  [protected]

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

Returns:
boolean

Reimplemented from RelatedListView.

Definition at line 457 of file TasksForRelatedKanbanView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jul 24 07:10:30 2017