|
| __construct (Find $findStrategy, Save $saveStrategy, Delete $deleteStrategy) |
|
| findById (int $id, string $languageId, int $searchScope) |
|
| findByExternalId (string $externalId, string $sourceCode, string $languageId, int $searchScope) |
|
| findByText (string $text, string $languageId, int $searchScope) |
|
| autocomplete (array $params, int $searchScope) |
|
| save (Entity\Location $location) |
|
| delete (Entity\Location $location) |
|
| findParents (Entity\Location $location, string $languageId, int $searchScope) |
|
| saveParents (Entity\Location\Parents $parents) |
|
См. определение в файле locationrepository.php строка 15
◆ __construct()
__construct |
( |
Find | $findStrategy, |
|
|
Save | $saveStrategy, |
|
|
Delete | $deleteStrategy ) |
LocationRepository constructor.
- Аргументы
-
Find | $findStrategy | |
Save | $saveStrategy | |
Delete | $deleteStrategy | |
См. определение в файле locationrepository.php строка 27
◆ autocomplete()
autocomplete |
( |
array | $params, |
|
|
int | $searchScope ) |
◆ delete()
◆ findByExternalId()
findByExternalId |
( |
string | $externalId, |
|
|
string | $sourceCode, |
|
|
string | $languageId, |
|
|
int | $searchScope ) |
- Аргументы
-
string | $externalId | |
string | $sourceCode | |
string | $languageId | |
int | $searchScope | |
- Возвращает
- Entity\Location|bool|null
См. определение в файле locationrepository.php строка 49
◆ findById()
findById |
( |
int | $id, |
|
|
string | $languageId, |
|
|
int | $searchScope ) |
◆ findByText()
findByText |
( |
string | $text, |
|
|
string | $languageId, |
|
|
int | $searchScope ) |
- Аргументы
-
string | $text | |
string | $languageId | |
int | $searchScope | |
- Возвращает
- Entity\Generic\Collection|bool
См. определение в файле locationrepository.php строка 60
◆ findParents()
findParents |
( |
Entity\Location | $location, |
|
|
string | $languageId, |
|
|
int | $searchScope ) |
- Аргументы
-
Entity\Location | $location | |
string | $languageId | |
int | $searchScope | |
- Возвращает
- Entity\Location\Parents
См. определение в файле locationrepository.php строка 99
◆ save()
◆ saveParents()