Writes respondents to a data source

package Gems
subpackage Communication
copyright Copyright (c) 2011 Erasmus MC
license New BSD License

 Methods

Writes the respondent, creating a new one or updating the existing record

writeRespondent(\Gems_Communication_RespondentContainer $respondent, integer $userId) : boolean

Parameters

$respondent

\Gems_Communication_RespondentContainer

$userId

integer

Exceptions

\Gems_Communication_Exception

Returns

booleanTrue if a new respondent was added, false if one was updated