# Class Opencart\Admin\Model\Design\Layout

`extends` | `Model`

Class Layout

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Design\Layout

Located at admin\model\design\layout.php

Methods
`public` | `addLayout(array<string, mixed> $data): int` Add Layout Add Layout | #
`public` | `editLayout(int $layout_id, array<string, mixed> $data): void` Edit Layout Edit Layout | #
`public` | `deleteLayout(int $layout_id): void` Delete Layout Delete Layout | #
`public` | `getLayout(int $layout_id): array<string, mixed>` Get Layout Get Layout | #
`public` | `getLayouts(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Layouts Get Layouts | #
`public` | `getTotalLayouts(): int` Get Total Layouts Get Total Layouts | #
`public` | `addRoute(int $layout_id, array<string, mixed> $data): void` Add Route Add Route | #
`public` | `deleteRoutes(int $layout_id): void` Delete Routes Delete Routes | #
`public` | `deleteRoutesByLayoutId(int $layout_id): void` Delete Routes By Layout ID Delete Routes By Layout ID | #
`public` | `deleteRoutesByStoreId(int $store_id): void` Delete Routes By Store ID Delete Routes By Store ID | #
`public` | `getRoutes(int $layout_id): array<int, array<string, mixed>>` Get Routes Get Routes | #
`public` | `getRoutesByStoreId(int $store_id): array<int, array<string, mixed>>` Get Routes By Store ID Get Routes By Store ID | #
`public` | `addModule(int $layout_id, array<string, mixed> $data): void` Add Module Add Module | #
`public` | `deleteModules(int $layout_id): void` Delete Modules Delete Modules | #
`public` | `deleteModulesByCode(string $code): void` Delete Modules By Code Delete Modules By Code | #
`public` | `getModules(int $layout_id): array<int, array<string, mixed>>` Get Modules Get Modules | #

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