Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
MonographMailTemplate Class Reference
Inheritance diagram for MonographMailTemplate:
SubmissionMailTemplate MailTemplate Mail DataObject

Public Member Functions

 bccAssignedSeriesEditors ($submissionId, $stageId)
 
 ccAssignedSeriesEditors ($submissionId, $stageId)
 
 MonographMailTemplate ($submission, $emailKey=null, $locale=null, $enableAttachments=null, $context=null, $includeSignature=true)
 
 toAssignedSeriesEditors ($submissionId, $stageId)
 
- Public Member Functions inherited from SubmissionMailTemplate
 bccAssignedSubEditors ($submissionId, $stageId)
 
 ccAssignedSubEditors ($submissionId, $stageId)
 
 log ($request=null)
 
 send ($request=null)
 
 sendWithParams ($paramArray)
 
 setContext ($context)
 
 setEventType ($eventType)
 
 SubmissionMailTemplate ($submission, $emailKey=null, $locale=null, $enableAttachments=null, $context=null, $includeSignature=true)
 
 toAssignedSubEditors ($submissionId, $stageId)
 
- Public Member Functions inherited from MailTemplate
 _clearAttachments ($userId)
 
 _handleAttachments ($userId)
 
 addPersistAttachment ($temporaryFile)
 
 assignParams ($paramArray=array())
 
 clearRecipients ($clearHeaders=true)
 
 displayEditForm ($formActionUrl, $hiddenFormParams=null, $alternateTemplate=null, $additionalParameters=array())
 
 getAddressFieldsEnabled ()
 
 hasErrors ()
 
 isEnabled ()
 
 MailTemplate ($emailKey=null, $locale=null, $enableAttachments=null, $context=null, $includeSignature=true)
 
processAddresses ($currentList, &$newAddresses)
 
 send ($clearAttachments=true)
 
 sendWithParams ($paramArray)
 
 setAddressFieldsEnabled ($addressFieldsEnabled)
 
- Public Member Functions inherited from Mail
 addAttachment ($filePath, $fileName= '', $contentType= '', $contentDisposition= 'attachment')
 
 addBcc ($email, $name= '')
 
 addCc ($email, $name= '')
 
 addHeader ($name, $content)
 
 addPrivateParam ($name, $value)
 
 addRecipient ($email, $name= '')
 
 clearAllRecipients ()
 
 encodeDisplayName ($displayName, $send=false)
 
 getAddressArrayString ($addresses, $includeNames=true, $send=false)
 
getAttachments ()
 
 getBccs ()
 
 getBccString ()
 
 getBody ()
 
 getCcs ()
 
 getCcString ()
 
 getContentType ()
 
 getEnvelopeSender ()
 
 getFrom ()
 
 getFromString ($send=false)
 
 getHeaders ()
 
 getRecipients ()
 
 getRecipientString ()
 
 getReplyTo ()
 
 getSubject ()
 
 hasAttachments ()
 
 Mail ()
 
 promoteCcsIfNoRecipients ()
 
 send ()
 
 setBccs ($bccs)
 
 setBody ($body)
 
 setCcs ($ccs)
 
 setContentType ($contentType)
 
 setEnvelopeSender ($envelopeSender)
 
 setFrom ($email, $name= '')
 
 setHeaders (&$headers)
 
 setPrivateParams ($privateParams)
 
 setRecipients ($recipients)
 
 setReplyTo ($email, $name= '')
 
 setSubject ($subject)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 DataObject ()
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
 getSupportedExtractionAdapters ()
 
 getSupportedInjectionAdapters ()
 
 getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata ($metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
 upcastTo ($targetObject)
 

Additional Inherited Members

- Public Attributes inherited from SubmissionMailTemplate
 $context
 
 $logEventType
 
 $submission
 
- Public Attributes inherited from MailTemplate
 $addressFieldsEnabled
 
 $bccSender
 
 $context
 
 $emailKey
 
 $enabled
 
 $errorMessages
 
 $includeSignature
 
 $locale
 
 $persistAttachments
 
 $skip
 
- Public Attributes inherited from Mail
 $privateParams
 
- Public Attributes inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 
- Protected Member Functions inherited from SubmissionMailTemplate
 _addUsers ($submissionId, $roleId, $stageId, $method)
 

Detailed Description

Subclass of MailTemplate for sending emails related to submissions.

This allows for submission-specific functionality like logging, etc.

Definition at line 21 of file MonographMailTemplate.inc.php.

Member Function Documentation

MonographMailTemplate::bccAssignedSeriesEditors (   $submissionId,
  $stageId 
)

BCC this email to all assigned series editors in the given stage

Parameters
$submissionIdint
$stageIdint

Definition at line 66 of file MonographMailTemplate.inc.php.

References SubmissionMailTemplate\bccAssignedSubEditors().

MonographMailTemplate::ccAssignedSeriesEditors (   $submissionId,
  $stageId 
)

CC this email to all assigned series editors in the given stage

Parameters
$submissionIdint
$stageIdint
Returns
array of Users (note, this differs from OxS which returns EditAssignment objects)

Definition at line 57 of file MonographMailTemplate.inc.php.

References SubmissionMailTemplate\ccAssignedSubEditors().

MonographMailTemplate::MonographMailTemplate (   $submission,
  $emailKey = null,
  $locale = null,
  $enableAttachments = null,
  $context = null,
  $includeSignature = true 
)

Constructor.

Parameters
$submissionSubmission
$emailKeystring optional
$localestring optional
$enableAttachmentsboolean optional
$contextobject optional
$includeSignatureboolean optional
See Also
MailTemplate::MailTemplate()

Definition at line 32 of file MonographMailTemplate.inc.php.

References SubmissionMailTemplate\$context, MailTemplate\$emailKey, MailTemplate\$includeSignature, MailTemplate\$locale, and SubmissionMailTemplate\$submission.

MonographMailTemplate::toAssignedSeriesEditors (   $submissionId,
  $stageId 
)

Send this email to all assigned series editors in the given stage

Parameters
$submissionIdint
$stageIdint

Definition at line 47 of file MonographMailTemplate.inc.php.

References SubmissionMailTemplate\toAssignedSubEditors().


The documentation for this class was generated from the following file: