Ekdant-Online-Store/catalog/model/setting/startup.php

17 lines
375 B
PHP
Raw Permalink Normal View History

2024-08-06 12:21:00 +00:00
<?php
namespace Opencart\Catalog\Model\Setting;
/**
* Class Startup
*
* @package Opencart\Catalog\Model\Setting
*/
class Startup extends \Opencart\System\Engine\Model {
/**
* @return mixed
*/
function getStartups() {
$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "startup` WHERE `status` = '1' ORDER BY `sort_order` ASC");
return $query->rows;
}
}