EmailHandler Class Reference
[Pages_managerPages_user]

Handle requests for email management functions. More...

Inheritance diagram for EmailHandler:

UserHandler ManagerHandler Handler Handler List of all members.

Public Member Functions

 createEmail ($args=array())
 deleteCustomEmail ($args)
 disableEmail ($args)
 editEmail ($args=array())
 email ($args)
 EmailHandler ()
 EmailHandler ()
 emails ()
 enableEmail ($args)
 resetAllEmails ()
 resetEmail ($args)
 updateEmail ()
 validate ()

Detailed Description

Handle requests for email management functions.

Definition at line 19 of file EmailHandler.inc.php.


Member Function Documentation

EmailHandler.deleteCustomEmail ( args  ) 

Delete a custom email.

Parameters:
$args array first parameter is the key of the email to delete

Definition at line 128 of file EmailHandler.inc.php.

References emails(), Request.getConference(), Request.redirect(), and validate().

EmailHandler.disableEmail ( args  ) 

disables an email template.

Parameters:
$args array first parameter is the key of the email to disable

Definition at line 175 of file EmailHandler.inc.php.

References emails(), Request.getConference(), Request.redirect(), and validate().

EmailHandler.editEmail ( args = array()  ) 

Display form to create/edit an email.

Parameters:
$args array optional, if set the first parameter is the key of the email template to edit

Definition at line 84 of file EmailHandler.inc.php.

References emails(), Request.getConference(), ManagerHandler.setupTemplate(), Request.url(), and validate().

Referenced by createEmail().

EmailHandler.email ( args  ) 

Send an email to a user or group of users.

Reimplemented from ManagerHandler.

Definition at line 26 of file EmailHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), Validation.isConferenceManager(), Validation.isDirector(), Validation.isSiteAdmin(), Validation.isTrackDirector(), ManagerHandler.setupTemplate(), Request.url(), and validate().

EmailHandler.EmailHandler (  ) 

Constructor

Definition at line 23 of file EmailHandler.inc.php.

EmailHandler.EmailHandler (  ) 

Constructor

Definition at line 23 of file EmailHandler.inc.php.

EmailHandler.emails (  ) 

Display a list of the emails within the current conference.

Definition at line 30 of file EmailHandler.inc.php.

References Request.getConference(), AppLocale.getLocale(), ManagerHandler.index(), ManagerHandler.setupTemplate(), Request.url(), and validate().

Referenced by deleteCustomEmail(), disableEmail(), editEmail(), enableEmail(), resetAllEmails(), resetEmail(), and updateEmail().

EmailHandler.enableEmail ( args  ) 

enables an email template.

Parameters:
$args array first parameter is the key of the email to enable

Definition at line 205 of file EmailHandler.inc.php.

References emails(), Request.getConference(), Request.redirect(), and validate().

EmailHandler.resetAllEmails (  ) 

resets all email templates associated with the conference.

Definition at line 160 of file EmailHandler.inc.php.

References emails(), Request.getConference(), Request.redirect(), and validate().

EmailHandler.resetEmail ( args  ) 

Reset an email to default.

Parameters:
$args array first parameter is the key of the email to reset

Definition at line 145 of file EmailHandler.inc.php.

References emails(), Request.getConference(), Request.redirect(), and validate().

EmailHandler.updateEmail (  ) 

Save changes to an email.

Definition at line 104 of file EmailHandler.inc.php.

References emails(), Request.getConference(), Request.redirect(), ManagerHandler.setupTemplate(), and validate().

EmailHandler.validate (  ) 

Validate that user has permissions to manage e-mail templates. Redirects to user index page if not properly authenticated.

Definition at line 233 of file EmailHandler.inc.php.

References Request.getSchedConf(), ManagerHandler.index(), Validation.isConferenceManager(), and Request.redirect().

Referenced by deleteCustomEmail(), disableEmail(), editEmail(), email(), emails(), enableEmail(), resetAllEmails(), resetEmail(), and updateEmail().


The documentation for this class was generated from the following files:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7