PHP Class FactualRectangle

Author: Tyler
ファイルを表示 Open project: factual/factual-php-driver

Public Methods

Method Description
__construct ( $latTL, $lonTL, $latBR, $lonBR ) Constructs a geographic Circle representation. Points are always ordered as [latitude, longitude]:
toJsonStr ( ) : string Returns JSON component of query

Method Details

__construct() public method

Constructs a geographic Circle representation. Points are always ordered as [latitude, longitude]:
public __construct ( $latTL, $lonTL, $latBR, $lonBR )

toJsonStr() public method

Returns JSON component of query
public toJsonStr ( ) : string
return string