Class MatukioModelUpcomingevents

since 1.0.0
package MatukioEvents

 Methods

Loads the events

getEvents(array $catid, integer $limit = 10, string $orderby = "r.begin ASC", integer $offset = 0, object $where = null, array $locationIds = null, string $begin = null, string $day = null, string $search = null) : \ixed
since 2.0.0

Parameters

$catid

array
  • The category id

$limit

integer
  • The limit (nr events)

$orderby

string
  • Order by (default r.begin)

$offset

integer
  • The limitstart

$where

object
  • Additional where query

$locationIds

array
  • Array of location ids

$begin

string
  • The begin

$day

string
  • The day

$search

string
  • Search term

TODO optimize and merge into one query (count)

Returns

\ixed