Controller Class Reference

Inheritance diagram for Controller:
ContactsVariableContactStateController ExportDefaultController PortletController ZurmoBaseController ZurmoReadPermissionsController ZurmoTestController ZurmoPortletController CommentsDefaultController ConfigurationDefaultController ContactWebFormsDefaultContactWebFormEntryController DesignerDefaultController EmailMessagesDefaultController HomeDefaultController ImportDefaultController MarketingDefaultController NotificationsDefaultController ReportsDefaultController SocialItemsDefaultController WorkflowsDefaultController WorkflowsDefaultMessageQueueController WorkflowsDefaultTimeQueueController ZurmoDefaultController ZurmoModuleApiController ZurmoModuleController

Public Member Functions

 __construct ($id, $module=null)
 renderBeginWidget ($className, $properties=array())
 renderEndWidget ()
 makeRedBeanDataProviderByDataCollection ($searchModel, $pageSize, $stateMetadataAdapterClassName=null, $dataCollection=null)

Protected Member Functions

 resolveKanbanBoardMetadataBeforeMakingDataProvider ($searchForm, &$metadata)
 resolveFilteredByMetadataBeforeMakingDataProvider ($searchForm, &$metadata)
 resolveMetadataBeforeMakingDataProvider (&$metadata)
 makeDetailsAndRelationsView ($model, $moduleClassName, $viewClassName, $redirectUrl, $breadCrumbView=null)
 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())

Static Protected Member Functions

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 Controller extended by all application controllers

Definition at line 41 of file Controller.php.


Member Function Documentation

makeRedBeanDataProviderByDataCollection ( searchModel,
pageSize,
stateMetadataAdapterClassName = null,
dataCollection = null 
)

Utilizes information from the dataCollection object to make a RedBeanDataProvider. Either looks at saved search information or params in the $_GET array. variables: modelName_sort modelName where modelName is Account for example. Typically utilized by a listView action.

Definition at line 75 of file Controller.php.

resolveActiveAttributesFromMassDeletePost (  )  [protected]

for mass delete

Definition at line 260 of file Controller.php.

makeMassDeleteView ( model,
activeAttributes,
selectedRecordCount,
title,
massDeleteViewClassName = 'MassDeleteView',
useModuleClassNameForItemLabel = true 
) [protected]

for mass delete

Reimplemented in ContactWebFormsDefaultContactWebFormEntryController.

Definition at line 286 of file Controller.php.

getMassDeleteProgressStartFromGet ( getVariableName,
pageSize 
) [protected]

for Mass Delete

Definition at line 353 of file Controller.php.

getModelsToDelete ( modelClassName,
dataProvider,
selectedRecordCount,
page,
pageSize 
) [protected]

for mass delete

Definition at line 420 of file Controller.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jun 27 07:10:23 2017