Back to Opencart

Class Opencart\Admin\Model\Catalog\Information

docs/api/Opencart.Admin.Model.Catalog.Information.html

4.1.0.37.4 KB
Original Source

Namespaces

Classes

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

| extends | Model |

Class Information

Located at admin\model\catalog\information.php

Methods
`
public

			` | `addInformation(array<string, mixed> $data): int`

Add Information

Add Information

| # | | `

public

			` | `editInformation(int $information_id, array<string, mixed> $data): void`

Edit Information

Edit Information

| # | | `

public

			` | `deleteInformation(int $information_id): void`

Delete Information

Delete Information

| # | | `

public

			` | `getInformation(int $information_id): array<string, mixed>`

Get Information

Get Information

| # | | `

public

			` | `getInformations(array<string, mixed> $data = []): array<int, array<string, mixed>>`

Get Information(s)

Get Information(s)

| # | | `

public

			` | `getTotalInformations(): int`

Get Total Information(s)

Get Total Information(s)

| # | | `

public

			` | `addDescription(int $information_id, int $language_id, array<string, mixed> $data): void`

Add Description

Add Description

| # | | `

public

			` | `deleteDescriptions(int $information_id): void`

Delete Description

Delete Description

| # | | `

public

			` | `deleteDescriptionsByLanguageId(int $language_id): void`

Delete Descriptions By Language ID

Delete Descriptions By Language ID

| # | | `

public

			` | `getDescriptions(int $information_id): array<int, array<string, string>>`

Get Descriptions

Get Descriptions

| # | | `

public

			` | `getDescriptionsByLanguageId(int $language_id): array<int, array<string, string>>`

Get Descriptions By Language ID

Get Descriptions By Language ID

| # | | `

public

			` | `addStore(int $information_id, int $store_id): void`

Add Store

Add Store

| # | | `

public

			` | `deleteStores(int $information_id): void`

Delete Stores

Delete Stores

| # | | `

public

			` | `deleteStoresByStoreId(int $store_id): void`

Delete Stores By Store ID

Delete Stores By Store ID

| # | | `

public

			` | `getStores(int $information_id): array<int, int>`

Get Stores

Get Stores

| # | | `

public

			` | `addLayout(int $information_id, int $store_id, int $layout_id): void`

Add Layout

Add Layout

| # | | `

public

			` | `deleteLayouts(int $information_id): void`

Delete Layouts

Delete Layouts

| # | | `

public

			` | `deleteLayoutsByLayoutId(int $layout_id): void`

Delete Layouts By Layout ID

Delete Layouts By Layout ID

| # | | `

public

			` | `deleteLayoutsByStoreId(int $store_id): void`

Delete Layouts By Store ID

Delete Layouts By Store ID

| # | | `

public

			` | `getLayouts(int $information_id): array<int, int>`

Get Layouts

Get Layouts

| # | | `

public

			` | `getTotalLayoutsByLayoutId(int $layout_id): int`

Get Total Layouts By Layout ID

Get Total Layouts By Layout 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