Class MatukioModelEventlist

since 2.2.5
package MatukioEvents

 Methods

the constructor Constructor.

__construct(array $config = array()

Parameters

$config

array

An optional associative array of configuration settings.

Get the context

getContext() : null | string

Returns

nullstring

Gets the event if any out of the database

getEvent() : mixed

Returns

mixed

Returns a reference to the a Table object, always creating it.

getTable(string $type = 'Events', string $prefix = 'MatukioTable', array $config = array()) : \JTable

Parameters

$type

string

The table type to instantiate

$prefix

string

A prefix for the table class name. Optional.

$config

array

Configuration array for model. Optional.

Returns

\JTableA database object

Builds the query

_buildQuery(integer $id) : string

Parameters

$id

integer
  • The event id

Returns

string

Class MatukioModelEvent

since 1.0.0
package MatukioEvents

 Methods

Gets the event

getItem(integer $id, $category = true, $access = true, $published = false) : mixed
oaram boolean $category - Left join #__categories
oaram boolean $access - Include access check
oaram boolean $published - Check for published

Parameters

$id

integer
  • The recurring date id

$category

$access

$published

Returns

mixed