Bitrix API

Repository extends BaseRepository implements IRepository, IFindByExternalId, IFindByCoords, IFindByText, IFindParents, ISource

Class Google

Table of Contents

Interfaces

IRepository
Interface IRepository
IFindByExternalId
Interface IFindByExternalId
IFindByCoords
IFindByText
Interface IFindByText
IFindParents
Interface IFindParent
ISource
Interface ISource

Methods

__construct()  : mixed
findByCoords()  : Location|null
findByExternalId()  : Location|null|bool
findByText()  : Collection|bool
findParents()  : Parents
getSourceCode()  : string
Returns source code

Methods

__construct()

public __construct(string $apiKey, HttpClient $httpClient, GoogleSource $googleSource[, CachedPool $cachePool = null ]) : mixed
Parameters
$apiKey : string
$httpClient : HttpClient
$googleSource : GoogleSource
$cachePool : CachedPool = null

findByCoords()

public findByCoords(float $lat, float $lng, int $zoom, string $languageId) : Location|null
Parameters
$lat : float
$lng : float
$zoom : int
$languageId : string
Return values
Location|null

findByExternalId()

public findByExternalId(string $locationExternalId, string $sourceCode, string $languageId) : Location|null|bool
Parameters
$locationExternalId : string
$sourceCode : string
$languageId : string
Tags
inheritDoc
Return values
Location|null|bool

findByText()

public findByText(string $query, string $languageId) : Collection|bool
Parameters
$query : string
$languageId : string
Tags
inheritDoc
Return values
Collection|bool

findParents()

public findParents(Location $location, string $languageId) : Parents
Parameters
$location : Location
$languageId : string
Tags
inheritDoc
Return values
Parents

getSourceCode()

Returns source code

public static getSourceCode() : string
Tags
inheritDoc
Return values
string

        
On this page

Search results