API Events

since 6.1.2
package MatukioEvents
inherited_from \MatukioApi

 Methods

Get all events

_() : array

index.php?option=com_matukio&view=api&request=event

since 6.1.2

Returns

array

Remove things we don't want to expose through the API

cleanupEvents(array $events) : array
since 6.1.2

Parameters

$events

array

Events

Returns

array

Load organizers

loadEvents(string $search = null, integer $catId = null, integer $locationId = 0, string $begin = null, string $day = null, integer $offset = 0, integer $limit = 0, string $orderBy = 'r.begin ASC') : mixed
since 6.1.2

Parameters

$search

string

Search

$catId

integer

Category Id

$locationId

integer

The location id

$begin

string

The begin

$day

string

Day where to search for events

$offset

integer

Offset if any

$limit

integer

The limit

$orderBy

string

Order the result by

Returns

mixed