Library functions and constants for working with reception codes.

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

 Methods

Returns the token deletion reception code list.

getCompletedTokenDeletionCodes() : array

Returns

arraya value => label array.

Returns the string version of the OK code

getOKString() : string

Returns

string

Return the field values for the redo code.

getRedoValues() : array
  • 0: do not redo
  • 1: redo but do not copy answers
  • 2: redo and copy answers
staticvar array $data

Returns

array

Returns the respondent deletion reception code list.

getRespondentDeletionCodes() : array

Returns

arraya value => label array.

Returns the respondent deletion reception code list.

getRespondentRestoreCodes() : array

Returns

arraya value => label array.

Returns the single survey deletion reception code list.

getSingleSurveyDeletionCodes() : array
deprecated since 1.7.1

Returns

arraya value => label array.

Returns the string version of the Stop code

getStopString() : string

Returns

string

Return the field values for surveys.

getSurveyApplicationValues() : array
  • 0: do not use
  • 1: use (and cascade)
  • 2: use for open rounds only
staticvar array $data

Returns

array

Returns the token deletion reception code list.

getTokenRestoreCodes() : array

Returns

arraya value => label array.

Returns the track deletion reception code list.

getTrackDeletionCodes() : array

Returns

arraya value => label array.

Returns the track deletion reception code list.

getTrackRestoreCodes() : array

Returns

arraya value => label array.

Returns the token deletion reception code list.

getUnansweredTokenDeletionCodes() : array

Returns

arraya value => label array.

_getDeletionCodeSelect()

_getDeletionCodeSelect() : \Zend_Db_Select

Returns

\Zend_Db_Selectfor a fetchPairs

_getRestoreSelect()

_getRestoreSelect() : \Zend_Db_Select

Returns

\Zend_Db_Selectfor a fetchPairs

 Properties

 

$db

$db : \Zend_Db_Adapter_Abstract

Default

 Constants

 

APPLY_DO

APPLY_DO = 1 
 

APPLY_NOT

APPLY_NOT = 0 
 

APPLY_STOP

APPLY_STOP = 2 
 

REDO_COPY

REDO_COPY = 2 
 

REDO_NONE

REDO_NONE = 0 
 

REDO_ONLY

REDO_ONLY = 1