Class MatukioModelOrganizers

since 6.0.7
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

Method to get a JDatabaseQuery object for retrieving the data set from a database.

getListQuery() : \JDatabaseQuery

Returns

\JDatabaseQueryA JDatabaseQuery object to retrieve the data set.

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

getTable(string $type = 'Organizers', 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

Method to auto-populate the model state.

populateState(string $ordering = "o.name", string $direction = "ASC") : void

This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the model configuration flag to ignore the request is set.

Note. Calling getState in this method will result in recursion.

Parameters

$ordering

string

An optional ordering field.

$direction

string

An optional direction (asc|desc).

Class MatukioModelOrganizers

since 2.2.0
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

Method to get a JDatabaseQuery object for retrieving the data set from a database.

getListQuery() : \JDatabaseQuery

Returns

\JDatabaseQueryA JDatabaseQuery object to retrieve the data set.

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

getTable(string $type = 'Organizers', 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

Method to auto-populate the model state.

populateState(string $ordering = null, string $direction = null) : void

This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the model configuration flag to ignore the request is set.

Note. Calling getState in this method will result in recursion.

Parameters

$ordering

string

An optional ordering field.

$direction

string

An optional direction (asc|desc).