Class MatukioModelLocation

since 3.0.0
package MatukioEvents

 Methods

The constructor, just setting id here

__construct() 

Loads the Location

getItem() : mixed

Returns

mixed

Builds the query

_buildQuery(integer $id) : \JDatabaseQuery

Parameters

$id

integer
  • The id

Returns

\JDatabaseQuery

Class MatukioModelLocation

since 3.0.0
package MatukioEvents

 Methods

Get the location

getLocation(integer $id) : mixed

Parameters

$id

integer
  • The id

Returns

mixed

Gets the upcoming events

getUpcomingEvents(integer $loc_id, string $limit = "5", string $orderby = "r.begin ASC") : mixed

Parameters

$loc_id

integer
  • The location id

$limit

string
  • The limit (default 5)

$orderby

string
  • The order by (begin)

Returns

mixed