docs/api/Opencart.Catalog.Model.Catalog.Review.html
| extends | Model |
Class Review
Located at catalog\model\catalog\review.php
| Methods |
|---|
| ` |
public
` | `addReview(int $product_id, array<string, mixed> $data): int`
Add Review
Add Review
| # | | `
public
` | `getReviewsByProductId(int $product_id, int $start = 0, int $limit = 20): array<int, array<string, mixed>>`
Get Reviews By Product ID
Get Reviews By Product ID
| # | | `
public
` | `getTotalReviewsByProductId(int $product_id): int`
Get Total Reviews By Product ID
Get Total Reviews By Product ID
| # |
| 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