package | Gems |
---|---|
subpackage | Snippets\User |
copyright | Copyright (c) 2015 Erasmus MC |
license | New BSD License |
since | Class available since version 1.7.2 14-okt-2015 11:47:11 |
inherited_from | \Gems\Snippets\User\PasswordResetSnippet |
afterRegistry() : void
beforeDisplay() : \Zend_Form
Here we add the table display to the form.
\Zend_Form
checkRegistryRequestsAnswers() : boolean
boolean
False if required are missing.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 renderedgetTopic(integer $count = 1
) : \Gems\Snippets\$string
integer
\Gems\Snippets\$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(\Zend_Form $form)
inherited_from | \Gems\Snippets\User\PasswordResetSnippet::addFormElements() |
---|
\Zend_Form
addFormElements(\Zend_Form $form)
\Zend_Form
addSaveButton()
As the save button is not part of the model - but of the interface - it does deserve it's own function.
afterSave(integer $changed)
When not rerouted, the form will be populated afterwards
integer
The number of changed rows (0 or 1 usually, but can be more)
createForm(mixed $options = null
) : \Zend_Form
mixed
\Zend_Form
getMenuList() : \Gems_Menu_MenuList
\Gems_Menu_MenuList
getNotAllowedMessage() : string
inherited_from | \Gems\Snippets\User\PasswordResetSnippet::getNotAllowedMessage() |
---|
string
getNotAllowedMessage() : string
string
getTitle() : string
inherited_from | \Gems\Snippets\User\PasswordResetSnippet::getTitle() |
---|
string
getTitle() : string
string
onFakeSubmit()
When not rerouted, the form will be populated afterwards
saveData() : integer
integer
The number of "row level" items changed$accesslog : \Gems_AccessLog
$askCheck : boolean
null
$askOld : boolean
null
$checkFields
null
Default is asking for the username but you can e.g. ask for someones birthday.
return | Of 'label name' => 'required values' or \Zend_Form_Element elements Not set when null |
---|
$class : string
'formTable'
$forceRules : boolean
null
$formTitle : string
$loader : \Gems_Loader
inherited_from | \Gems\Snippets\User\PasswordResetSnippet::loader |
---|
$loader : \Gems_Loader
$project : \Gems_Project_ProjectSettings
$reportRules : boolean
null
$routeAction : string
'show'
$topicCallable : callable
$user : \Gems_User_User