Snippet for showing the all tokens for a single respondent.
Adds columns to the model and adds extra logic for calc_used_date sorting.
package | Gems |
---|---|
subpackage | Snippets |
copyright | Copyright (c) 2012 Erasmus MC |
license | New BSD License |
since | Class available since version 1.6.1 |
inherited_from | \Gems_Snippets_RespondentTokenSnippet |
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 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.
inherited_from | \Gems_Snippets_RespondentTokenSnippet::hasHtmlOutput() |
---|
boolean
hasHtmlOutput() : 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.
boolean
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_RespondentTokenSnippet::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
addTokenLinks(\MUtil_Model_Bridge_TableBridge $bridge)
\MUtil_Model_Bridge_TableBridge
applyTextMarker() : void
createModel() : \MUtil_Model_ModelAbstract
\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
processFilterAndSort(\MUtil_Model_ModelAbstract $model)
\MUtil_Model_ModelAbstract
sortCalcDateCheck(\MUtil_Model_ModelAbstract $model)
\MUtil_Model_ModelAbstract
$browse : boolean
false
inherited_from | \Gems_Snippets_RespondentTokenSnippet::browse |
---|
$browse : boolean
true
$keyboard : boolean
false
$keyboardUsed : boolean
false
$_fixedSort : array
array('gto_round_order' => SORT_ASC, 'gto_created' => SORT_ASC)
Leading _ means not overwritten by sources.
inherited_from | \Gems_Snippets_RespondentTokenSnippet::_fixedSort |
---|
$_fixedSort : array
array('calc_used_date' => SORT_ASC, 'gtr_track_name' => SORT_ASC, 'gto_round_order' => SORT_ASC, 'gto_created' => SORT_ASC)
Leading _ means not overwritten by sources.
$class : string
'browser table'
$containingId : string
$defaultSearchData : \array()
array()
$forOtherOrgs : mixed
false
$loader : \Gems_Loader
$model : \MUtil_Model_ModelAbstract
$project : \Gems_Project_ProjectSettings
$request : \Zend_Controller_Request_Abstract
$respondent : \Gems_Tracker_Respondent
$showMenu : boolean
true
$sortParamAsc : string
'asrt'
$sortParamDesc : string
'dsrt'
$util : \Gems_Util