ModalListLinkActionElement Class Reference

Inheritance diagram for ModalListLinkActionElement:
DropdownSupportedAjaxLinkActionElement DropdownSupportedLinkActionElement LinkActionElement SupportsRenderingDropDownInterface ActionElement AccountOrgChartLinkActionElement AuditEventsModalListLinkActionElement GameDashboardLinkActionElement UsersModalListLinkActionElement TaskAuditEventsModalListLinkActionElement

Public Member Functions

 getElementValue ()
 getActionType ()
 render ()
 renderMenuItem ()

Static Public Member Functions

static shouldRenderAsDropDownWhenRequired ()

Protected Member Functions

 getAjaxLinkOptions ()
 getDefaultRoute ()
 getAjaxLinkTitle ()
 getRouteAction ()
 getModalContainerId ()

Detailed Description

Definition at line 37 of file ModalListLinkActionElement.php.


Member Function Documentation

static shouldRenderAsDropDownWhenRequired (  )  [static]

Sometimes even though the element supports rendering as a dropDown, it doesn't mean it should. An example is the leaderboard. This should continue to render as normal links.

Returns:
boolean

Reimplemented from DropdownSupportedLinkActionElement.

Reimplemented in GameDashboardLinkActionElement, and AuditEventsModalListLinkActionElement.

Definition at line 39 of file ModalListLinkActionElement.php.

renderMenuItem (  ) 

Override in child class to add support for rendering the element as a menu item.

Reimplemented from DropdownSupportedLinkActionElement.

Definition at line 62 of file ModalListLinkActionElement.php.

getModalContainerId (  )  [protected]

Get the modal container id

Returns:
string

Reimplemented in TaskAuditEventsModalListLinkActionElement.

Definition at line 94 of file ModalListLinkActionElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jul 25 07:10:27 2017