Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

OpportunitiesDefaultController Class Reference

Inheritance diagram for OpportunitiesDefaultController:
ZurmoModuleController ZurmoBaseController Controller OpportunitiesDemoController

Public Member Functions

 filters ()
 actionList ($searchFormClassName=null)
 actionDetails ($id, $kanbanBoard=false)
 actionCreate ()
 actionCreateFromRelation ($relationAttributeName, $relationModelId, $relationModuleId, $redirectUrl)
 actionEdit ($id, $redirectUrl=null)
 actionCopy ($id)
 actionMassEdit ()
 actionMassEditProgressSave ()
 actionMassDelete ()
 actionMassDeleteProgress ()
 actionModalList ()
 actionDelete ($id)
 actionSelectFromRelatedList ($portletId, $uniqueLayoutId, $relationAttributeName, $relationModelId, $relationModuleId, $stateMetadataAdapterClassName=null)
 actionExport ()
 actionInlineCreateCommentFromAjax ($id, $uniquePageId)
 actionAddSubscriber ($id)
 actionRemoveSubscriber ($id)

Protected Member Functions

 resolveFilteredByMetadataBeforeMakingDataProvider ($searchForm, &$metadata)
 actionCreateByModel (Opportunity $opportunity, $redirectUrl=null)
 processEdit (Opportunity $opportunity, $redirectUrl=null)

Static Protected Member Functions

static getSearchFormClassName ()

Detailed Description

Definition at line 37 of file DefaultController.php.


Member Function Documentation

resolveFilteredByMetadataBeforeMakingDataProvider ( searchForm,
&$  metadata 
) [protected]

This method is called prior to creation of data provider in order to add search metadata for related model. Used in actionDetails for Kanban view.

Reimplemented from Controller.

Definition at line 139 of file DefaultController.php.

actionCreateFromRelation ( relationAttributeName,
relationModelId,
relationModuleId,
redirectUrl 
)

Override to implement.

Reimplemented from ZurmoModuleController.

Definition at line 152 of file DefaultController.php.

actionCopy ( id  ) 

Override to implement

Parameters:
$id 
Exceptions:
NotImplementedException 

Reimplemented from ZurmoModuleController.

Definition at line 177 of file DefaultController.php.

actionMassEdit (  ) 

Action for displaying a mass edit form and also action when that form is first submitted. When the form is submitted, in the event that the quantity of models to update is greater than the pageSize, then once the pageSize quantity has been reached, the user will be redirected to the makeMassEditProgressView. In the mass edit progress view, a javascript refresh will take place that will call a refresh action, usually massEditProgressSave. If there is no need for a progress view, then a flash message will be added and the user will be redirected to the list view for the model. A flash message will appear providing information on the updated records.

See also:
Controler->makeMassEditProgressView
Controller->processMassEdit

Definition at line 214 of file DefaultController.php.

actionMassEditProgressSave (  ) 

Action called in the event that the mass edit quantity is larger than the pageSize. This action is called after the pageSize quantity has been updated and continues to be called until the mass edit action is complete. For example, if there are 20 records to update and the pageSize is 5, then this action will be called 3 times. The first 5 are updated when the actionMassEdit is called upon the initial form submission.

Definition at line 254 of file DefaultController.php.

actionMassDelete (  ) 

Action for displaying a mass delete form and also action when that form is first submitted. When the form is submitted, in the event that the quantity of models to delete is greater than the pageSize, then once the pageSize quantity has been reached, the user will be redirected to the makeMassDeleteProgressView. In the mass delete progress view, a javascript refresh will take place that will call a refresh action, usually makeMassDeleteProgressView. If there is no need for a progress view, then a flash message will be added and the user will be redirected to the list view for the model. A flash message will appear providing information on the delete records.

See also:
Controler->makeMassDeleteProgressView
Controller->processMassDelete

Definition at line 288 of file DefaultController.php.

actionMassDeleteProgress (  ) 

Action called in the event that the mass delete quantity is larger than the pageSize. This action is called after the pageSize quantity has been delted and continues to be called until the mass delete action is complete. For example, if there are 20 records to delete and the pageSize is 5, then this action will be called 3 times. The first 5 are updated when the actionMassDelete is called upon the initial form submission.

Definition at line 330 of file DefaultController.php.

actionSelectFromRelatedList ( portletId,
uniqueLayoutId,
relationAttributeName,
relationModelId,
relationModuleId,
stateMetadataAdapterClassName = null 
)

Override to provide an opportunity specific label for the modal page title.

See also:
ZurmoModuleController::actionSelectFromRelatedList()

Reimplemented from ZurmoModuleController.

Definition at line 371 of file DefaultController.php.

actionInlineCreateCommentFromAjax ( id,
uniquePageId 
)

Create comment via ajax for opportunity

Parameters:
type $id
string $uniquePageId

Definition at line 400 of file DefaultController.php.

actionAddSubscriber ( id  ) 

Add subscriber for opportunity

Parameters:
int $id

Definition at line 422 of file DefaultController.php.

actionRemoveSubscriber ( id  ) 

Remove subscriber for opportunity

Parameters:
int $id

Definition at line 435 of file DefaultController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 18 07:10:58 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8