PHP Class BcGmapsComponent

Inheritance: extends Component
Mostra file Open project: baserproject/basercms Class Usage Examples

Protected Properties

Property Type Description
$_address string Address
$_administrativeAreaName string Administrative area name
$_baseUrl string Base Url
$_countryName string Country name
$_countryNameCode string Country name code
$_latitude double Latitude
$_longitude double Longitude
$_postalCode string Postal Code

Public Methods

Method Description
__construct ( ) : void Construct
getInfoLocation ( string $address ) : boolean getInfoLocation
getLatitude ( ) : double get the Latitude coordinate
getLongitude ( ) : double get the Longitude coordinate

Protected Methods

Method Description
_connect ( string $param ) : boolean connect to Google Maps

Method Details

__construct() public method

Construct
public __construct ( ) : void
return void

_connect() protected method

connect to Google Maps
protected _connect ( string $param ) : boolean
$param string
return boolean

getInfoLocation() public method

getInfoLocation
public getInfoLocation ( string $address ) : boolean
$address string
return boolean

getLatitude() public method

get the Latitude coordinate
public getLatitude ( ) : double
return double

getLongitude() public method

get the Longitude coordinate
public getLongitude ( ) : double
return double

Property Details

$_address protected_oe property

Address
protected string $_address
return string

$_administrativeAreaName protected_oe property

Administrative area name
protected string $_administrativeAreaName
return string

$_baseUrl protected_oe property

Base Url
protected string $_baseUrl
return string

$_countryName protected_oe property

Country name
protected string $_countryName
return string

$_countryNameCode protected_oe property

Country name code
protected string $_countryNameCode
return string

$_latitude protected_oe property

Latitude
protected double $_latitude
return double

$_longitude protected_oe property

Longitude
protected double $_longitude
return double

$_postalCode protected_oe property

Postal Code
protected string $_postalCode
return string