Bitrix API

Find extends Base

Class DefaultStrategy

Table of Contents

Constants

REPO_PRIORITY_A  = 'A'
REPO_PRIORITY_B  = 'B'
REPO_PRIORITY_C  = 'C'

Methods

__construct()  : mixed
FindStrategy constructor.
autocomplete()  : mixed
findByCoords()  : mixed
findByExternalId()  : mixed
findById()  : mixed
findByText()  : mixed
findParents()  : mixed
setLocationRepositories()  : self

Constants

REPO_PRIORITY_A

public mixed REPO_PRIORITY_A = 'A'

REPO_PRIORITY_B

public mixed REPO_PRIORITY_B = 'B'

REPO_PRIORITY_C

public mixed REPO_PRIORITY_C = 'C'

Methods

__construct()

FindStrategy constructor.

public __construct([array<string|int, IRepository$locationRepositories = [] ]) : mixed
Parameters
$locationRepositories : array<string|int, IRepository> = []
Tags
throws
ArgumentOutOfRangeException

autocomplete()

public autocomplete(array<string|int, mixed> $params, int $searchScope) : mixed
Parameters
$params : array<string|int, mixed>
$searchScope : int

findByCoords()

public findByCoords(float $lat, float $lng, int $zoom, string $languageId, int $searchScope) : mixed
Parameters
$lat : float
$lng : float
$zoom : int
$languageId : string
$searchScope : int

findByExternalId()

public findByExternalId(string $externalId, string $sourceCode, string $languageId, int $searchScope) : mixed
Parameters
$externalId : string
$sourceCode : string
$languageId : string
$searchScope : int

findById()

public findById(int $id, string $languageId, int $searchScope) : mixed
Parameters
$id : int
$languageId : string
$searchScope : int

findByText()

public findByText(string $text, string $languageId, int $searchScope) : mixed
Parameters
$text : string
$languageId : string
$searchScope : int

findParents()

public findParents(Location $location, string $languageId, int $searchScope) : mixed
Parameters
$location : Location
$languageId : string
$searchScope : int

setLocationRepositories()

public setLocationRepositories(array<string|int, mixed> $locationRepositories) : self
Parameters
$locationRepositories : array<string|int, mixed>
Tags
inheritDoc
Return values
self

        
On this page

Search results