Back to Opencart

Class Opencart\Catalog\Model\Account\Gdpr

docs/api/Opencart.Catalog.Model.Account.Gdpr.html

4.1.0.35.4 KB
Original Source

Namespaces

Classes

Class Opencart[Catalog](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.html)\[Model](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.Model.html)\[Account](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.Model.Account.html)\[Gdpr](http://localhost\opencart-master/docs/api/Opencart.Catalog.Model.Account.Gdpr.html)

| extends | Model |

Class Gdpr

Located at catalog\model\account\gdpr.php

Methods
`
public

			` | `addGdpr(string $code, string $email, string $action): void`

Add Gdpr

Add Gdpr

| # | | `

public

			` | `editStatus(int $gdpr_id, bool $status): void`

Edit Status

Edit Status

| # | | `

public

			` | `getGdpr(int $gdpr_id): array<string, mixed>`

Get Gdpr

Get Gdpr

| # | | `

public

			` | `getGdprByCode(string $code): array<string, mixed>`

Get Gdpr By Code

Get Gdpr By Code

| # | | `

public

			` | `getGdprsByEmail(string $email): array<int, array<string, mixed>>`

Get Gdpr(s) By Email

Get Gdpr(s) By Email

| # | | `

public

			` | `getExpires(): array<int, array<string, mixed>>`

Get Expires

Get Expires

| # |

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