|
@@ 186-196 (lines=11) @@
|
| 183 |
|
} |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
public function getFighter1Name() |
| 187 |
|
{ |
| 188 |
|
$isTeam = $this->group->championship->category->isTeam; |
| 189 |
|
if ($isTeam) { |
| 190 |
|
|
| 191 |
|
return $this->team1 == null ? '' : $this->team1->name; |
| 192 |
|
} |
| 193 |
|
return |
| 194 |
|
$this->competitor1 == null ? 'BYE' : $this->competitor1->user->firstname . " " . $this->competitor1->user->lastname; |
| 195 |
|
|
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
public function getFighter2Name() |
| 199 |
|
{ |
|
@@ 198-208 (lines=11) @@
|
| 195 |
|
|
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
public function getFighter2Name() |
| 199 |
|
{ |
| 200 |
|
$isTeam = $this->group->championship->category->isTeam; |
| 201 |
|
if ($isTeam) { |
| 202 |
|
|
| 203 |
|
return $this->team2 == null ? 'BYE' : $this->team2->name; |
| 204 |
|
} |
| 205 |
|
|
| 206 |
|
return |
| 207 |
|
$this->competitor2 == null ? 'BYE' : $this->competitor2->user->firstname . " " . $this->competitor2->user->lastname; |
| 208 |
|
} |
| 209 |
|
|
| 210 |
|
|
| 211 |
|
public function getFighter1ShortId() |