Adds Gems specific display details and helper functions:
Items set are: = Default route: 'show'
Extra helpers are:
| package | Gems |
|---|---|
| subpackage | Snippets |
| copyright | Copyright (c) 2015 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.6.5 18-feb-2015 15:35:07 |
| inherited_from | \Gems_Snippets_ModelFormSnippetAbstract |
afterRegistry() : void
beforeDisplay() : \Zend_Form
Here we add the table display to the form.
| inherited_from | \Gems_Snippets_ModelFormSnippetAbstract::beforeDisplay() |
|---|
\Zend_FormbeforeDisplay() : \Zend_Form
Here we add the table display to the form.
\Zend_FormcheckRegistryRequestsAnswers() : boolean
booleanFalse 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_AbstractJust in case it is needed here
\MUtil_Html_HtmlInterfaceSomething that can be renderedgetTopic(integer $count = 1) : \$string
integer
\$stringaddFormElements(\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_ModelFormSnippetAbstract::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
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
integerThe number of changed rows (0 or 1 usually, but can be more)
beforeSave()
createForm(mixed $options = null) : \Zend_Form
mixed
\Zend_FormcreateModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstractgetInheritedPrivileges(array $parents) : array
array
arrayprivilege => settinggetMenuList() : \Gems_Menu_MenuList
\Gems_Menu_MenuListgetTitle() : string
stringsetAfterSaveRoute() : \Gems_Snippets_ModelFormSnippetAbstract
\Gems_Snippets_ModelFormSnippetAbstract$accesslog : \Gems_AccessLog
$acl : \MUtil_Acl
$class : string
'formTable'$formTitle : string
$model : \MUtil_Model_ModelAbstract
$project : \Gems_Project_ProjectSettings
$routeAction : string
'show'$topicCallable : callable
$useTabbedForm : boolean
false$usedPrivileges : array
$view : \Zend_View