|
| findById (int $locationId, string $languageId, int $searchScope=LOCATION_SEARCH_SCOPE_ALL) |
| findByExternalId (string $externalId, string $sourceCode, string $languageId, int $searchScope=LOCATION_SEARCH_SCOPE_ALL) |
| findByCoords (float $lat, float $lng, int $zoom, string $languageId) |
| autocomplete (array $params, int $searchScope=LOCATION_SEARCH_SCOPE_ALL) |
| findParents (Entity\Location $location, string $languageId, int $searchScope=LOCATION_SEARCH_SCOPE_ALL) |
| save (Entity\Location $location) |
| delete (Entity\Location $location) |
| saveParents (Entity\Location\Parents $parents) |
| __clone () |
| __wakeup () |
См. определение в файле locationservice.php строка 20
◆ __construct()
__construct |
( |
Config\Container | $config | ) |
|
|
protected |
◆ autocomplete()
◆ delete()
◆ findByCoords()
findByCoords |
( |
float | $lat, |
|
|
float | $lng, |
|
|
int | $zoom, |
|
|
string | $languageId ) |
Find location by coordinates
- Аргументы
-
float | $lat | |
float | $lng | |
int | $zoom | |
string | $languageId | |
- Возвращает
- Entity\Location|null
См. определение в файле locationservice.php строка 88
◆ findByExternalId()
findByExternalId |
( |
string | $externalId, |
|
|
string | $sourceCode, |
|
|
string | $languageId, |
|
|
int | $searchScope = LOCATION_SEARCH_SCOPE_ALL ) |
Find location by externalId
- Аргументы
-
string | $externalId | |
string | $sourceCode | |
string | $languageId | |
int | $searchScope | |
- Возвращает
- Entity\Location|bool|null
См. определение в файле locationservice.php строка 63
◆ findById()
Find Location by locationId
- Аргументы
-
int | $locationId | |
string | $languageId | |
int | $searchScope | |
- Возвращает
- Entity\Location|null|bool
См. определение в файле locationservice.php строка 38
◆ findParents()
Find Location parents
- Аргументы
-
Entity\Location | $location | |
string | $languageId | |
int | $searchScope | |
- Возвращает
- Entity\Location\Parents|bool
См. определение в файле locationservice.php строка 143
◆ save()
◆ saveParents()
Save parents from the location
- Аргументы
-
Entity\Location\Parents | $parents | |
- Возвращает
- Result
См. определение в файле locationservice.php строка 200
◆ $instance
◆ $repository
Объявления и описания членов класса находятся в файле: