EmailMessagesDefaultController Class Reference

Inheritance diagram for EmailMessagesDefaultController:
ZurmoBaseController Controller EmailMessagesDemoController

Public Member Functions

 filters ()
 actionEdit ($id, $redirectUrl=null)
 actionDetails ($id, $redirectUrl=null)
 actionRenderContent ($id)
 actionConfigurationEdit ()
 actionConfigurationEditOutbound ()
 actionConfigurationEditImap ($type=1)
 actionSendTestMessage ()
 actionTestImapConnection ($type=1)
 actionMatchingList ()
 actionCompleteMatch ($id)
 actionPopulateContactEmailBeforeCreating ($id)
 actionCreateEmailMessage ($toAddress=null, $relatedId=null, $relatedModelClassName=null)
 actionAutoCompleteForMultiSelectAutoComplete ($term, $autoCompleteOptions=null)
 actionDelete ($id, $redirectUrl=null, $redirect=true)

Data Fields

const USER_EMAIL_CONFIGURATION_FILTER_PATH
const EMAIL_MESSAGES_REQUIRING_ARCHIVING_CONFIGURATION_FILTER_PATH

Protected Member Functions

 processEdit (EmailMessage $emailMessage, $redirectUrl=null)
 actionValidatePopulateContactEmailBeforeCreating ($postData, ContactPrimaryEmailForm $contactForm)
 resolvePersonOrAccountFromGet ($relatedId=null, $relatedModelClassName=null)
 actionValidateCreateEmailMessage ($postData, CreateEmailMessageForm $emailMessageForm)

Static Protected Member Functions

static attemptToMatchAndSaveLeadOrContact ($emailMessage, $type, $emailMessageId)
static makeSelectForm ($userCanAccessLeads, $userCanAccessContacts)
static getZurmoControllerUtil ()

Detailed Description

Controller for managing configuration actions for email messages

Definition at line 40 of file DefaultController.php.


Member Function Documentation

actionSendTestMessage (  ) 

Assumes before calling this, the outbound settings have been validated in the form. Todo: When new user interface is complete, this will be re-worked to be on page instead of modal.

Definition at line 199 of file DefaultController.php.

actionTestImapConnection ( type = 1  ) 

Assumes before calling this, the inbound settings have been validated in the form.

Definition at line 300 of file DefaultController.php.

actionCompleteMatch ( id  ) 

!!todo security checks?? think about it

Definition at line 396 of file DefaultController.php.

actionAutoCompleteForMultiSelectAutoComplete ( term,
autoCompleteOptions = null 
)

Given a partial name or e-mail address, search for all Users, Leads or Contacts JSON encode the resulting array of contacts.

Definition at line 611 of file DefaultController.php.


Field Documentation

const USER_EMAIL_CONFIGURATION_FILTER_PATH
Initial value:
              'application.modules.emailMessages.controllers.filters.UserEmailConfigurationCheckControllerFilter'

Definition at line 42 of file DefaultController.php.

const EMAIL_MESSAGES_REQUIRING_ARCHIVING_CONFIGURATION_FILTER_PATH
Initial value:
              'application.modules.emailMessages.controllers.filters.EmailMessagesRequiringArchivingCheckControllerFilter'

Definition at line 45 of file DefaultController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Sep 25 07:10:24 2017