# Class Opencart\Admin\Model\Catalog\Review

`extends` | `Model`

Class Review

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Catalog\Review

Located at admin\model\catalog\review.php

Methods
`public` | `addReview(array<string, mixed> $data): int` Add Review Add Review | #
`public` | `editReview(int $review_id, array<string, mixed> $data): void` Edit Review Edit Review | #
`public` | `deleteReview(int $review_id): void` Delete Review Delete Review | #
`public` | `deleteReviewsByProductId(int $product_id): void` Delete Reviews By Product ID Delete Reviews By Product ID | #
`public` | `getReview(int $review_id): array<string, mixed>` Get Review Get Review | #
`public` | `getRating(int $product_id): int` Get Rating Get Rating | #
`public` | `getReviews(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Reviews Get Reviews | #
`public` | `getTotalReviews(array<string, mixed> $data = []): int` Get Total Reviews Get Total Reviews | #
`public` | `getTotalReviewsAwaitingApproval(): int` Get Total Reviews Awaiting Approval Get Total Reviews Awaiting Approval | #

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