Class contains Gems specific adaptations to parent class.
| package | Gems |
|---|---|
| subpackage | Default |
| copyright | Copyright (c) 2011 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.6 |
| inherited_from | \Gems_Default_RespondentChildActionAbstract |
autofilterAction($resetMvc = true)
When true only the filtered resulsts
createAction()
deactivateAction()
deleteAction()
deleteAction()
editAction()
excelAction()
When you want to change the output, there are two places to check:
$this->addExcelColumns($model), where the model can be changed to have labels for columns you need exported
exportAction()
exportArchiveAction()
getCreateTitle() : \$string
\$stringgetDeactivateQuestion() : \$string
\$stringgetDeactivateTitle() : \$string
\$stringgetDefaultImportTranslator() : string
stringgetDeleteQuestion() : \$string
\$stringgetDeleteTitle() : \$string
\$stringgetEditLink() : \MUtil_Html_HrefArrayAttribute
\MUtil_Html_HrefArrayAttributegetEditTitle() : \$string
\$stringgetImportTempDirectory() : string
stringgetImportTranslators() : array
arrayof \MUtil_Model_ModelTranslatorInterface objectsgetImporter() : \MUtil_Model_Importer
\MUtil_Model_ImportergetIndexTitle() : \$string
\$stringgetIndexTitle() : \$string
\$stringgetInstanceId() : mixed
Overrule this function if the last item in the page title should be something other than te value of \MUtil_Model::REQUEST_ID.
mixedgetItemUrlArray() : array
arraygetOnEmptyText() : string
stringgetOtherOrgs() : boolean | array
When true: show tokens for all organisations, false: only current organisation, array => those organisations
booleanarray
getReactivateQuestion() : \$string
\$stringgetReactivateTitle() : \$string
\$stringgetRespondentData() : array
arraygetRespondentId() : integer
| inherited_from | \Gems_Default_RespondentChildActionAbstract::getRespondentId() |
|---|
integergetRespondentId() : integer
integergetSearchData(boolean $useRequest = true) : array
getSearchDefaults() : array
getSearchFilter(boolean $useRequest = true) : array
.
booleanUse the request as source (when false, the session is used)
arrayor falsegetShowTitle() : \$string
\$stringgetTitle(string $separator = null) : string
If the title is an array the seperator concatenates the parts.
string
stringgetTopic(integer $count = 1) : \$string
integer
\$stringgetTopic(integer $count = 1) : \$string
integer
\$stringgetTopicCallable() : callable
callableimportAction()
indexAction()
indexAction()
init() : void
Called from __construct() as final step of object instantiation.
initHtml(boolean $reset = false) : void
booleanThrows away any existing html output when true
reactivateAction()
showAction()
undeleteAction()
createModel(boolean $detailed, string $action) : \MUtil_Model_ModelAbstract
The parameters allow you to easily adapt the model to the current action. The $detailed parameter was added, because the most common use of action is a split between detailed and summarized actions.
booleanTrue when the current action is not in $summarizedActions.
stringThe current action.
\MUtil_Model_ModelAbstractfirstAllowedMenuItem(string $action, string $action2 = null) : \Gems_Menu_SubMenuItem
string
string
\Gems_Menu_SubMenuItemgetExcelData(array $data, \MUtil_Model_ModelAbstract $model) : array
array
\MUtil_Model_ModelAbstract
arraygetExportModel() :
getRespondent() : \Gems_Tracker_Respondent
\Gems_Tracker_RespondentisMultiTracks() : boolean
booleanloadSnippetLoader()
openedRespondent() : \Gems_Default_RespondentNewAction
\Gems_Default_RespondentNewAction$accesslog : \Gems_AccessLog
$currentOrganization : \Gems_User_Organization
$currentUser : \Gems_User_User
$deleteSnippets : mixed
array('Respondent\\RespondentDetailsSnippet', 'Respondent\\DeleteRespondentSnippet')$escort : \GemsEscort
$exportSnippets : mixed
array('Respondent\\RespondentDetailsSnippet')$formatExcelData : boolean
true$loader : \Gems_Loader
$loader : \Gems_Loader
$util : \Gems_Util
$autofilterParameters : mixed
array('columns' => 'getBrowseColumns', 'extraSort' => array('gr2o_opened' => SORT_DESC), 'respondent' => null)$autofilterSnippets : mixed
'Respondent\\RespondentTableSnippet'$autofilterSnippets : mixed
'ModelTableSnippetGeneric'$createEditParameters : array
array('resetRoute' => true, 'useTabbedForm' => true)When the value is a function name of that object, then that functions is executed with the array key as single parameter and the return value is set as the used value
$createEditSnippets : mixed
'RespondentFormSnippet'$createEditSnippets : mixed
'ModelFormSnippetGeneric'$defaultParameters : array
array('multiTracks' => 'isMultiTracks', 'respondent' => 'getRespondent')When the value is a function name of that object, then that functions is executed with the array key as single parameter and the return value is set as the used value
$defaultSearchData : \array()
array('grc_success' => 1)$deleteParameters : array
array('baseUrl' => 'getItemUrlArray', 'forOtherOrgs' => 'getOtherOrgs', 'onclick' => 'getEditLink', 'showButtons' => false)When the value is a function name of that object, then that functions is executed with the array key as single parameter and the return value is set as the used value
$deleteSnippets : mixed
'ModelItemYesNoDeleteSnippetGeneric'$exportFormSnippets
'Export\\ExportFormSnippet'$importParameters : array
array('respondent' => null)When the value is a function name of that object, then that functions is executed with the array key as single parameter and the return value is set as the used value
$indexStartSnippets : mixed
array('Generic\\ContentTitleSnippet', 'RespondentSearchSnippet')| inherited_from | \Gems_Default_RespondentChildActionAbstract::indexStartSnippets |
|---|
$indexStartSnippets : mixed
array('Generic\\ContentTitleSnippet', 'AutosearchFormSnippet')$indexStopSnippets : mixed
'Generic\\CurrentSiblingsButtonRowSnippet'$showParameters : array
array('baseUrl' => 'getItemUrlArray', 'forOtherOrgs' => 'getOtherOrgs', 'onclick' => 'getEditLink', '-run-once' => 'openedRespondent')When the value is a function name of that object, then that functions is executed with the array key as single parameter and the return value is set as the used value
$showSnippets : mixed
array('Generic\\ContentTitleSnippet', 'Respondent\\RespondentDetailsSnippet', 'Tracker\\AddTracksSnippet', 'Token\\TokenTabsSnippet', 'RespondentTokenSnippet')$showSnippets : mixed
array('Generic\\ContentTitleSnippet', 'ModelItemTableSnippetGeneric')$_autofilterExtraParameters : array
array('browse' => true, 'containingId' => 'autofilter_target', 'keyboard' => true, 'onEmpty' => 'getOnEmptyText', 'sortParamAsc' => 'asrt', 'sortParamDesc' => 'dsrt')$_createExtraParameters : array
array('formTitle' => 'getCreateTitle', 'topicCallable' => 'getTopicCallable')$_deactivateExtraParameters : array
array('confirmQuestion' => 'getDeactivateQuestion', 'displayTitle' => 'getDeactivateTitle', 'formTitle' => 'getDeactivateTitle', 'topicCallable' => 'getTopicCallable')$_deleteExtraParameters : array
array('deleteQuestion' => 'getDeleteQuestion', 'displayTitle' => 'getDeleteTitle', 'formTitle' => 'getDeleteTitle', 'topicCallable' => 'getTopicCallable')$_editExtraParameters : array
array('formTitle' => 'getEditTitle', 'topicCallable' => 'getTopicCallable')$_importExtraParameters : array
array('formatBoxClass' => 'browser table', 'importer' => 'getImporter', 'tempDirectory' => 'getImportTempDirectory', 'topicCallable' => 'getTopic')$_reactivateExtraParameters : array
array('confirmQuestion' => 'getReactivateQuestion', 'displayTitle' => 'getReactivateTitle', 'formTitle' => 'getReactivateTitle', 'topicCallable' => 'getTopicCallable')$_respondent : \Gems_Tracker_Respondent