You are here

public function SmartIpLocationInterface::getData in Smart IP 8.4

Same name and namespace in other branches
  1. 8.2 src/SmartIpLocationInterface.php \Drupal\smart_ip\SmartIpLocationInterface::getData()
  2. 8.3 src/SmartIpLocationInterface.php \Drupal\smart_ip\SmartIpLocationInterface::getData()

Gets all the Smart IP location data.

Parameters

bool $update: Flag to execute update user's geolocation if it is still empty. Default to TRUE.

Return value

array An array of Smart IP location data.

1 method overrides SmartIpLocationInterface::getData()
SmartIpLocation::getData in src/SmartIpLocation.php
Gets all the Smart IP location data.

File

src/SmartIpLocationInterface.php, line 63
Contains \Drupal\smart_ip\SmartIpLocationInterface.

Class

SmartIpLocationInterface
Provides an interface for Smart IP's data location.

Namespace

Drupal\smart_ip

Code

public function getData($update = TRUE);