Ask Yes/No conformation for deletion and deletes item when confirmed.
Can be used for other uses than delete by overriding performAction().
This class is not in the standard snippet loading directories and does not follow their naming conventions, but exists only to make it simple to extend this class for a specific implementation.
| package | Gems |
|---|---|
| subpackage | Snippets\Agenda |
| copyright | Copyright (c) 2013 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.7.1 |
| inherited_from | \Gems_Snippets_ModelItemYesNoDeleteSnippetGeneric |
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 renderedaddShowTableRows(\MUtil_Model_Bridge_VerticalTableBridge $bridge, \MUtil_Model_ModelAbstract $model) : void
Overrule this function to add different columns to the browse table, without having to recode the core table building code.
\MUtil_Model_Bridge_VerticalTableBridge
\MUtil_Model_ModelAbstract
createModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstractfindMenuItem(string $controller, string $action = 'index') : \Gems_Menu_SubMenuItem
string
string
\Gems_Menu_SubMenuItemgetEditMenuItem() : \Gems_Menu_SubMenuItem
\Gems_Menu_SubMenuItemgetTitle() : string
stringsetAfterDeleteRoute() : \MUtil_Snippets_ModelYesNoDeleteSnippetAbstract
\MUtil_Snippets_ModelYesNoDeleteSnippetAbstract$class : string
'displayer'$deleteAction : string
'show'If you want to change to another controller you'll have to code it.
$displayTitle : string
$loader : \Gems_Loader
$model : \MUtil_Model_ModelAbstract