Extra code for displaying token models.
Adds columns to the model and adds extra logic for calc_used_date sorting.
package | Gems |
---|---|
subpackage | Snippets |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.2 |
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_AElement
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 renderedaddBrowseTableColumns(\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
addTokenLinks(\MUtil_Model_Bridge_TableBridge $bridge)
\MUtil_Model_Bridge_TableBridge
applyTextMarker() : void
createModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstract
findMenuItem(string $defaultController, string|array $actions = 'index'
) : \Gems_Menu_SubMenuItem
deprecated | since 1.7.1, use findMenuItems() |
---|
string
string
array
\Gems_Menu_SubMenuItem
The first thatfindMenuItems(string $defaultController, string|array $actions = array('index')
) : array
string
string
array
array
of \Gems_Menu_SubMenuItemgetEditMenuItem() : \Gems_Menu_SubMenuItem
deprecated | since 1.7.1, use getEditMenuItems() |
---|
\Gems_Menu_SubMenuItem
getEditMenuItems() : \Gems_Menu_SubMenuItem
\Gems_Menu_SubMenuItem
getShowMenuItem() : \Gems_Menu_SubMenuItem
deprecated | since 1.7.1, use getShowMenuItems() |
---|
\Gems_Menu_SubMenuItem
getShowMenuItems() : \Gems_Menu_SubMenuItem
\Gems_Menu_SubMenuItem
sortCalcDateCheck(\MUtil_Model_ModelAbstract $model)
\MUtil_Model_ModelAbstract
$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'