Adds Gems specific display details and helper functions:
Items set are: = Default route: 'show'
Extra helpers are:
package | Gems |
---|---|
subpackage | Snippets\Respondent |
copyright | Copyright (c) 2015 Erasmus MC |
license | New BSD License |
since | Class available since version 1.7.1 28-apr-2015 10:28:02 |
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract |
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 renderedgetReceptionCodes() : array
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::getReceptionCodes() |
---|
array
code name => descriptiongetReceptionCodes() : array
array
getTopic(integer $count = 1
) : \$string
integer
\$string
isUndeleting() : boolean
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::isUndeleting() |
---|
boolean
isUndeleting() : boolean
boolean
Are we undeleting or deleting?setReceptionCode(string $newCode, integer $userId) : \Gems\Snippets\Respondent\$changed
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::setReceptionCode() |
---|
string
integer
\Gems\Snippets\Respondent\$changed
setReceptionCode(string $newCode, integer $userId) : \Gems\Snippets\ReceptionCode\$changed
string
integer
\Gems\Snippets\ReceptionCode\$changed
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
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)
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
createModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstract
getMenuList() : \Gems_Menu_MenuList
\Gems_Menu_MenuList
getTitle() : string
string
initItems()
loadForm()
loadFormData()
Or from whatever other source you specify here.
saveData()
setAfterSaveRoute() : \Gems_Snippets_ModelFormSnippetAbstract
\Gems_Snippets_ModelFormSnippetAbstract
$accesslog : \Gems_AccessLog
$class : string
'formTable'
$editItems : array
array()
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::editItems |
---|
$editItems : array
array()
$exhibitItems : array
array('gr2o_patient_nr', 'gr2o_id_organization')
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::exhibitItems |
---|
$exhibitItems : array
array()
$fixedReceptionCode : string
null
$formTitle : string
$hiddenItems : array
array('grs_id_user')
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::hiddenItems |
---|
$hiddenItems : array
array()
$loader : \Gems_Loader
$model : \MUtil_Model_ModelAbstract
$project : \Gems_Project_ProjectSettings
$receptionCodeItem : string
'gr2o_reception_code'
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::receptionCodeItem |
---|
$receptionCodeItem : string
''
$respondent : \Gems_Tracker_Respondent
$routeAction : string
'show'
$topicCallable : callable
$unDelete : boolean
false
$unDeleteRight : string
'pr.respondent.undelete'
inherited_from | \Gems\Snippets\ReceptionCode\ChangeReceptionCodeSnippetAbstract::unDeleteRight |
---|
$unDeleteRight : string
$useTabbedForm : boolean
false
$util : \Gems_Util