| @@ 86-99 (lines=14) @@ | ||
| 83 | } |
|
| 84 | } |
|
| 85 | return $this->participantObj; |
|
| 86 | case 'webParticipantName': |
|
| 87 | if($this->webParticipantName === null) |
|
| 88 | { |
|
| 89 | if(isset($this->dbData['participant'])) |
|
| 90 | { |
|
| 91 | $tmp = new \VolunteerProfile($this->dbData['participant']); |
|
| 92 | $this->webParticipantName = $tmp->getDisplayName(); |
|
| 93 | } |
|
| 94 | else |
|
| 95 | { |
|
| 96 | $this->webParticipantName = ""; |
|
| 97 | } |
|
| 98 | } |
|
| 99 | return $this->webParticipantName; |
|
| 100 | case 'scheduleParticipantName': |
|
| 101 | if($this->scheduleParticipantName === null) |
|
| 102 | { |
|
| @@ 100-113 (lines=14) @@ | ||
| 97 | } |
|
| 98 | } |
|
| 99 | return $this->webParticipantName; |
|
| 100 | case 'scheduleParticipantName': |
|
| 101 | if($this->scheduleParticipantName === null) |
|
| 102 | { |
|
| 103 | if(isset($this->dbData['participant'])) |
|
| 104 | { |
|
| 105 | $tmp = new \VolunteerProfile($this->dbData['participant']); |
|
| 106 | $this->scheduleParticipantName = $tmp->getDisplayName('paperName'); |
|
| 107 | } |
|
| 108 | else |
|
| 109 | { |
|
| 110 | $this->scheduleParticipantName = ""; |
|
| 111 | } |
|
| 112 | } |
|
| 113 | return $this->scheduleParticipantName; |
|
| 114 | default: |
|
| 115 | return $this->dbData[$propName]; |
|
| 116 | } |
|