| @@ 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 |
|
| @@ 218-228 (lines=11) @@ | ||
| 215 | * @param string $uid |
|
| 216 | * @return array |
|
| 217 | */ |
|
| 218 | protected function generateUserParameter($uid) { |
|
| 219 | if (!isset($this->displayNames[$uid])) { |
|
| 220 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 221 | } |
|
| 222 | ||
| 223 | return [ |
|
| 224 | 'type' => 'user', |
|
| 225 | 'id' => $uid, |
|
| 226 | 'name' => $this->displayNames[$uid], |
|
| 227 | ]; |
|
| 228 | } |
|
| 229 | ||
| 230 | /** |
|
| 231 | * @param string $uid |
|
| @@ 298-308 (lines=11) @@ | ||
| 295 | ]; |
|
| 296 | } |
|
| 297 | ||
| 298 | protected function getUserParameter($uid) { |
|
| 299 | if (!isset($this->displayNames[$uid])) { |
|
| 300 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 301 | } |
|
| 302 | ||
| 303 | return [ |
|
| 304 | 'type' => 'user', |
|
| 305 | 'id' => $uid, |
|
| 306 | 'name' => $this->displayNames[$uid], |
|
| 307 | ]; |
|
| 308 | } |
|
| 309 | ||
| 310 | protected function generatePlainSystemTag(array $parameter) { |
|
| 311 | if ($parameter['assignable'] === '1') { |
|
| @@ 284-294 (lines=11) @@ | ||
| 281 | * @param string $uid |
|
| 282 | * @return array |
|
| 283 | */ |
|
| 284 | protected function getUser($uid) { |
|
| 285 | if (!isset($this->displayNames[$uid])) { |
|
| 286 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 287 | } |
|
| 288 | ||
| 289 | return [ |
|
| 290 | 'type' => 'user', |
|
| 291 | 'id' => $uid, |
|
| 292 | 'name' => $this->displayNames[$uid], |
|
| 293 | ]; |
|
| 294 | } |
|
| 295 | ||
| 296 | /** |
|
| 297 | * @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 |
|
| @@ 154-164 (lines=11) @@ | ||
| 151 | * @param string $uid |
|
| 152 | * @return array |
|
| 153 | */ |
|
| 154 | protected function generateUserParameter($uid) { |
|
| 155 | if (!isset($this->displayNames[$uid])) { |
|
| 156 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 157 | } |
|
| 158 | ||
| 159 | return [ |
|
| 160 | 'type' => 'user', |
|
| 161 | 'id' => $uid, |
|
| 162 | 'name' => $this->displayNames[$uid], |
|
| 163 | ]; |
|
| 164 | } |
|
| 165 | ||
| 166 | /** |
|
| 167 | * @param string $uid |
|
| @@ 260-270 (lines=11) @@ | ||
| 257 | * @param string $uid |
|
| 258 | * @return array |
|
| 259 | */ |
|
| 260 | protected function generateUserParameter($uid) { |
|
| 261 | if (!isset($this->displayNames[$uid])) { |
|
| 262 | $this->displayNames[$uid] = $this->getDisplayName($uid); |
|
| 263 | } |
|
| 264 | ||
| 265 | return [ |
|
| 266 | 'type' => 'user', |
|
| 267 | 'id' => $uid, |
|
| 268 | 'name' => $this->displayNames[$uid], |
|
| 269 | ]; |
|
| 270 | } |
|
| 271 | ||
| 272 | /** |
|
| 273 | * @param string $email |
|