Class MatukioModelLocations
since | 6.1.2 |
---|---|
package | MatukioEvents |
__construct(array $config = array()
)
since | 6.1.2 |
---|
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= 'Locations'
, 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= "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).
buildGeolocationQuery(\JDatabaseQuery $query, string $json, $radius = 10
) : void
since | 6.1.2 |
---|
\JDatabaseQuery
The query
string
The json encoded coordinates
buildSearchQuery(\JDatabaseQuery $query, string $search) : void
since | 6.1.2 |
---|
\JDatabaseQuery
The query
string
The search string
$location : object
null
since | 6.1.2 |
---|
Class MatukioModelLocations
since | 3.0.0 |
---|---|
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= 'Locations'
, 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).