Displays the assignments of a track to a respondent.
This code contains some display options for excluding or marking a single track and for processing the passed parameters identifying the respondent and the optional single track.
| package | Gems |
|---|---|
| subpackage | Tracker |
| copyright | Copyright (c) 2011 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.4 |
| inherited_from | \Gems_Snippets_ModelTableSnippetAbstract |
afterRegistry() : void
checkRegistryRequestsAnswers() : boolean
booleanFalse if required are missing.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()
| inherited_from | \Gems_Snippets_ModelTableSnippetAbstract::getHtmlOutput() |
|---|
\Zend_View_AbstractJust in case it is needed here
\MUtil_Html_HtmlInterfaceSomething that can be renderedgetHtmlOutput(\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.
booleanaddBrowseTableColumns(\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_SubMenuItemgetRespondentName() : string
stringgetShowMenuItem() : \Gems_Menu_SubMenuItem
| deprecated | since 1.7.1, use getShowMenuItems() |
|---|
\Gems_Menu_SubMenuItemgetShowMenuItems() : \Gems_Menu_SubMenuItem
\Gems_Menu_SubMenuItemgetTitle()
processFilterAndSort(\MUtil_Model_ModelAbstract $model)
\MUtil_Model_ModelAbstract
$keyboard : boolean
false$keyboardUsed : boolean
false$_fixedSort : array
array('gr2t_created' => SORT_DESC)Leading _ means not overwritten by sources.
$class : string
'browser table'$containingId : string
$db : \Zend_Db_Adapter_Abstract
$defaultSearchData : \array()
array()$excludeCurrent : boolean
false$loader : \Gems_Loader
$organizationId : integer
$patientId : integer
$respondentTrack : \Gems_Tracker_RespondentTrack
$respondentTrackId : integer
$showMenu : boolean
false| inherited_from | \Gems_Snippets_ModelTableSnippetAbstract::showMenu |
|---|
$showMenu : boolean
true$sortParamAsc : string
'asrt'$sortParamDesc : string
'dsrt'$trackEngine : \Gems_Tracker_Engine_TrackEngineInterface
$trackEngine and TrackId need $patientId and $organizationId to be set as well
$trackId : integer
$trackEngine and TrackId need $patientId and $organizationId to be set as well