Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions
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 ()
 
- Public Member Functions inherited from PortletController
 actionSaveLayout ()
 
 actionModalConfigEdit ()
 
 actionModalConfigSave ($portletId, $uniqueLayoutId, array $portletParams=array())
 
 actionModalRefresh ($portletId, $uniqueLayoutId, $redirectUrl, array $portletParams=array(), $portletsAreRemovable=true)
 
- Public Member Functions inherited from Controller
 __construct ($id, $module=null)
 
 resolveAndGetModuleId ()
 
 renderBeginWidget ($className, $properties=array())
 
 renderEndWidget ()
 
 makeRedBeanDataProviderByDataCollection ($searchModel, $pageSize, $stateMetadataAdapterClassName=null, $dataCollection=null)
 

Data Fields

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

Protected Member Functions

 processSelectFromRelatedListSaveFails (RedBeanModel $model)
 
 processSelectFromRelatedListSaveAlreadyConnected (RedBeanModel $model)
 
 resolveMaximumColumnsByLayoutId ()
 
 resetPortletsInColumnToAccomodateNewPortlet ($maximumColumns)
 
 getPortletViewForDetails ($id)
 
- Protected Member Functions inherited from PortletController
 actionModalConfigValidate ()
 
 resolveAddingRelationModelIdToPortletParams ($portlet)
 
- Protected Member Functions inherited from Controller
 resolveKanbanBoardMetadataBeforeMakingDataProvider ($searchForm, &$metadata)
 
 resolveFilteredByMetadataBeforeMakingDataProvider ($searchForm, &$metadata)
 
 resolveMetadataBeforeMakingDataProvider (&$metadata)
 
 makeDetailsAndRelationsView ($model, $moduleClassName, $viewClassName, $redirectUrl, $breadCrumbView=null)
 
 resolveAdditionalParametersForDetailsAndRelationsView ($viewClassName)
 
 makeTitleBarAndEditAndDetailsView ($model, $renderType, $titleBarAndEditViewClassName= 'TitleBarAndEditAndDetailsView')
 
 makeEditAndDetailsView ($model, $renderType)
 
 makeTitleBarAndEditView ($model, $titleBarAndEditViewClassName)
 
 makeTitleBarAndDetailsView ($model, $titleBarAndDetailsViewClassName= 'TitleBarAndDetailsView')
 
 resolveActiveAttributesFromMassEditPost ()
 
 resolveActiveAttributesFromMassDeletePost ()
 
 makeMassEditView ($model, $activeAttributes, $selectedRecordCount, $title)
 
 makeMassDeleteView ($model, $activeAttributes, $selectedRecordCount, $title, $massDeleteViewClassName= 'MassDeleteView', $useModuleClassNameForItemLabel=true)
 
 getMassEditProgressStartFromGet ($getVariableName, $pageSize)
 
 getMassDeleteProgressStartFromGet ($getVariableName, $pageSize)
 
 attemptToValidateAjaxFromPost ($model, $postVariableName)
 
 getModelsToSave ($modelClassName, $dataProvider, $selectedRecordCount, $page, $pageSize)
 
 getModelsToDelete ($modelClassName, $dataProvider, $selectedRecordCount, $page, $pageSize)
 
 makeListMergeView ($model, $viewPrefix, $selectedList=array())
 

Additional Inherited Members

- Static Protected Member Functions inherited from Controller
static resolveDynamicSearchMetadata ($searchModel, $metadata, SearchAttributesDataCollection $dataCollection)
 
static resolveActiveAttributesFromPostForMassAction ($actionId)
 
static getSelectedRecordCountByResolvingSelectAllFromGet ($dataProvider, $countEmptyStringAsElement=true)
 
static getMassActionProgressStartFromGet ($pageVariableName, $pageSize)
 
static getModelsToUpdate ($modelClassName, $dataProvider, $selectedRecordCount, $page, $pageSize)
 
static getMassEditAlertMessage ($postVariableName)
 
static resolveMassEditAlertMessage ($postVariableName)
 

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

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

Definition at line 240 of file ZurmoPortletController.php.

resolveMaximumColumnsByLayoutId ( )
protected

Resolve maximum columns by layout id

Returns
int

Definition at line 274 of file ZurmoPortletController.php.

resetPortletsInColumnToAccomodateNewPortlet (   $maximumColumns)
protected

Reset portlet positions when a new portlet is added on the detail view

Parameters
int$maximumColumns

Definition at line 286 of file ZurmoPortletController.php.


The documentation for this class was generated from the following file:
Generated on Tue Sep 22 2020 07:11:10
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.