| 1 | <?php |
||
| 7 | class EventClient extends BaseClient |
||
| 8 | { |
||
| 9 | protected $aliases = [ |
||
| 10 | 'getById' => 'GetEventById', |
||
| 11 | 'getTypes' => 'GetEventTypes', |
||
| 12 | 'getPages' => 'GetPagesForEvent', |
||
| 13 | 'create' => 'RegisterEvent', |
||
| 14 | ]; |
||
| 15 | |||
| 16 | public function getById($eventId) |
||
| 20 | |||
| 21 | public function getTypes() |
||
| 25 | |||
| 26 | public function getPages($eventId, $pageSize = 50, $pageNumber = 0) |
||
| 30 | |||
| 31 | public function create(EventRequest $event) |
||
| 35 | } |
||
| 36 |