Ask Yes/No conformation for deletion and deletes item when confirmed.
Can be used for other uses than delete by overriding performAction().
| package | Gems |
|---|---|
| subpackage | Snippets |
| copyright | Copyright (c) 2014 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.6.5 24-sep-2014 18:26:00 |
| inherited_from | \Gems_Snippets_ModelItemYesNoDeleteSnippetAbstract |
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 renderedhasHtmlOutput() : 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.
booleanaddShowTableRows(\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
string$class : string
'displayer'$currentUser : \Gems_User_User
$displayTitle : string
$loader : \Gems_Loader
$model : \MUtil_Model_ModelAbstract