Class MatukioModelEventlist
since | 6.0.8 |
---|---|
package | MatukioEvents |
__construct(array $config = array()
)
array
An optional associative array of configuration settings.
getContext() : null | string
null
string
getListQuery() : \JDatabaseQuery
\JDatabaseQuery
A JDatabaseQuery object to retrieve the data set.getOrderBy(\Joomla\Registry\Tests\Stubs\JRegistry $params) : mixed | string
since | 6.0.8 |
---|
\Joomla\Registry\Tests\Stubs\JRegistry
The params
mixed
string
getTable(string $type= 'Matukio'
, string $prefix= 'Table'
, array $config= array()
) : \JTable
string
The table type to instantiate
string
A prefix for the table class name. Optional.
array
Configuration array for model. Optional.
\JTable
A database object_getListCount(\JDatabaseQuery|string $query) : integer | mixed
since | 6.0.14 |
---|
\JDatabaseQuery
string
The Query Object
integer
mixed
populateState(string $ordering= "r.begin"
, 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.
string
An optional ordering field.
string
An optional direction (asc|desc).
buildBookedQuery(\JDatabaseQuery $query, integer $userId) : void
since | 6.0.8 |
---|
\JDatabaseQuery
The query
integer
The user id
buildCustomFieldFilter(\JDatabaseQuery $query, string $filter) : void
since | 6.0.13 |
---|
\JDatabaseQuery
The query
string
JSON Encoded filter values (array)
buildDateQuery(\JDatabaseQuery $query, integer $dateId) : void
since | 6.0.8 |
---|
\JDatabaseQuery
The query
integer
The dateid (Magic number.. see method)
buildFeeQuery(\JDatabaseQuery $query, integer $feeId) : void
since | 6.0.8 |
---|
\JDatabaseQuery
The query
integer
The fee (Magin Number)
buildGeolocationQuery(\JDatabaseQuery $query, string $json, $radius = null
) : void
since | 6.0.10 |
---|
\JDatabaseQuery
The query
string
The json encoded coordinates
buildHotspotsGeolocationQuery(\JDatabaseQuery $query, string $json, $radius = 10
) : void
since | 6.0.10 |
---|
\JDatabaseQuery
The query
string
The json encoded coordinates
buildOwnEventsQuery(\JDatabaseQuery $query, integer $userId) : void
since | 6.0.8 |
---|
\JDatabaseQuery
The query
integer
The user id
buildSearchQuery(\JDatabaseQuery $query, string $search) : void
since | 6.0.8 |
---|
\JDatabaseQuery
The query
string
The search string
getCategory(\Joomla\Registry\Registry $params) : mixed | string
since | 6.0.8 |
---|
\Joomla\Registry\Registry
mixed
string
Class MatukioModelEventlist
since | 2.2.5 |
---|---|
package | MatukioEvents |
__construct(array $config = array()
)
array
An optional associative array of configuration settings.
getContext() : null | string
null
string
getListQuery() : \JDatabaseQuery
\JDatabaseQuery
A JDatabaseQuery object to retrieve the data set.getTable(string $type= 'Events'
, string $prefix= 'MatukioTable'
, array $config= array()
) : \JTable
string
The table type to instantiate
string
A prefix for the table class name. Optional.
array
Configuration array for model. Optional.
\JTable
A database objectpopulateState(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.
string
An optional ordering field.
string
An optional direction (asc|desc).