Displays multiple items from a model in a tabel by row using the model set through the $model snippet parameter.
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.6.2 |
inherited_from | \Gems_Snippets_ModelTableSnippetGeneric |
afterRegistry() : void
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
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
inherited_from | \Gems_Snippets_ModelTableSnippetGeneric::createModel() |
---|
\MUtil_Model_ModelAbstract
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
$keyboard : boolean
false
$keyboardUsed : boolean
false
$calSearchFilter : array
$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'