| @@ 294-300 (lines=7) @@ | ||
| 291 | * @param Exception|null $e |
|
| 292 | * @return void |
|
| 293 | */ |
|
| 294 | public function setContinuePlaying($result = 1, $msg = null, $e = null) |
|
| 295 | { |
|
| 296 | $this->nextAction = PhaseGroup_Player::NEXT_CONTINUE; |
|
| 297 | $this->result = $result; |
|
| 298 | $this->message = $msg; |
|
| 299 | $this->exception = $e; |
|
| 300 | } |
|
| 301 | ||
| 302 | /** |
|
| 303 | * @param integer $result |
|
| @@ 308-314 (lines=7) @@ | ||
| 305 | * @param Exception|null $e |
|
| 306 | * @return void |
|
| 307 | */ |
|
| 308 | public function setPlayingFailed($result, $msg, $e = null) |
|
| 309 | { |
|
| 310 | $this->nextAction = PhaseGroup_Player::NEXT_FAIL; |
|
| 311 | $this->result = $result; |
|
| 312 | $this->message = $msg; |
|
| 313 | $this->exception = $e; |
|
| 314 | } |
|
| 315 | ||
| 316 | /** |
|
| 317 | * @param integer $result |
|
| @@ 321-327 (lines=7) @@ | ||
| 318 | * @param string $msg |
|
| 319 | * @return void |
|
| 320 | */ |
|
| 321 | public function setSkipPlaying($result, $msg, $e = null) |
|
| 322 | { |
|
| 323 | $this->nextAction = PhaseGroup_Player::NEXT_SKIP; |
|
| 324 | $this->result = $result; |
|
| 325 | $this->message = $msg; |
|
| 326 | $this->exception = $e; |
|
| 327 | } |
|
| 328 | } |
|
| 329 | ||