API Calendar

since 7.0.0
package MatukioEvents
inherited_from \MatukioApi

 Methods

Get all events

_() : array

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

since 6.1.2

Returns

array

Load the events for the calendar

loadEvents(string $start, string $end, string $categories, integer $locationId) : mixed
since 7.0.0

Parameters

$start

string

Start date

$end

string

End date

$categories

string

Categories to filter for (Optional)

$locationId

integer

Location to filter for (Optional)

Returns

mixed

Prepare the event output for the calendar

prepareEvents(array $events, string $startDate, string $endDate) : array
since 7.0.0

Parameters

$events

array

Events

$startDate

string

Start Date

$endDate

string

End Date

Returns

array