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.0 |
inherited_from | \Gems_Default_TrackMaintenanceWithEngineActionAbstract |
autofilterAction($resetMvc = true
)
When true only the filtered resulsts
checkAllAction()
checkTrackAction()
copyAction()
createAction()
createAction()
createModel(boolean $detailed, string $action) : \Gems_Model_TrackModel
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.
boolean
True when the current action is not in $summarizedActions.
string
The current action.
\Gems_Model_TrackModel
deactivateAction()
deleteAction()
editAction()
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()
exportAction()
getCreateTitle() : \$string
\$string
getDeactivateQuestion() : \$string
\$string
getDeactivateTitle() : \$string
\$string
getDefaultImportTranslator() : string
string
getDeleteQuestion() : \$string
\$string
getDeleteTitle() : \$string
\$string
getEditTitle() : \$string
\$string
getImportTempDirectory() : string
string
getImportTranslators() : array
array
of \MUtil_Model_ModelTranslatorInterface objectsgetImporter() : \MUtil_Model_Importer
\MUtil_Model_Importer
getIndexTitle() : \$string
\$string
getInstanceId() : mixed
Overrule this function if the last item in the page title should be something other than te value of \MUtil_Model::REQUEST_ID.
mixed
getOnEmptyText() : string
string
getReactivateQuestion() : \$string
\$string
getReactivateTitle() : \$string
\$string
getSearchFilter(boolean $useRequest = true
) : array
.
boolean
Use the request as source (when false, the session is used)
array
or falsegetShowTitle() : \$string
\$string
getTitle(string $separator = null
) : string
If the title is an array the seperator concatenates the parts.
string
string
getTopic(integer $count = 1
) : \$string
integer
\$string
getTopic(integer $count = 1
) : \$string
integer
\$string
getTopicCallable() : callable
callable
importAction()
indexAction()
initHtml(boolean $reset = false
) : void
boolean
Throws away any existing html output when true
reactivateAction()
recalcAllFieldsAction()
recalcFieldsAction()
showAction()
firstAllowedMenuItem(string $action, string $action2 = null
) : \Gems_Menu_SubMenuItem
string
string
\Gems_Menu_SubMenuItem
getExcelData(array $data, \MUtil_Model_ModelAbstract $model) : array
array
\MUtil_Model_ModelAbstract
array
getExportModel() :
getTrackEngine() : \Gems_Tracker_Engine_TrackEngineInterface
\Gems_Exception |
---|
\Gems_Tracker_Engine_TrackEngineInterface
loadSnippetLoader()
$accesslog : \Gems_AccessLog
$cacheTags : array
array('track', 'tracks')
$currentUser : \Gems_User_User
$escort : \GemsEscort
$formatExcelData : boolean
true
$loader : \Gems_Loader
$summarizedActions : array
array('index', 'autofilter', 'check-all', 'recalc-all-fields')
This determines the value of $detailed in createAction(). As it is usually less of a problem to use a $detailed model with an action that should use a summarized model and I guess there will usually be more detailed actions than summarized ones it seems less work to specify these.
$util : \Gems_Util
$autofilterParameters : array
array('extraSort' => array('gtr_track_name' => SORT_ASC), 'trackEngine' => null, 'trackId' => 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
$autofilterSnippets : mixed
'ModelTableSnippetGeneric'
$createEditSnippets : mixed
'ModelFormSnippetGeneric'
$createParameters : array
array('trackEngine' => 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
$defaultParameters : array
array('trackEngine' => 'getTrackEngine', 'trackId' => '_getIdParam')
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'
$exportParameters : array
array()
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
$exportSnippets : mixed
'Tracker\Export\ExportTrackSnippetGeneric'
$importParameters : array
array('trackEngine' => null, 'trackId' => 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
$importSnippets : mixed
'Tracker\\Import\\ImportTrackSnippetGeneric'
$indexStartSnippets : mixed
array('Generic\\ContentTitleSnippet', 'Tracker\\TrackMaintenance\\TrackMaintenanceSearchSnippet')
$indexStartSnippets : mixed
array('Generic\\ContentTitleSnippet', 'AutosearchFormSnippet')
$indexStopSnippets : mixed
'Generic\\CurrentSiblingsButtonRowSnippet'
$showSnippets : mixed
array('Generic\\ContentTitleSnippet', 'ModelItemTableSnippetGeneric', 'Tracker\\Fields\\FieldsTitleSnippet', 'Tracker\\Fields\\FieldsTableSnippet', 'Tracker\\Buttons\\NewFieldButtonRow', 'Tracker\\Rounds\\RoundsTitleSnippet', 'Tracker\\Rounds\\RoundsTableSnippet', 'Tracker\\Buttons\\NewRoundButtonRow')
$showSnippets : mixed
array('Generic\\ContentTitleSnippet', 'ModelItemTableSnippetGeneric')
$trackEngine : \Gems_Tracker_Engine_TrackEngineInterface
$_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')