| 1 | <?php |
||
| 18 | class SimultaneousRegistrationsViewHelper extends AbstractViewHelper |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Returns an array with the amount of possible simultaneous registrations |
||
| 22 | * respecting the maxRegistrationsPerUser setting and also respects the amount |
||
| 23 | * of remaining free places. |
||
| 24 | * |
||
| 25 | * The returned array index starts at 1 if at least one registration is possible |
||
| 26 | * |
||
| 27 | * @param \DERHANSEN\SfEventMgt\Domain\Model\Event $event Event |
||
| 28 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public function render($event) |
||
| 50 | } |
||
| 51 |