| package | Gems |
|---|---|
| subpackage | Snippets\Mail |
| copyright | Copyright (c) 2013 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.6.2 |
| inherited_from | \Gems_Snippets_Mail_MailFormSnippet |
afterRegistry()
| inherited_from | \Gems_Snippets_Mail_MailFormSnippet::afterRegistry() |
|---|
afterRegistry()
createModel()
getHtmlOutput(\Zend_View_Abstract $view) : \MUtil_Html_HtmlInterface
This is a stub function either override getHtmlOutput() or override render()
\Zend_View_AbstractJust in case it is needed here
\MUtil_Html_HtmlInterfaceSomething that can be renderedgetRedirectRoute() : mixed
getTitle()
getTokenName(array $tokenData = null) : string
array
stringhasHtmlOutput() : boolean
When invalid data should result in an error, you can throw it here but you can also perform the check in the checkRegistryRequestsAnswers() function from the \MUtil_Registry_TargetInterface.
booleanaddFormElements(\MUtil_Model_Bridge_FormBridgeInterface $bridge, \MUtil_Model_ModelAbstract $model)
Overrule this function to add different elements to the browse table, without having to recode the core table building code.
| inherited_from | \Gems_Snippets_Mail_MailFormSnippet::addFormElements() |
|---|
\MUtil_Model_Bridge_FormBridgeInterface
\MUtil_Model_ModelAbstract
addFormElements(\MUtil_Model_Bridge_FormBridgeInterface $bridge, \MUtil_Model_ModelAbstract $model)
Overrule this function to add different elements to the browse table, without having to recode the core table building code.
\MUtil_Model_Bridge_FormBridgeInterface
\MUtil_Model_ModelAbstract
beforeDisplay()
createForm()
createFromSelect($elementName= 'from', $label= '')
createMultiOption(array $requestData, string $name, string $email, string $extra= null, boolean $disabledTitle= false, boolean $menuFind= false) : string
arrayNeeded for the links
stringSender name
stringSender Email
stringExtra info after the mail address
booleanIs the link disabled
booleanFind the url in the menu?
stringOptionscreateToElement()
getModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstractgetSingleTokenData()
loadForm()
loadFormData()
Or from whatever other source you specify here.
| inherited_from | \Gems_Snippets_Mail_MailFormSnippet::loadFormData() |
|---|
loadFormData()
Or from whatever other source you specify here.
processForm()
sendMail()
| inherited_from | \Gems_Snippets_Mail_MailFormSnippet::sendMail() |
|---|
sendMail()
setAfterSendRoute()
createToText(array $tokenData, $disabled)
$formTitle
$afterSendRouteUrl
$currentUser : \Gems_User_User
$db : \Zend_Db_Adapter_Abstract
$form
$formClass : string
'formTable'$formData
array()$fromOptions
$identifier
| inherited_from | \Gems_Snippets_Mail_MailFormSnippet::identifier |
|---|
$identifier
$labelClass : string
'label'$loader
| inherited_from | \Gems_Snippets_Mail_MailFormSnippet::loader |
|---|
$loader : \Gems_Loader
$mailElements : \Gems_Mail_MailElements
$mailTarget : string
$model
$multipleTokenData
$otherTokenData
$project : \Gems_Project_ProjectSettings
$routeAction : string
'index'$templateOnly : boolean
$view : \Zend_View