Adds Gems specific display details and helper functions plus fule buttons:
Items set are:
Extra helpers are:
package | Gems |
---|---|
subpackage | Snippets |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.6.2 |
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
addFileImage(\MUtil_Html_HtmlElement $td, \MUtil_Model_Bridge_TableBridge $bridge, string $icon, \Gems_Menu_SubMenuItem $menuItem= null
, mixed $options= null
) : void
staticvar | \MUtil_Html_HtmlElement $blank What to display when blank |
---|
\MUtil_Html_HtmlElement
The element / cell to add the conditional link
\MUtil_Model_Bridge_TableBridge
string
Name of icon file
\Gems_Menu_SubMenuItem
The menu item to add
mixed
Other values for for link (not used for blank)
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_ModelAbstract
findMenuItem(string $controller, string $action = 'index'
) : \Gems_Menu_SubMenuItem
string
string
\Gems_Menu_SubMenuItem
getFileIcons(\MUtil_Model_Bridge_TableBridge $bridge) : array
\MUtil_Model_Bridge_TableBridge
array
$icon => $menuItem or array($menuItem, $other)$keyboard : boolean
false
$class : string
'browser'
$containingId : string
$model : \MUtil_Model_ModelAbstract
$sortParamAsc : string
'asrt'
$sortParamDesc : string
'dsrt'
$util : \Gems_Util