All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
MarketingListsDefaultPortletController Class Reference
Inheritance diagram for MarketingListsDefaultPortletController:
ZurmoPortletController PortletController Controller

Public Member Functions

 actionDelete ($id)
 
 actionToggleUnsubscribed ($id)
 
 actionCountMembers ($marketingListId)
 
 actionSubscribeContacts ($marketingListId, $id, $type, $page=1, $subscribedCount=0, $skippedCount=0)
 
 actionSelectFromRelatedListSave ($modelId, $portletId, $uniqueLayoutId, $relationAttributeName, $relationModelId, $relationModuleId, $relationModelClassName=null)
 
- Public Member Functions inherited from ZurmoPortletController
 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)
 

Protected Member Functions

 renderCompleteMessageBySubscriberInformation (array $subscriberInformation)
 
 addNewSubscribers ($marketingListId, $contactIds, $scenario=null)
 
 processSelectFromRelatedListSaveAlreadyConnected (RedBeanModel $model, Contact $contact=null)
 
- Protected Member Functions inherited from ZurmoPortletController
 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

- Data Fields inherited from ZurmoPortletController
const RIGHTS_FILTER_PATH = 'application.modules.zurmo.controllers.filters.RightsControllerFilter'
 
- 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 DefaultPortletController.php.

Member Function Documentation

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

Override to support adding a contact to a marketing list. This is currently the only type of select from related model that is supported for adding a marketing list

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

Definition at line 157 of file DefaultPortletController.php.


The documentation for this class was generated from the following file:
Generated on Mon May 25 2020 07:10:52