API Dates

since 7.0.0
package MatukioEvents
inherited_from \MatukioApi

 Methods

Get Dates for an event

_() : array
since 7.0.0

Returns

array

Apply the filter to the query object

applyFilter(\JDatabaseQuery $query, string $filter) : \JDatabaseQuery
since 7.0.0

Parameters

$query

\JDatabaseQuery

Query object

$filter

string

Filter

Returns

\JDatabaseQuery

Count the number of events

countDates(integer $eventId, string $filter) : mixed
since 7.0.0

Parameters

$eventId

integer

Event Id

$filter

string

Filter Options

Returns

mixed

Load Dates

loadDates(string $eventId, string $filter, string $offset, string $limit, string $order) : mixed
since 7.0.0

Parameters

$eventId

string

int Event Id

$filter

string

Filter Options (all, current, day, week, year)

$offset

string

Offset

$limit

string

Limit

$order

string

Order by

Returns

mixed

MatukioApiDates

since 7.0.0
package MatukioEvents

 Methods

Cancel an date

cancel() : array
since 7.0.0

Returns

array

Delete a date

delete() : array
since 7.0.0

Returns

array

Publish / Unpublish an date

publish() : array
since 7.0.0

Returns

array

Generate recurring dates

recurring() : array
since 7.0.0

Returns

array

Save a date

save() : array
since 7.0.0

Returns

array