Ekdant-Online-Store/catalog/model/setting/startup.php
2024-08-06 18:06:00 +05:45

17 lines
375 B
PHP

<?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;
}
}