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
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 ()
 
- Public Member Functions inherited from SecuredListView
 getLinkString ($attributeString, $attribute)
 
 getRelatedLinkString ($attributeString, $attributeName, $moduleId)
 
- 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

 getKanbanBoardTitle ()
 
 getCreateLinkRouteParameters ()
 
 renderContent ()
 
 resolveExtraParamsForKanbanBoard ()
 
 getCardColumns ()
 
 getCGridViewColumns ()
 
 resolvePaginationParams ()
 
 makeSearchAttributeData ()
 
 renderActionElementBar ($renderedInForm)
 
 getGridViewWidgetPath ()
 
 getCGridViewParams ()
 
 getGridId ()
 
 renderKanbanViewTitleWithActionBars ()
 
 resolveShouldRenderActionBarLinksForKanbanBoard ()
 
 shouldRenderActionBarLinksForKanbanBoard ()
 
 registerKanbanGridScript ()
 
 getCGridViewAfterAjaxUpdate ()
 
 resolveConfigForDataProvider ()
 
 renderUIOverLayBlock ()
 
 getCGridViewBeforeAjaxUpdate ()
 
 getShowTableOnEmpty ()
 
 renderSearchView ()
 
- Protected Member Functions inherited from SecuredListView
 getCGridViewLastColumn ()
 
- 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
 

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

Definition at line 86 of file TasksKanbanView.php.

Member Function Documentation

static getDefaultMetadata ( )
static
Returns
array

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.

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

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.

Implements ListViewInterface.

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

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.

Definition at line 268 of file TasksKanbanView.php.

getGridViewWidgetPath ( )
protected
Returns
string

Definition at line 287 of file TasksKanbanView.php.

getCGridViewParams ( )
protected
Returns
string

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 ( )
staticprotected

Modify the grid template for kanban view

Returns
string

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

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

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

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:
Generated on Sat Jan 25 2020 07:10:46