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 | Protected Member Functions
PortletController Class Reference
Inheritance diagram for PortletController:
Controller ZurmoPortletController AccountsDefaultPortletController CampaignsDefaultPortletController ContactsDefaultPortletController ConversationsDefaultPortletController GameRewardsDefaultPortletController HomeDefaultPortletController LeadsDefaultPortletController MarketingDefaultPortletController MarketingListsDefaultPortletController MeetingsDefaultPortletController MissionsDefaultPortletController NotesDefaultPortletController OpportunitiesDefaultPortletController ProductsDefaultPortletController ProductTemplatesDefaultPortletController ProjectsDefaultPortletController ReportsDefaultPortletController UsersDefaultPortletController

Public Member Functions

 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

 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

Framework portlet controller.

Definition at line 40 of file PortletController.php.

Member Function Documentation

actionSaveLayout ( )

Save layout changes including: collapse/show position change removed portlets

Definition at line 49 of file PortletController.php.

actionModalConfigEdit ( )

Called using Ajax. Renders a modal popup of the portlet's configuration view. Also called on 'save' of the modal popup form in order to validate form.

Definition at line 80 of file PortletController.php.

actionModalConfigSave (   $portletId,
  $uniqueLayoutId,
array  $portletParams = array() 
)

Called using Ajax.

Definition at line 112 of file PortletController.php.

actionModalRefresh (   $portletId,
  $uniqueLayoutId,
  $redirectUrl,
array  $portletParams = array(),
  $portletsAreRemovable = true 
)

Refresh portlet contents within a dashboard or details relation view. In the case of details relation view detect if the relationModelId is populated, in which case resolve and populate the relationModel. Resets controller back to default.

Parameters
string$portletId
string$uniqueLayoutId
string$redirectUrl
array$portletParams- optional argument which allows you to override the standard parameters.
bool$portletsAreRemovable

Definition at line 134 of file PortletController.php.

resolveAddingRelationModelIdToPortletParams (   $portlet)
protected

Override in children classes if you want to add relationModelId to portlet params

Definition at line 156 of file PortletController.php.


The documentation for this class was generated from the following file:
Generated on Mon Jul 13 2020 07:10:57
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.