-
Notifications
You must be signed in to change notification settings - Fork 2
tp TouchPointWP Location
James K. edited this page May 15, 2024
·
2 revisions
A Location is generally a physical place, with an internet connection. These likely correspond to campuses, but don't necessarily need to.
- Class name: Location
- Namespace: \tp\TouchPointWP
- This class implements: tp\TouchPointWP\hasGeo
public mixed name
- Visibility: public
public mixed lat
- Visibility: public
public mixed lng
- Visibility: public
public mixed radius
- Visibility: public
public mixed ipAddresses
- Visibility: public
\tp\TouchPointWP\Location[] tp\TouchPointWP\Location::getLocations()
Get an array of the
- Visibility: public
- This method is static.
- \tp\TouchPointWP\Location[] -
mixed tp\TouchPointWP\Location::getLocationForIP(string ipAddress)
- Visibility: public
- This method is static.
- ipAddress string
- mixed
bool tp\TouchPointWP\hasGeo::hasGeo()
Indicates whether a map of a single item can be displayed.
- Visibility: public
- This method is defined by tp\TouchPointWP\hasGeo
- bool -
object|null tp\TouchPointWP\hasGeo::asGeoIFace(string type)
Returns a standardized stdObject, or null if not viable.
Return object properties are lat, lng, human, and type.
- Visibility: public
- This method is defined by tp\TouchPointWP\hasGeo
- type string - 'loc' for navigator location, or 'ip' for ip address location
- object|null -
\tp\TouchPointWP\Location|null tp\TouchPointWP\Location::getLocationForLatLng(float lat, float lng)
Get a location that corresponds to a given lat/lng, or null if none match.
- Visibility: public
- This method is static.
- lat float* lng float
- \tp\TouchPointWP\Location|null -
false|string tp\TouchPointWP\Location::validateSetting(string settings)
Validates and corrects the Locations settings value.
- Visibility: public
- This method is static.
- settings string
- false|string -
?string tp\TouchPointWP\hasGeo::locationName()
Get the name of the location.
- Visibility: public
- This method is defined by tp\TouchPointWP\hasGeo
- ?string -
Documentation generated June 26, 2024 3:56am.
- Simple RSVP
- People Lists
- Involvements
- Outreach Partners
- SQL Reports
- Events Calendar from Meetings (Beta)
- Events Calendar Plugin Integration (Deprecated)
- tp
- tp\TouchPointWP
- api
- Auth
- CalendarGrid
- EventsCalendar
- ExtraValueHandler
- Geo
- hasGeo
- Involvement
- Involvement_PostTypeSettings
- InvolvementMembership
- Location
- Meeting
- module
- Partner
- Person
- PostTypeCapable
- RegistrationType
- Report
- Rsvp
- Taxonomies
- TouchPointWP
- TouchPointWP_AdminAPI
- TouchPointWP_Exception
- TouchPointWP_Settings
- TouchPointWP_WPError
- updatesViaCron
- Utilities
- tp\TouchPointWP