API MatukioApiCategory

since 6.1.2
package MatukioEvents
inherited_from \MatukioApi

 Methods

Get all categories

_() : array

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

since 6.1.2

Returns

array

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

cleanupCategories(array $categories) : array
since 6.1.2

Parameters

$categories

array

Categories

Returns

array

Get categories at a location

getCategoriesAtLocation(integer $locationId) : array
since 6.1.2

Parameters

$locationId

integer

Location id

Returns

array

Load organizers

loadCategories(string $search = null, integer|array $catId = null, integer $locationId = 0, integer $offset = 0, integer $limit = 0, string $orderBy = 'c.title ASC') : mixed
since 6.1.2

Parameters

$search

string

Search

$catId

integerarray

Category Id

$locationId

integer

Get only categories which have an event at this location

$offset

integer

Offset

$limit

integer

The limit

$orderBy

string

Order by

Returns

mixed