static function geoPHP::geosInstalled in geoPHP 7
Same name and namespace in other branches
- 8 geoPHP/geoPHP.inc \geoPHP::geosInstalled()
11 calls to geoPHP::geosInstalled()
- AdaptersTests::testAdapters in geoPHP/
tests/ tests/ adaptersTest.php - Geometry::geos in geoPHP/
lib/ geometry/ Geometry.class.php - geoPHP::geosToGeometry in geoPHP/
geoPHP.inc - geophp_requirements in ./
geophp.module - Implementation of hook_requirements().
- GeosTests::testGeos in geoPHP/
tests/ tests/ geosTest.php
File
- geoPHP/
geoPHP.inc, line 125
Class
Code
static function geosInstalled($force = NULL) {
static $geos_installed = NULL;
if ($force !== NULL) {
$geos_installed = $force;
}
if ($geos_installed !== NULL) {
return $geos_installed;
}
$geos_installed = class_exists('GEOSGeometry');
return $geos_installed;
}