Extends \MUtil_Registry_TargetAbstract with the ability to create PHP callables by request an existing method using $this->methodName.
package | Gems |
---|---|
subpackage | Tracker |
copyright | Copyright (c) 2013 Erasmus MC |
license | New BSD License |
since | Class available since version 1.6.2 |
inherited_from | \Gems_Registry_TargetAbstract |
__construct(string $patientId, integer $organizationId, integer $respondentId = null
)
string
Patient number, you can use $respondentId instead
integer
Organization id
integer
Optional respondent id, used when patient id is empty
__get(string $name) : Callable
string
Callable
afterRegistry() : void
applyToMenuSource(\Gems_Menu_ParameterSource $source) : \Gems_Tracker_RespondentTrack
\Gems_Menu_ParameterSource
\Gems_Tracker_RespondentTrack
(continuation pattern)getArrayCopy() : array
array
getBirthday() : \MUtil_Date | null
\MUtil_Date
null
getConsent() : \Gems\Util\ConsentCode
\Gems\Util\ConsentCode
getEmailAddress() : string
string
getFirstName() : string
string
getFullName() : string
string
getGender() : string
string
getGreeting() : string
string
getGreetingNL() : string
string
getId() : integer
integer
The respondent idgetLanguage() : string
string
getLastName() : string
string
getName() : string
string
getOrganization() : \Gems_User_Organization
\Gems_User_Organization
getOrganizationId() : integer
integer
Organization IDgetPatientId() : string
deprecated | since version 1.6.4 |
---|
string
getPatientNumber() : string
string
The respondents patient numbergetPhonenumber() : string
string
getReceptionCode() : \Gems_Util_ReceptionCode
\Gems_Util_ReceptionCode
reception codegetRespondentModel() : \Gems_Model_RespondentModel
\Gems_Model_RespondentModel
refresh()
restoreTracks(\Gems_Util_ReceptionCode $oldCode, \Gems_Util_ReceptionCode $newCode) : integer
Used when restoring a respondent, and the restore tracks box is checked. This will also restore all tokens in the tracks that have the same codes.
\Gems_Util_ReceptionCode
The old reception code
\Gems_Util_ReceptionCode
the new reception code
integer
The number of restored trackssetLocale($locale)
setReceptionCode(string $newCode) : \Gems_Util_ReceptionCode
string
String or \Gems_Util_ReceptionCode
\Gems_Util_ReceptionCode
The new code reception code object for further processing$exists : Boolean
false
$_gemsData : array
$addLoginCheck : boolean
false
$currentUser : \Gems_User_User
$db : \Zend_Db_Adapter_Abstract
$loader : \Gems_Loader
$maxPhoneNumber : integer
4
$model : \Gems_Model_RespondentModel
$respondentId : integer
$respondentLanguage : string
$util : \Gems_Util
$organizationId : integer
$patientId : string