getGeoLocationsByCoordinates(float $a_latitude, float $a_longitude)
Example for reading an array of geo locations which have a given attribute.
deleteGeoLocationsByCoordinates(float $a_latitude, float $a_longitude)
Example for a condition based deletion of multiple geo locations.
updateGeoLocationTimestampByCoordinates(float $a_searched_latitude, float $a_searched_longitude, \DateTimeImmutable $a_update_timestamp)
Example for updating multiple objects at once.
ifAnyGeoLocationExistsByCoordinates(float $a_latitude, float $a_longitude)
Example for checking if a geo location (one or more) with a given attribute exists.
updateGeoLocation(ilGeoLocation $a_obj)
Example for updating all attributes of a given geo location.
ifGeoLocationExistsById(int $a_id)
Example for checking if geo location with a certain id exists.
deleteExpiredGeoLocations()
Example for a condition based deletion of multiple geo locations.
deleteGeoLocation(int $a_id)
Exaple for deleting single geo location identified by its id.
This code is just an example for the Repository Pattern! It is a basic interface to the 'ilGeoLocatio...
createGeoLocation(string $a_title, float $a_latitude, float $a_longitude, \DateTimeImmutable $a_expiration_timestamp)
Create a new geo location entry.
getGeoLocationById(int $a_id)
Get a single geo location, identified by its id.