class GeoPHPWrapper in geoPHP 8
GeoPHPWrapper.
Hierarchy
- class \Drupal\geophp\GeoPHPWrapper implements GeoPHPInterface
Expanded class hierarchy of GeoPHPWrapper
1 string reference to 'GeoPHPWrapper'
1 service uses GeoPHPWrapper
File
- src/
GeoPHPWrapper.php, line 8
Namespace
Drupal\geophpView source
class GeoPHPWrapper implements GeoPHPInterface {
/**
* Constructor.
*/
public function __construct() {
require_once drupal_get_path('module', 'geophp') . '/geoPHP/geoPHP.inc';
}
/**
* {@inheritdoc}
*/
public function version() {
return \geoPHP::version();
}
/**
* {@inheritdoc}
*/
public function load() {
return call_user_func_array([
'\\geoPHP',
'load',
], func_get_args());
}
/**
* {@inheritdoc}
*/
public function getAdapterMap() {
return call_user_func_array([
'\\geoPHP',
'getAdapterMap',
], func_get_args());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GeoPHPWrapper:: |
public | function |
Function getAdapterMap(). Overrides GeoPHPInterface:: |
|
GeoPHPWrapper:: |
public | function |
Loads a geometry object given some parameters. Overrides GeoPHPInterface:: |
|
GeoPHPWrapper:: |
public | function |
Retrieves the GeoPHP library current version. Overrides GeoPHPInterface:: |
|
GeoPHPWrapper:: |
public | function | Constructor. |