docs/api/Opencart.Admin.Model.Tool.Notification.html
| extends | Model |
Class Notification
Located at admin\model\tool\notification.php
| Methods |
|---|
| ` |
public
` | `addNotification(array<string, mixed> $data): int`
Add Notification
Add Notification
| # | | `
public
` | `editStatus(int $notification_id, bool $status): void`
Edit Status
Edit Status
| # | | `
public
` | `deleteNotification(int $notification_id): void`
Delete Notification
Delete Notification
| # | | `
public
` | `getNotification(int $notification_id): array<string, mixed>`
Get Notification
Get Notification
| # | | `
public
` | `getNotifications(array<string, mixed> $data = []): array<int, array<string, mixed>>`
Get Notifications
Get Notifications
| # | | `
public
` | `getTotalNotifications(array<string, mixed> $data = []): int`
Get Total Notifications
Get Total Notifications
| # |
| 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