DropdownSupportedLinkActionElement Class Reference

Inheritance diagram for DropdownSupportedLinkActionElement:
LinkActionElement SupportsRenderingDropDownInterface ActionElement DetailsLinkActionElement DropdownSupportedAjaxLinkActionElement EditLinkActionElement MeetingDetailsLinkActionElement ProductDetailsLinkActionElement TaskDetailsLinkActionElement AddPortletAjaxLinkActionElement AddPortletAjaxLinkOnDetailViewActionElement ModalListLinkActionElement TaskModalCloneFromModalDetailsLinkActionElement TaskModalEditFromModalDetailsLinkActionElement AutoresponderEditLinkActionElement ConversationsClosedLinkActionElement ConversationsCreatedLinkActionElement ConversationsParticipantLinkActionElement MeetingEditLinkActionElement MissionsAvailableLinkActionElement MissionsCreatedLinkActionElement MissionsMineTakenButNotAcceptedLinkActionElement ProductEditLinkActionElement ProjectEditLinkActionElement ProjectsDashboardLinkActionElement ProjectsListLinkActionElement TaskEditLinkActionElement

Public Member Functions

 getElementValue ()
 registerDropDownScripts ($dropDownId=null, $scriptName=null)
 renderMenuItem ()
 getOptGroup ()
 getOptions ()

Static Public Member Functions

static useItemUrlAsElementValue ()
static getDropDownId ()
static shouldRenderAsDropDownWhenRequired ()

Data Fields

const MENU_ID = 'ListViewActionMenu'

Protected Member Functions

 getListViewGridId ()

Detailed Description

Parent class for all ActionElements that support rendering as dropdown

Definition at line 40 of file DropdownSupportedLinkActionElement.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

Implements SupportsRenderingDropDownInterface.

Reimplemented in DetailsLinkActionElement, EditLinkActionElement, ModalListLinkActionElement, AutoresponderEditLinkActionElement, GameDashboardLinkActionElement, and AuditEventsModalListLinkActionElement.

Definition at line 56 of file DropdownSupportedLinkActionElement.php.

renderMenuItem (  ) 

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

Reimplemented from LinkActionElement.

Reimplemented in ModalListLinkActionElement, TaskModalCloneFromModalDetailsLinkActionElement, and TaskModalEditFromModalDetailsLinkActionElement.

Definition at line 110 of file DropdownSupportedLinkActionElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat May 27 07:10:24 2017