Respondent token filter tabs

Abstract class for quickly creating a tabbed bar, or rather a div that contains a number of links, adding specific classes for display.

A snippet is a piece of html output that is reused on multiple places in the code.

Variables are intialized using the \MUtil_Registry_TargetInterface mechanism.

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

 Methods

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

 

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