Adds Gems specific display details and helper functions:
Items set are:
Extra helpers are:
| package | Gems |
|---|---|
| subpackage | Snippets\Respondent |
| copyright | Copyright (c) 2016 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.7.2 Mar 16, 2016 4:54:15 PM |
| inherited_from | \Gems_Snippets_ModelTableSnippetAbstract |
afterRegistry() : void
createMenuLink(mixed $parameterSource, string $controller, string $action= 'index', string $label= null) : \MUtil_Html_AElement
mixed
string
string
string
\MUtil_Html_AElementgetHtmlOutput(\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 renderedaddBrowseColumn1(\MUtil_Model_Bridge_TableBridge $bridge, \MUtil_Model_ModelAbstract $model) : void
You can actually add more than one column in this function, but just call all four functions with the default columns in each
Overrule this function to add different columns to the browse table, without having to recode the core table building code.
\MUtil_Model_Bridge_TableBridge
\MUtil_Model_ModelAbstract
addBrowseColumn2(\MUtil_Model_Bridge_TableBridge $bridge, \MUtil_Model_ModelAbstract $model) : void
You can actually add more than one column in this function, but just call all four functions with the default columns in each
Overrule this function to add different columns to the browse table, without having to recode the core table building code.
\MUtil_Model_Bridge_TableBridge
\MUtil_Model_ModelAbstract
addBrowseColumn3(\MUtil_Model_Bridge_TableBridge $bridge, \MUtil_Model_ModelAbstract $model) : void
You can actually add more than one column in this function, but just call all four functions with the default columns in each
Overrule this function to add different columns to the browse table, without having to recode the core table building code.
\MUtil_Model_Bridge_TableBridge
\MUtil_Model_ModelAbstract
addBrowseColumn4(\MUtil_Model_Bridge_TableBridge $bridge, \MUtil_Model_ModelAbstract $model) : void
You can actually add more than one column in this function, but just call all four functions with the default columns in each
Overrule this function to add different columns to the browse table, without having to recode the core table building code.
\MUtil_Model_Bridge_TableBridge
\MUtil_Model_ModelAbstract
addBrowseTableColumns(\MUtil_Model_Bridge_TableBridge $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.
| inherited_from | \Gems_Snippets_ModelTableSnippetAbstract::addBrowseTableColumns() |
|---|
\MUtil_Model_Bridge_TableBridge
\MUtil_Model_ModelAbstract
addBrowseTableColumns(\MUtil_Model_Bridge_TableBridge $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_TableBridge
\MUtil_Model_ModelAbstract
addPaginator(\MUtil_Html_TableElement $table, \Zend_Paginator $paginator)
Only called when $this->browse is true. Overrule this function to define your own method.
$param \Zend_Paginator $paginator
applyTextMarker() : void
createModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstractfindMenuItem(string $defaultController, string|array $actions = 'index') : \Gems_Menu_SubMenuItem
| deprecated | since 1.7.1, use findMenuItems() |
|---|
string
stringarray
\Gems_Menu_SubMenuItemThe first thatfindMenuItems(string $defaultController, string|array $actions = array('index')) : array
string
stringarray
arrayof \Gems_Menu_SubMenuItemgetEditMenuItem() : \Gems_Menu_SubMenuItem
| deprecated | since 1.7.1, use getEditMenuItems() |
|---|
\Gems_Menu_SubMenuItemgetEditMenuItems() : \Gems_Menu_SubMenuItem
\Gems_Menu_SubMenuItemgetShowMenuItem() : \Gems_Menu_SubMenuItem
| deprecated | since 1.7.1, use getShowMenuItems() |
|---|
\Gems_Menu_SubMenuItemgetShowMenuItems() : \Gems_Menu_SubMenuItem
\Gems_Menu_SubMenuItem$keyboard : boolean
false$keyboardUsed : boolean
false$class : string
'browser table'$containingId : string
$defaultSearchData : \array()
array()$loader : \Gems_Loader
$model : \MUtil_Model_ModelAbstract
$showMenu : boolean
true$sortParamAsc : string
'asrt'$sortParamDesc : string
'dsrt'