All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
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, $searchModel=null)
 
 getSummaryCloneId ()
 
 getLinkString ($attributeString, $attribute)
 
 resolveLinkString ($data, $row)
 
 renderPortletHeadContent ()
 
 getTitle ()
 
- Public Member Functions inherited from ListView
 __construct ($controllerId, $moduleId, $modelClassName, $dataProvider, $selectedIds, $gridIdSuffix=null, $gridViewPagerParams=array(), $listAttributesSelector=null, $kanbanBoard=null)
 
 getRowsAreSelectable ()
 
 setRowsAreSelectable ($value)
 
 getSummaryCloneId ()
 
 getTableColumnGroup ()
 
 setEmptyText ($text)
 
 getGridViewId ()
 
 getLinkString ($attributeString, $attribute)
 
 getRelatedLinkString ($attributeString, $attributeName, $moduleId)
 
 getModuleId ()
 
 getControllerId ()
 
- Public Member Functions inherited from ModelView
 getModelClassName ()
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

Static Public Member Functions

static getDefaultMetadata ()
 
static getModuleClassName ()
 
static getDesignerRulesType ()
 
static getDefaultPageSize ()
 
- Static Public Member Functions inherited from ListView
static getDefaultMetadata ()
 
static canRenderRowMenuColumnByElementAndData ($element, $data)
 
static resolveRelatedListStringContent ($modelId, $linkStringContent)
 
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 ()
 
 renderSearchView ()
 
- Protected Member Functions inherited from ListView
 getKanbanBoard ()
 
 setKanbanBoard ($kanbanBoard)
 
 renderContent ()
 
 getGridViewWidgetPath ()
 
 getCGridViewParams ()
 
 getTypeCssClassForCGridView ()
 
 getKanbanCssClassForCGridView ()
 
 getCGridViewPagerParams ()
 
 getShowTableOnEmpty ()
 
 getEmptyText ()
 
 getCGridViewFirstColumn ()
 
 getCGridViewColumns ()
 
 resolveMetadata ()
 
 getResolvedMetadata ()
 
 getCGridViewBeforeAjaxUpdate ()
 
 getCGridViewAfterAjaxUpdate ()
 
 getCGridViewAjaxUrl ()
 
 getCGridViewSelectableRowsCount ()
 
 getCGridViewLastColumn ()
 
 getGridViewMenuColumn ()
 
 getGridViewActionRoute ($action, $moduleId=null)
 
 getListActionId ()
 
 getActionModuleClassName ()
 
 getDataProvider ()
 
 renderScripts ()
 
 processColumnInfoToFetchColumnData ($columnInformation)
 
 isHeaderHidden ()
 
 resolveRowMenuColumnClass ()
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Static Protected Member Functions

static getGridTemplate ()
 
- Static Protected Member Functions inherited from ListView
static getGridTemplate ()
 
static getPagerCssClass ()
 
static getSummaryText ()
 
static getSummaryCssClass ()
 
- Static Protected Member Functions inherited from ModelView
static assertMetadataIsValid (array $metadata)
 

Protected Attributes

 $renderViewToolBarDuringRenderContent = true
 
 $searchFormModel
 
- Protected Attributes inherited from ListView
 $controllerId
 
 $moduleId
 
 $dataProvider
 
 $renderViewToolBarDuringRenderContent = true
 
 $rowsAreSelectable = false
 
 $gridId
 
 $gridIdSuffix
 
 $selectedIds
 
 $gridViewPagerParams = array()
 
 $emptyText = null
 
- Protected Attributes inherited from ModelView
 $modelClassName
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Static Protected Attributes

static $defaultPageSize = 1000
 

Additional Inherited Members

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,
  $searchModel = 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 92 of file TasksForRelatedKanbanView.php.

Member Function Documentation

static getDefaultMetadata ( )
static
Returns
array

Definition at line 54 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.

Definition at line 130 of file TasksForRelatedKanbanView.php.

resolveExtraParamsForKanbanBoard ( )
protected

Resolve extra parameters for kanban board

Returns
array

Definition at line 157 of file TasksForRelatedKanbanView.php.

getCardColumns ( )
protected
Returns
array

Definition at line 170 of file TasksForRelatedKanbanView.php.

getCGridViewColumns ( )
protected
Returns
array

Definition at line 188 of file TasksForRelatedKanbanView.php.

static getModuleClassName ( )
static

Gets module class name for the view

Returns
string

Implements PortletViewInterface.

Definition at line 198 of file TasksForRelatedKanbanView.php.

resolvePaginationParams ( )
protected

Resolves pagination params

Returns
array

Definition at line 207 of file TasksForRelatedKanbanView.php.

makeSearchAttributeData ( )
protected

Makes search attribute data

Returns
array

Definition at line 216 of file TasksForRelatedKanbanView.php.

getLinkString (   $attributeString,
  $attribute 
)

Override to handle security/access resolution on links.

Implements ListViewInterface.

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

getRelationAttributeName ( )
protected

Gets relation attribute name

Returns
null

Definition at line 258 of file TasksForRelatedKanbanView.php.

renderPortletHeadContent ( )
Returns
null

Implements PortletViewInterface.

Definition at line 266 of file TasksForRelatedKanbanView.php.

getTitle ( )

Gets title for kanban board

Returns
string

Definition at line 275 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.

Definition at line 287 of file TasksForRelatedKanbanView.php.

getGridViewWidgetPath ( )
protected
Returns
string

Definition at line 313 of file TasksForRelatedKanbanView.php.

getCGridViewParams ( )
protected
Returns
string

Definition at line 321 of file TasksForRelatedKanbanView.php.

getGridId ( )
protected

Get grid id

Returns
string

Definition at line 332 of file TasksForRelatedKanbanView.php.

renderKanbanViewTitleWithActionBars ( )
protected

Renders kanban view with action bars

Returns
string

Definition at line 341 of file TasksForRelatedKanbanView.php.

static getGridTemplate ( )
staticprotected

Modify the grid template for kanban view

Returns
string

Definition at line 377 of file TasksForRelatedKanbanView.php.

registerKanbanGridScript ( )
protected

Register kanban grid script

Definition at line 392 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

Definition at line 416 of file TasksForRelatedKanbanView.php.

resolveConfigForDataProvider ( )
protected

Resolve configuration for data provider

Returns
array

Definition at line 442 of file TasksForRelatedKanbanView.php.

getCGridViewBeforeAjaxUpdate ( )
protected

Override to take care of blocking kanban by overlay

Returns
string

Definition at line 461 of file TasksForRelatedKanbanView.php.

getShowTableOnEmpty ( )
protected

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

Returns
boolean

Definition at line 475 of file TasksForRelatedKanbanView.php.

renderSearchView ( )
protected

Renders search view.

Returns
string

Definition at line 484 of file TasksForRelatedKanbanView.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:44