docs/api/Opencart.Admin.Model.Localisation.Location.html
| extends | Model |
Class Location
Located at admin\model\localisation\location.php
| Methods |
|---|
| ` |
public
` | `addLocation(array<string, mixed> $data): int`
Add Location
Add Location
| # | | `
public
` | `editLocation(int $location_id, array<string, mixed> $data): void`
Edit Location
Edit Location
| # | | `
public
` | `deleteLocation(int $location_id): void`
Delete Location
Delete Location
| # | | `
public
` | `getLocation(int $location_id): array<string, mixed>`
Get Location
Get Location
| # | | `
public
` | `getLocations(array<string, mixed> $data = []): array<int, array<string, mixed>>`
Get Locations
Get Locations
| # | | `
public
` | `getTotalLocations(): int`
Get Total Locations
Get Total Locations
| # |
| Methods inherited from Opencart\System\Engine\Model |
|---|
__construct(),__get(), __set(),__isset() |
| Properties inherited from Opencart\System\Engine\Model |
|---|
$registry |
OpenCart API API documentation generated by ApiGen dev-master