ViewTypesToggleLinkActionElement Class Reference

Inheritance diagram for ViewTypesToggleLinkActionElement:
LinkActionElement ActionElement DetailsAndRelationsViewTypesToggleLinkActionElement ListViewTypesToggleLinkActionElement

Public Member Functions

 getActionType ()
 render ()
 renderMenuItem ()

Data Fields

const TYPE_KANBAN_BOARD = 'KanbanBoard'
const TYPE_NON_KANBAN_BOARD = 'NonKanbanBoard'

Protected Member Functions

 resolveLabelForNonKanbanBoard ()
 getKanbanBoardUrl ()
 getNonKanbanBoardUrl ()
 getViewLabelForNonKanbanBoard ()
 resolveLabelForKanbanBoard ()
 resolveKanbanBoardClass ()
 resolveNonKanbanBoardClass ()
 getDefaultLabel ()
 getDefaultRoute ()
 getActive ()

Detailed Description

Used to render multiple listview options such as grid, kanban or cards.

Definition at line 40 of file ViewTypesToggleLinkActionElement.php.


Member Function Documentation

getActionType (  ) 
Returns:
null

Reimplemented from ActionElement.

Definition at line 57 of file ViewTypesToggleLinkActionElement.php.

render (  ) 
Returns:
string

Reimplemented from LinkActionElement.

Definition at line 65 of file ViewTypesToggleLinkActionElement.php.

renderMenuItem (  ) 

Selecting a different type of view is not supported right now in mobile.

Returns:
array|void
Exceptions:
NotSupportedException 

Reimplemented from LinkActionElement.

Definition at line 94 of file ViewTypesToggleLinkActionElement.php.

resolveKanbanBoardClass (  )  [protected]
Returns:
string

Definition at line 108 of file ViewTypesToggleLinkActionElement.php.

resolveNonKanbanBoardClass (  )  [protected]
Returns:
string

Definition at line 121 of file ViewTypesToggleLinkActionElement.php.

getDefaultLabel (  )  [protected]
Returns:
string

Reimplemented from ActionElement.

Definition at line 134 of file ViewTypesToggleLinkActionElement.php.

getDefaultRoute (  )  [protected]
Returns:
null

Reimplemented from ActionElement.

Definition at line 142 of file ViewTypesToggleLinkActionElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Sep 24 07:10:31 2017