PHP Class GoogleMaps\Parameters

Author: Alexander Pechkarev ([email protected])
Show file Open project: alexpechkarev/google-maps Class Usage Examples

Protected Properties

Property Type Description
$urlParam

Public Methods

Method Description
getQueryString ( array &$param ) : string Generate Service URL parameters string
resetParams ( )

Protected Methods

Method Description
joinParam ( array $param = [], string $join = '=', string $glue = '&', boolean $useKey = true ) : string Join array pairs into URL encoded string

Method Details

getQueryString() public static method

Generate Service URL parameters string
public static getQueryString ( array &$param ) : string
$param array
return string

joinParam() protected static method

Join array pairs into URL encoded string
protected static joinParam ( array $param = [], string $join = '=', string $glue = '&', boolean $useKey = true ) : string
$param array - single dimension array
$join string
$glue string
$useKey boolean
return string

resetParams() public static method

public static resetParams ( )

Property Details

$urlParam protected static property

protected static $urlParam