| @@ 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 |
|
| @@ 251-261 (lines=11) @@ | ||
| 248 | * @param string $uid |
|
| 249 | * @return array |
|
| 250 | */ |
|
| 251 | protected function generateUserParameter($uid) { |
|
| 252 | if (!isset($this->displayNames[$uid])) { |
|
| 253 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 254 | } |
|
| 255 | ||
| 256 | return [ |
|
| 257 | 'type' => 'user', |
|
| 258 | 'id' => $uid, |
|
| 259 | 'name' => $this->displayNames[$uid], |
|
| 260 | ]; |
|
| 261 | } |
|
| 262 | ||
| 263 | /** |
|
| 264 | * @param string $uid |
|
| @@ 131-141 (lines=11) @@ | ||
| 128 | * @param string $uid |
|
| 129 | * @return array |
|
| 130 | */ |
|
| 131 | protected function generateUserParameter($uid) { |
|
| 132 | if (!isset($this->displayNames[$uid])) { |
|
| 133 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 134 | } |
|
| 135 | ||
| 136 | return [ |
|
| 137 | 'type' => 'user', |
|
| 138 | 'id' => $uid, |
|
| 139 | 'name' => $this->displayNames[$uid], |
|
| 140 | ]; |
|
| 141 | } |
|
| 142 | ||
| 143 | /** |
|
| 144 | * @param string $uid |
|
| @@ 162-172 (lines=11) @@ | ||
| 159 | * @param string $uid |
|
| 160 | * @return array |
|
| 161 | */ |
|
| 162 | protected function getUser($uid) { |
|
| 163 | if (!isset($this->displayNames[$uid])) { |
|
| 164 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 165 | } |
|
| 166 | ||
| 167 | return [ |
|
| 168 | 'type' => 'user', |
|
| 169 | 'id' => $uid, |
|
| 170 | 'name' => $this->displayNames[$uid], |
|
| 171 | ]; |
|
| 172 | } |
|
| 173 | ||
| 174 | /** |
|
| 175 | * @param string $uid |
|
| @@ 310-320 (lines=11) @@ | ||
| 307 | ]; |
|
| 308 | } |
|
| 309 | ||
| 310 | protected function getUserParameter($uid) { |
|
| 311 | if (!isset($this->displayNames[$uid])) { |
|
| 312 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 313 | } |
|
| 314 | ||
| 315 | return [ |
|
| 316 | 'type' => 'user', |
|
| 317 | 'id' => $uid, |
|
| 318 | 'name' => $this->displayNames[$uid], |
|
| 319 | ]; |
|
| 320 | } |
|
| 321 | ||
| 322 | protected function generatePlainSystemTag(array $parameter) { |
|
| 323 | if ($parameter['assignable'] === '1') { |
|
| @@ 166-176 (lines=11) @@ | ||
| 163 | * @param string $uid |
|
| 164 | * @return array |
|
| 165 | */ |
|
| 166 | protected function generateUserParameter($uid) { |
|
| 167 | if (!isset($this->displayNames[$uid])) { |
|
| 168 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 169 | } |
|
| 170 | ||
| 171 | return [ |
|
| 172 | 'type' => 'user', |
|
| 173 | 'id' => $uid, |
|
| 174 | 'name' => $this->displayNames[$uid], |
|
| 175 | ]; |
|
| 176 | } |
|
| 177 | ||
| 178 | /** |
|
| 179 | * @param string $uid |
|
| @@ 475-485 (lines=11) @@ | ||
| 472 | * @param string $uid |
|
| 473 | * @return array |
|
| 474 | */ |
|
| 475 | protected function getUser($uid) { |
|
| 476 | if (!isset($this->displayNames[$uid])) { |
|
| 477 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 478 | } |
|
| 479 | ||
| 480 | return [ |
|
| 481 | 'type' => 'user', |
|
| 482 | 'id' => $uid, |
|
| 483 | 'name' => $this->displayNames[$uid], |
|
| 484 | ]; |
|
| 485 | } |
|
| 486 | ||
| 487 | /** |
|
| 488 | * @param string $uid |
|