1: | <?php
2: | namespace Opencart\Catalog\Model\Setting;
3: | /**
4: | * Class Startup
5: | *
6: | * @package Opencart\Catalog\Model\Setting
7: | */
8: | class Startup extends \Opencart\System\Engine\Model {
9: | /**
10: | * Get Startups
11: | *
12: | * @return array<int, array<string, mixed>>
13: | */
14: | public function getStartups(): array {
15: | $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "startup` WHERE `status` = '1' ORDER BY `sort_order` ASC");
16: |
17: | return $query->rows;
18: | }
19: | }
20: |

OpenCart API API documentation generated by ApiGen dev-master