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