first commit
This commit is contained in:
17
catalog/model/setting/startup.php
Normal file
17
catalog/model/setting/startup.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user