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)
stringPatient number, you can use $respondentId instead
integerOrganization id
integerOptional respondent id, used when patient id is empty
__get(string $name) : Callable
string
CallableafterRegistry() : void
applyToMenuSource(\Gems_Menu_ParameterSource $source) : \Gems_Tracker_RespondentTrack
\Gems_Menu_ParameterSource
\Gems_Tracker_RespondentTrack(continuation pattern)getArrayCopy() : array
arraygetBirthday() : \MUtil_Date | null
\MUtil_Datenull
getConsent() : \Gems\Util\ConsentCode
\Gems\Util\ConsentCodegetEmailAddress() : string
stringgetFirstName() : string
stringgetFullName() : string
stringgetGender() : string
stringgetGreeting() : string
stringgetGreetingNL() : string
stringgetId() : integer
integerThe respondent idgetLanguage() : string
stringgetLastName() : string
stringgetName() : string
stringgetOrganization() : \Gems_User_Organization
\Gems_User_OrganizationgetOrganizationId() : integer
integerOrganization IDgetPatientId() : string
| deprecated | since version 1.6.4 |
|---|
stringgetPatientNumber() : string
stringThe respondents patient numbergetPhonenumber() : string
stringgetReceptionCode() : \Gems_Util_ReceptionCode
\Gems_Util_ReceptionCodereception codegetRespondentModel() : \Gems_Model_RespondentModel
\Gems_Model_RespondentModelrefresh()
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_ReceptionCodeThe old reception code
\Gems_Util_ReceptionCodethe new reception code
integerThe number of restored trackssetLocale($locale)
setReceptionCode(string $newCode) : \Gems_Util_ReceptionCode
stringString or \Gems_Util_ReceptionCode
\Gems_Util_ReceptionCodeThe 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