| 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 | 2 | public function getById($eventId) |
|
| 20 | |||
| 21 | 1 | public function getTypes() |
|
| 25 | |||
| 26 | 1 | public function getPages($eventId, $pageSize = 50, $pageNumber = 0) |
|
| 30 | |||
| 31 | 1 | public function create(EventRequest $event) |
|
| 35 | } |
||
| 36 |