ZurmoPortletController Class Reference

Inheritance diagram for ZurmoPortletController:
PortletController Controller AccountsDefaultPortletController CampaignsDefaultPortletController ContactsDefaultPortletController ConversationsDefaultPortletController GameRewardsDefaultPortletController HomeDefaultPortletController LeadsDefaultPortletController MarketingDefaultPortletController MarketingListsDefaultPortletController MeetingsDefaultPortletController MissionsDefaultPortletController NotesDefaultPortletController OpportunitiesDefaultPortletController ProductsDefaultPortletController ProductTemplatesDefaultPortletController ProjectsDefaultPortletController ReportsDefaultPortletController UsersDefaultPortletController

Public Member Functions

 filters ()
 actionDetails ($id)
 actionListDetails ($id)
 actionMyListDetails ()
 actionViewAction ($id, $action)
 actionMyListViewAction ($action)
 actionSelectFromRelatedListSave ($modelId, $portletId, $uniqueLayoutId, $relationAttributeName, $relationModelId, $relationModuleId, $relationModelClassName=null)
 resolveAndGetModuleId ()
 actionAddList ()
 actionAdd ()

Data Fields

const RIGHTS_FILTER_PATH = 'application.modules.zurmo.controllers.filters.RightsControllerFilter'

Protected Member Functions

 processSelectFromRelatedListSaveFails (RedBeanModel $model)
 processSelectFromRelatedListSaveAlreadyConnected (RedBeanModel $model)
 getPortletViewForDetails ($id)

Detailed Description

Definition at line 37 of file ZurmoPortletController.php.


Member Function Documentation

actionListDetails ( id  ) 

Used by details with list view to do pagination and ordering

Parameters:
integer $id

Definition at line 74 of file ZurmoPortletController.php.

actionMyListDetails (  ) 

Used by my list portlets to do pagination and sort order changes.

Parameters:
integer $id

Definition at line 92 of file ZurmoPortletController.php.

actionViewAction ( id,
action 
)

Used by my portlets to process or render actions on the portlet's view. An example is changing the month of the calendar, requires additional calendar events to be loaded.

Parameters:
integer $id

Definition at line 112 of file ZurmoPortletController.php.

actionMyListViewAction ( action  ) 

Used by my list portlets to process or render actions on the portlet's view. An example is changing the month of the calendar, requires additional calendar events to be loaded.

Parameters:
integer $id

Definition at line 139 of file ZurmoPortletController.php.

actionSelectFromRelatedListSave ( modelId,
portletId,
uniqueLayoutId,
relationAttributeName,
relationModelId,
relationModuleId,
relationModelClassName = null 
)

In a detail view, after you hit select from a sub view a modal listview will appear. If you select a row in that view, then this action is called. This action will relate the selected model to the detail view model. Then it will redirect to a portlet action that refreshes the portlet. Some parameters are passed to that redirect that ensure continuity on futher actions that rely on existing $_GET information.

Parameters:
string $modelId
string $portletId
string $uniqueLayoutId
string $relationAttributeName
string $relationModelId
string $relationModuleId
null|string $relationModelClassName

Reimplemented in MarketingListsDefaultPortletController.

Definition at line 163 of file ZurmoPortletController.php.

actionAdd (  ) 

Add portlet to first column, first position and if there are other portlets in the first column, shift their postion by 1 to accomodate the new portlet

Reimplemented in HomeDefaultPortletController.

Definition at line 240 of file ZurmoPortletController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 24 07:10:32 2017