| @@ 105-115 (lines=11) @@ | ||
| 102 | * @param string $uid |
|
| 103 | * @return array |
|
| 104 | */ |
|
| 105 | protected function generateUserParameter($uid) { |
|
| 106 | if (!isset($this->displayNames[$uid])) { |
|
| 107 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 108 | } |
|
| 109 | ||
| 110 | return [ |
|
| 111 | 'type' => 'user', |
|
| 112 | 'id' => $uid, |
|
| 113 | 'name' => $this->displayNames[$uid], |
|
| 114 | ]; |
|
| 115 | } |
|
| 116 | ||
| 117 | /** |
|
| 118 | * @param string $uid |
|
| @@ 160-170 (lines=11) @@ | ||
| 157 | * @param string $uid |
|
| 158 | * @return array |
|
| 159 | */ |
|
| 160 | protected function getUser($uid) { |
|
| 161 | if (!isset($this->displayNames[$uid])) { |
|
| 162 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 163 | } |
|
| 164 | ||
| 165 | return [ |
|
| 166 | 'type' => 'user', |
|
| 167 | 'id' => $uid, |
|
| 168 | 'name' => $this->displayNames[$uid], |
|
| 169 | ]; |
|
| 170 | } |
|
| 171 | ||
| 172 | /** |
|
| 173 | * @param string $uid |
|
| @@ 222-232 (lines=11) @@ | ||
| 219 | * @param string $uid |
|
| 220 | * @return array |
|
| 221 | */ |
|
| 222 | protected function generateUserParameter($uid) { |
|
| 223 | if (!isset($this->displayNames[$uid])) { |
|
| 224 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 225 | } |
|
| 226 | ||
| 227 | return [ |
|
| 228 | 'type' => 'user', |
|
| 229 | 'id' => $uid, |
|
| 230 | 'name' => $this->displayNames[$uid], |
|
| 231 | ]; |
|
| 232 | } |
|
| 233 | ||
| 234 | /** |
|
| 235 | * @param string $uid |
|
| @@ 374-384 (lines=11) @@ | ||
| 371 | * @param string $uid |
|
| 372 | * @return array |
|
| 373 | */ |
|
| 374 | protected function getUser($uid) { |
|
| 375 | if (!isset($this->displayNames[$uid])) { |
|
| 376 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 377 | } |
|
| 378 | ||
| 379 | return [ |
|
| 380 | 'type' => 'user', |
|
| 381 | 'id' => $uid, |
|
| 382 | 'name' => $this->displayNames[$uid], |
|
| 383 | ]; |
|
| 384 | } |
|
| 385 | ||
| 386 | /** |
|
| 387 | * @param string $uid |
|
| @@ 292-302 (lines=11) @@ | ||
| 289 | * @param string $uid |
|
| 290 | * @return array |
|
| 291 | */ |
|
| 292 | protected function generateUserParameter($uid) { |
|
| 293 | if (!isset($this->displayNames[$uid])) { |
|
| 294 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 295 | } |
|
| 296 | ||
| 297 | return [ |
|
| 298 | 'type' => 'user', |
|
| 299 | 'id' => $uid, |
|
| 300 | 'name' => $this->displayNames[$uid], |
|
| 301 | ]; |
|
| 302 | } |
|
| 303 | ||
| 304 | /** |
|
| 305 | * @param string $email |
|
| @@ 308-318 (lines=11) @@ | ||
| 305 | ]; |
|
| 306 | } |
|
| 307 | ||
| 308 | protected function getUserParameter($uid) { |
|
| 309 | if (!isset($this->displayNames[$uid])) { |
|
| 310 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 311 | } |
|
| 312 | ||
| 313 | return [ |
|
| 314 | 'type' => 'user', |
|
| 315 | 'id' => $uid, |
|
| 316 | 'name' => $this->displayNames[$uid], |
|
| 317 | ]; |
|
| 318 | } |
|
| 319 | ||
| 320 | protected function generatePlainSystemTag(array $parameter) { |
|
| 321 | if ($parameter['assignable'] === '1') { |
|
| @@ 164-174 (lines=11) @@ | ||
| 161 | * @param string $uid |
|
| 162 | * @return array |
|
| 163 | */ |
|
| 164 | protected function generateUserParameter($uid) { |
|
| 165 | if (!isset($this->displayNames[$uid])) { |
|
| 166 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 167 | } |
|
| 168 | ||
| 169 | return [ |
|
| 170 | 'type' => 'user', |
|
| 171 | 'id' => $uid, |
|
| 172 | 'name' => $this->displayNames[$uid], |
|
| 173 | ]; |
|
| 174 | } |
|
| 175 | ||
| 176 | /** |
|
| 177 | * @param string $uid |
|