package Gems
subpackage Snippets
copyright Copyright (c) 2012 Erasmus MC
license New BSD License
since Class available since version 1.6.1

 Methods

Should be called after answering the request to allow the Target to check if all required registry values have been set correctly.

checkRegistryRequestsAnswers() : boolean

Returns

booleanFalse if required are missing.

The place to check if the data set in the snippet is valid to generate the snippet.

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.

Returns

boolean

Return optionally the single parameter key which should left out for the default value, but is added for all other tabs.

getParameterKey() : mixed

Returns

mixed

Function used to fill the tab bar

getTabs() : array

Returns

arraytabId => label

 Properties

 

The tab values

$_tabs : array

Default

array()
 

$db

$db : \Zend_Db_Adapter_Abstract

Default

 

Default href parameter values

$href : array

Default

array('page' => null)

Clicking a tab always resets the page counter

 

The RESPONDENT model, not the token model

$model : \MUtil_Model_ModelAbstract

Default

 

Required, can be derived from request or respondent

$organizationId : array

Default

 

Required

$respondent : \Gems_Tracker_Respondent

Default

 

Required, can be derived from request or respondent

$respondentId : array

Default

 

$util

$util : \Gems_Util

Default