extends |
Model |
---|
Class Product
Methods | ||
---|---|---|
public
|
__construct(Registry $registry)
|
# |
public
|
getProduct(int $product_id): array<string, mixed>
|
# |
public
|
getProducts(array<string, mixed> $data = []): array<int, array<string, mixed>>
|
# |
public
|
getCategories(int $product_id): array<int, array<string, mixed>>
|
# |
public
|
getCategoriesByCategoryId(int $product_id, int $category_id): array<string, mixed>
|
# |
public
|
getAttributes(int $product_id): array<int, array<string, mixed>>
|
# |
public
|
getOptions(int $product_id): array<int, array<string, mixed>>
|
# |
public
|
getDiscounts(int $product_id): array<int, array<string, mixed>>
|
# |
public
|
getImages(int $product_id): array<int, array<string, mixed>>
|
# |
public
|
getSubscription(int $product_id, int $subscription_plan_id): array<string, mixed>
|
# |
public
|
getSubscriptions(int $product_id): array<int, array<string, mixed>>
|
# |
public
|
getLayoutId(int $product_id): int
|
# |
public
|
getRelated(int $product_id): array<int, array<string, mixed>>
|
# |
public
|
getTotalProducts(array<string, mixed> $data = []): int
|
# |
public
|
getSpecials(array<string, mixed> $data = []): array<int, array<string, mixed>>
|
# |
public
|
getTotalSpecials(): int
|
# |
public
|
addReport(int $product_id, string $ip, string $country = ''): void
|
# |
Methods inherited from Opencart\System\Engine\Model |
---|
__get(), __set(), __isset() |
Properties | |||
---|---|---|---|
protected
|
array<string, string>
|
$statement = []
|
# |
Properties inherited from Opencart\System\Engine\Model |
---|
$registry |