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_Abstract
Just in case it is needed here
\MUtil_Html_HtmlInterface
Something that can be renderedgetRedirectRoute() : mixed
getTitle()
getTokenName(array $tokenData = null
) : string
array
string
hasHtmlOutput() : 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.
boolean
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.
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
array
Needed for the links
string
Sender name
string
Sender Email
string
Extra info after the mail address
boolean
Is the link disabled
boolean
Find the url in the menu?
string
OptionscreateToElement()
getModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstract
getSingleTokenData()
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